Text Formatting ⇒ One Document: appendix with smaller font size - possible?
One Document: appendix with smaller font size - possible?
I am currently writing on a bachelor thesis and have the following problem:
My document has font size 12. I want the appendix to be much smaller - say 10pt instead of 12, because otherwise it would just grow immensly big.
Is there any possibility to do such a thing, i.e. having another font-size in the appendix?
greetings hoembi
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
One Document: appendix with smaller font size - possible?
welcome to the board!
It's not the best, to change the base font size within the document. You could redefine \normalsize.
A quick way could be both redefining and switching, let's say to small:
Code: Select all
\let\normalsize\small
\appendix
\small
Or, put the appendix in a separate document with a different base font size.
Stefan
Re: One Document: appendix with smaller font size - possible
I tried your hints but then I realized that this cannot work, because my Programm Code is in lstlisting environment (to grant the exact illustration of the code).
So what I need to do is to define a new lstlisting (because in the document itself I also use the lstlisting) and make sure only the lstlisting in the Appendix has the smaller fontsize.
But I have absolutely no clue how to do so....
Maybe someone knows how this can be achieved.
thx in advance
hoembi
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
One Document: appendix with smaller font size - possible?
Code: Select all
\lstset{basicstyle=\small}
Stefan