Also, how can I define a variable in one place and reuse it as a parameter
in multiple places? For example, I have many charts in my document, and I'd
like to place their width into a variable so that I can change it in just one place. Something like
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
sierra1bravo wrote:Thanks very much. A related query: how can one achieve the following?
\newcommand*{\bufferspace}{8pt}
\vspace{\bufferspace}
This code is fine and works as expected. However, keep in mind that \vspace inside a paragraph adds vertical space after the current line, while after a paragraph it adds space between the last and the next paragraph.
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