General ⇒ Learning Macros used in Packages
Learning Macros used in Packages
Can anyone recommend books or documentation that describes the macros used to create your own LaTeX styles. For example, fancybox.sty is written using macros I do not understand. Unfortunately, I'm not getting anywhere on learning these macros or finding their documentation.
Are these TeX macros? Where could I find more information about them?
Thank you
David
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Learning Macros used in .sty
www.tug.org/TUGboat/tb28-1/tb88flynn.pdf
http://blog.scribtex.com/how-to-write-a ... -design-yo
http://tutex.tug.org/pracjourn/2005-4/h ... fferon.pdf
I'd been search and searching on "LaTeX macros," "\thesection," and others, but I really needed to search for "create LaTeX styles." Some good material out there for those interested.
Dave
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Learning Macros used in Packages
welcome to the board!
I agree, style files are sometimes hard to read. One reason may be preferring efficiency, i.e. speed, over readability. For example, packages might use TeX macros instead of LaTeX macros just to be faster.
To better understand LaTeX macros, you could read



Code: Select all
texdoc source2e
Finally, the texbook is of course a great book for understanding TeX.
Stefan