I would like to reuse a piece of code from the preamble in multiple .tex documents. I can just copy and paste that code in all my documents, however, if later on I decide to modify the code I need to re-apply the modifications in all documents. Does LaTeX offer something like an import?
Asked
Active
Viewed 49 times
0
put the sty where it can be found? Dostyfiles have a specific directory or they can be put in the same directory with the document? – Zoltan King Mar 18 '22 at 11:10\usepackage,\RequirePackageand\input. – Ulrich Diez Mar 18 '22 at 11:11