GeneralDefinitions of standard LaTeX Commands

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Hrs
Posts: 16
Joined: Sat May 12, 2012 3:13 pm

Definitions of standard LaTeX Commands

Post by Hrs »

Hi all!

Where can i find a standard command definitions in LaTeX? Particularly i need a standard definition of \section for i can look at it, and renew, how i want.

30 minutes of searching give not result.

(Written, after getting an answer): Thank you very much!
Last edited by Hrs on Sat May 26, 2012 12:55 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Definitions of standard LaTeX Commands

Post by Stefan Kottwitz »

Hi,
Hrs wrote:Where can i find a standard command definitions in LaTeX?
you can find them in the "The LaTeX2e Sources" aka source2e. Just click this link, or type

Code: Select all

texdoc source2e
at the command prompt on your computer, it should be on your system.
Hrs wrote: Particularly i need a standard definition of \section for i can look at it, and renew, how i want.
\section is defined in the classes, so have a look at article.cls or the class you use. Different classes may implement it in different ways. Usually they call \@startsection, which is described in source2e.

Search the class file in your local TeX tree, or using kpsewhich, such as by

Code: Select all

kpsewhich article.cls
at the command prompt.

Stefan
LaTeX.org admin
Post Reply