I am new to latex, so apologies if this is a trivial question. I have amassed many useful packages and custom commands and start each document by copy/pasting all of them above "\begin{document}". Is there a way to automate this? Can I have one command which will collect all the packages and commands I like to use?
Thank you!
settings.texfile will all of your favorite packages and do\input{settings.tex}just after\documentclass[xxx]{xxx}. It's what I do all the time ! Have a look at related questions here https://tex.stackexchange.com/questions/33917/many-documents-same-preamble – BambOo Mar 26 '20 at 17:29