Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option for variable names that format poorly for display purposes #1853

Open
smiths opened this issue Aug 29, 2019 · 0 comments
Open
Labels
artifacts easy At quick glance, it should be 'easy,' but you never know what'll happen! enhancement needs-design

Comments

@smiths
Copy link
Collaborator

smiths commented Aug 29, 2019

Issue #1639 worked on improving variable names for display, but the focus there was on subscripts. We also have variables themselves that do not format properly when enclosed in $ $. This occurs when the variable name consists of more than one symbol, but to make things challenging, not every variable name of more than one character formats poorly.

Following the rule that variables should be in italic, I use $\mathit{LongVarName}$, but from previous discussion, others prefer to use a sans serif font for longer variable names.

This issue is particularly challenging because we want display automated, but there is user preference in how the long variable names are formatted. Maybe this can be a display variability that is set by the user?

One example that looks particularly bad is the equation for DD:calofCapacity, in both html and pdf (from LaTeX), respectively:

NFLGTFLSF_html
NFLGTFLSF_LaTeX

I'm going to set this issue as a future enhancement, since this is just a display issue.

@JacquesCarette JacquesCarette mentioned this issue May 14, 2020
2 tasks
@balacij balacij added easy At quick glance, it should be 'easy,' but you never know what'll happen! needs-design artifacts labels Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
artifacts easy At quick glance, it should be 'easy,' but you never know what'll happen! enhancement needs-design
Projects
None yet
Development

No branches or pull requests

2 participants