10 questions linked to/from Creating a default preamble
705 views

### Combining everything before begin document into a package [duplicate]

sorry if the title is badly worded but I wasn't sure how to word it. My question is this: I have a lot of things before \begin{document} in my latex file, maybe like 180 lines of setting up commands ...
90 views

### How can I make a single file of the packages I use? [duplicate]

Good morning, I would like to know whether someone can help me with this: I need to learn how can make style file archive.sty, because in the preamble of my source file I have to write all packages ...
31 views

### How to Create My OWN LaTeX Template Document? [duplicate]

For almost every document that I type in LaTeX, I start by opening one of the most recent documents that I made, copying all of the packages and pre-set commands, and pasting them in the new document. ...
530k views

### Where do I place my own .sty or .cls files, to make them available to all my .tex files?

I know how to define a package or a class, but how do I make it available (to myself) at all times? Say I have the package file commonstuff.sty (or myprettyclass.cls), that I want to be able to ...
2k views

### Customizing LaTeX - create a document class or a package?

Are there general rules for when to create a document class vs. creating a package to customize LaTeX? Does one have benefits over the other? My specific need is to create a customized page layout, ...
15k views

Following an answer on my previous question about creating a default preamble, I tried to create a custom template in TexStudio using the commands file-->make template. Even though the template is ...
383 views

### Can loading unused packages slow down the compilation of a document?

Let's say I call booktabs even if I don't write any table in my document. Would it be better if I leave it out?
148 views

### automatically inject code into preamble in cascading manner

Is there a standard way to automatically inject certain files into a LaTeX preamble? Naturally I could write some patch code for this but I thought I should check if there's some "preferred" way to ...