About

{sourcecode} is for questions regarding the source code for (La)TeX documents, including syntax questions, style decisions, package sources, etc. For questions about printing code in LaTeX documents, use the {code} tag.

is for questions regarding the source code for (La)TeX documents, including syntax questions, style decisions, package sources, etc. For questions about printing code in LaTeX documents, use the tag.

At CTAN, the Comprehensive TeX Archive Network, one can view the sources and documentation for most LaTeX packages, and using texdef (as described here), one can view the definition of a given TeX or LaTeX command.

Frequently Asked Questions

  1. Why does example code often use % at the end of lines?
  2. How can I see the "implementation" of a LaTeX command?
  3. Why doesn't TeXStudio recognize some commands?
history | excerpt history