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

Visually shrunken tuples of LaTeXStrings #513

Closed
stillyslalom opened this issue Sep 30, 2020 · 6 comments
Closed

Visually shrunken tuples of LaTeXStrings #513

stillyslalom opened this issue Sep 30, 2020 · 6 comments
Labels
frontend Concerning the HTML editor good first issue Good for newcomers

Comments

@stillyslalom
Copy link

When showing a tuple of multiple LaTeXStrings, the output shrinks past the point of legibility for larger expressions.

image

Not sure what the right behavior is - vertical, sequential display?

@fonsp
Copy link
Owner

fonsp commented Sep 30, 2020

The right behavior would be the same, but without shrinking, right?

Just like:

fn = md"hello ``\frac{\sqrt{1}}{2}``"
(fn, fn, fn)

@stillyslalom
Copy link
Author

Yes, as long as it wraps onto the next line if the tuple's contents are too small to fit on one line.

@fonsp
Copy link
Owner

fonsp commented Oct 2, 2020

It won't wrap, that's not how Pluto's interactive inspector works.

@stillyslalom
Copy link
Author

That's probably fine - users can destructure the tuple into multiple cells if necessary. The main thing is that math output ought to not shrink.

@fonsp fonsp added frontend Concerning the HTML editor good first issue Good for newcomers labels Oct 2, 2020
@Moelf
Copy link
Contributor

Moelf commented Oct 8, 2020

@fonsp
image
we're already not shrinking. It appears so because height constraint

@fonsp
Copy link
Owner

fonsp commented Oct 8, 2020

we are if the equation is too wide i think

@fonsp fonsp closed this as completed in c1bed61 Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Concerning the HTML editor good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants