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

LaTeX: use \setparstyle in sbs panels #2243

Closed
wants to merge 1 commit into from

Conversation

Alex-Jordan
Copy link
Contributor

\setparstyle makes sure that certain environments use the tex document's global values for \parskip and \parindent. It is not presently used in an sbs panel. You would never notice this until you have a sidebyside/stack with more than one p. You can see it here:

https://pretextbook.org/examples/sample-article/derivatives.pdf#page=144

But it is not the best example because those panels are so narrow. In the second column, you can see where the second and third p start only because you can see the previous paragraph ending shy of the right edge. I think you would want the second and third p to be indented. (And if using a nonzero \parskip you would want to see that too.)

So this change is so that sbs panels use \setparstyle.

@Alex-Jordan
Copy link
Contributor Author

If this is considered a good change, I propose making a similar change for dl. The same issues arise there if an item has multiple p. I could add that to this commit, but I wanted to check your opinion on one item at a time.

@rbeezer
Copy link
Collaborator

rbeezer commented Aug 4, 2024

Yes, that looks better. Can you work up a PR for dl?

@rbeezer
Copy link
Collaborator

rbeezer commented Aug 5, 2024

Merged. Will updare website samples soon, but not this minute. Thanks! We'll get this all looking perfect eventually!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants