Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adding a dynamically resize of mathtext symbol table#26183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

NikosNikolaidis02
Copy link

PR summary

I tried to find a more dynamic way to calculate the number of columns in order to have rows as more completed as possible. I've added the functioncolumns_calculation which illustrates the function I described.

PR checklist

@NikosNikolaidis02NikosNikolaidis02 changed the base branch frommain tov3.7.1-docJune 25, 2023 06:40
@NikosNikolaidis02NikosNikolaidis02 changed the base branch fromv3.7.1-doc tomainJune 25, 2023 08:30
@oscargus
Copy link
Member

Thank you! However, I do not think that having complete columns is really the main optimization objective that we want.

Basically, the main problem is the length of some of the LaTeX commands. So if anything, I'd try to come up with some good heuristic to determine a suitable number of columns based on that.

(However, it should be noted that it is almost impossible to come up with a perfect one as the columns will not have the same width anyway, so if all other columns only contains "short" commands there can be more columns compared to if all contains "long" commands.)

Also, it seems like you have some unrelated changes inimage.py committed?

story645 reacted with thumbs up emoji

@NikosNikolaidis02
Copy link
Author

Thank you! However, I do not think that having complete columns is really the main optimization objective that we want.

Basically, the main problem is the length of some of the LaTeX commands. So if anything, I'd try to come up with some good heuristic to determine a suitable number of columns based on that.

(However, it should be noted that it is almost impossible to come up with a perfect one as the columns will not have the same width anyway, so if all other columns only contains "short" commands there can be more columns compared to if all contains "long" commands.)

Also, it seems like you have some unrelated changes inimage.py committed?

Yes, i don't want this change to happen it's from another change

@NikosNikolaidis02
Copy link
Author

We can also optimize this by find the perfect combination for the lenght of the string

@NikosNikolaidis02
Copy link
Author

@oscargus Can you check it?

@oscargus
Copy link
Member

As I said, I do not believe in this approach, but I'd let e.g.@story645 chip in if it is an OK solution for the issue.

Also, it seems like there has been something happening to your branch which must be fixed. Not really clear what and how though...

Probably a case of either starting a new branch and copy-and-paste the relevant parts or usegit rebase in a cautious way.

@NikosNikolaidis02
Copy link
Author

#26191 I've created a new branch to resolve the previous problems on this PR

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[Doc]: dynamically resize the mathtext symbol tables
3 participants
@NikosNikolaidis02@oscargus@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp