PDF-output: How to reduce fontsize of code-annotation block? #10558
Unanswered
Gewerd-Strauss
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm not sure thee is an easy way here. Maybe via a Lua filter. PS: you really should not use raw LaTeX outside of raw code block or inline block, see https://quarto.org/docs/authoring/markdown-basics.html#raw-content. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hello,
I am a bit confused.
I have a long document with a rather large code-annotation. The document gets converted to pdf.
Fitting it all onto one page is difficult, and thus I want to reduce the fontsize of the codeblock and the corresponding annotations.
I tried applying
\tiny
, but that doesn't really work.As far as I understand, this doesn't apply.
Below I have attached a small example which exhibits the issue.
This will render the annotations in
\tiny
, but not the codeblock itself. Additionally, the annotation header containing thelst-cap
will also not be rendered in\tiny
, instead in normal fontsize.How can I reduce the size of the code within an annotation-block?
Thank you.
Sincerely,
~Gw
Beta Was this translation helpful? Give feedback.
All reactions