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

[bikeshed] Vertical alignment of arrays #670

Closed
rossberg opened this issue Feb 13, 2018 · 2 comments
Closed

[bikeshed] Vertical alignment of arrays #670

rossberg opened this issue Feb 13, 2018 · 2 comments
Assignees

Comments

@rossberg
Copy link
Member

rossberg commented Feb 13, 2018

Some uses of arrays do not seem to respect the [t] placement, such that vertical alignment is off.

(For example, see the grammer definition for store here.)

@rossberg rossberg changed the title [bikeshed] Issues with vertical alignment of arrays [bikeshed] Vertical alignment of arrays Feb 13, 2018
@flagxor
Copy link
Member

flagxor commented Apr 10, 2018

This is due to [t] etc. not being supported:
KaTeX/KaTeX#269

We could make this less glaring if we changed this:

   \begin{array}{llll}
   store &::=& \{~ 
     \begin{array}{lll}
     SFUNCS & funcinst^\ast, \\
     STABLES & tableinst^\ast, \\
     SMEMS & meminst^\ast, \\
     SGLOBALS & globalinst^\ast ~\}
     \end{array}
   \end{array}

We could make this less glaring if we changed this:

   \begin{array}{llll}
   store &::=& \{~ 
     \begin{array}{lll}
     SFUNCS & funcinst^\ast, \\
     STABLES & tableinst^\ast, \\
     SMEMS & meminst^\ast, \\
     SGLOBALS & globalinst^\ast
     \end{array}
     ~\}
   \end{array}

@rossberg
Copy link
Member Author

rossberg commented Aug 4, 2022

Closing as "won't-fix", since the Bikeshed version no longer uses Katex".

@rossberg rossberg closed this as completed Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants