-
Notifications
You must be signed in to change notification settings - Fork 61
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
Provide a role to inject code in the latex output #613
Comments
Related to #714. |
For information, in case this can be useful to others (@alanlujan91?): I cooked myself Beware:
|
This now working with the An example: |
Yeah! Thank you! |
One of the (few) remaining reasons to produce LaTeX/PDF exports is when
fine-tuning of the layout is required for printing.
Proposal
Provide a
latexonly
role that inserts its content verbatim in theproduced LaTeX exports, and is ignored by all other exporters.
Example:
A use case
I print my exercise sheets for 250 students. I typically end up tuning
the layout by inserting vertical skips, page breaks, page enlargements,
so that exercises don't get split across pages for readability, while
optimizing page numbers (a one page gain saves one package of paper!).
As I am switching my sheets from latex to MyST, I would like to keep
that ability.
Fun fact
I am currently desperate enough to hijack in my latex template
<s></s>
to insert page breaks and
<i></i>
to insert vertical spacing :-)The text was updated successfully, but these errors were encountered: