General ⇒ Seeking info on creating templates for LaTex (.sty)
-
- Posts: 1
- Joined: Thu Dec 27, 2007 10:06 pm
Seeking info on creating templates for LaTex (.sty)
I need information on creating templates. I've been looking on the web, no luck so far, and haven't found any books (they all explain TeX or LaTeX syntax, but nothing on actually designing a template to redesign the page, specify font styles and colors, page margins, etc).
I have to create a template that complies with my company's existing styles. I can't use an existing template.
Does anyone know of websites/books/etc?
Thank you for your help!
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
Seeking info on creating templates for LaTex (.sty)
- Commands for class and package writing: The document by the LaTeX Team.
- Page layout: It can be done via the geometry package or directly (by setting \textheight and like; this is not difficult if you understand the meaning of every parameter).
- Page style (headings, footers): You can use a predefined style, define a new one (which implies defining a command prefixed by \ps@ ), or use a package as fancyhdr or titlesec.
- Sectioning commands: this can be done with titlesec
or directly (via the \@startsection command, except for chapter and part, which involve internal commands as \@makechapterhead) - Caption format: Directly (via the internal command \@makecaption) or through the caption package.
- New floats (float package), color (color or xcolor packages), line spacing (setspace package), etc.