Title: Theory / Unimportant / CS / Descriptive / LaTeX / Companion +29 / 01 Introduction
Tags: FromInstruction computer_to_instruction hasNotNewEffectReturnsMeaning some_instruction

Name: A document class
Definition: defines the available logical commands and environments (for example, \chapter in the report class) as well as a default formatting for those elements.
Page: 16
Chapter: 2
Section: 1

Extension: cls
Description: LaTeX Class definition
Means: CLaSs
Other fields (not shown on cards):
Page: 16
Chapter: 2
Section: 1

Extension: clo
Description: LaTeX class option
Means: class option in LaTeX
Other fields (not shown on cards):
Page: 16
Chapter: 2
Section: 1

Name: The preambule
Definition: The part between documentclass and \begin{document}
Page: 16
Chapter: 2
Section: 1

Name: A global option
Definition: An option, given to documentclass, which is not an option of this class. It is passed as option to every package which accepts this option
Page: 17, 18
Chapter: 2
Section: 1.1

Question: How to change a part of a class/package.
Answer: Put the change in a .sty file, load this file after the file which must be changed.
Or put the change in the preambule, and use \makeatletter \makeatother if it contains tex
Page: 18
Chapter: 2
Section: 1.1

Instruction: \begin{filecontents}{foo}
bar
\end{foo}
Page: 21
Effect: If the file foo exists, write a warning
Otherwise write bar to this file, preceded by some comment abot this generating
Language: Latex
Chapter: 2
Section: 1.3
Assuming: Before document class. Begin and end are alone on their line

Instruction: \UseOption{foo_1, ..., foo_n}
Page: 21
Effect: Add fooi to the set of options which should be considered to be selected
Language: Latex
Context: \usepackage{optional}
Chapter: 2
Section: 1.3

Instruction: Command followed by a *
Page: 8
Effect: Variant of the command
Language: Latex
Chapter: 1
Section: 3.2

Instruction: [foo] after a command
Page: 8
Effect: Giving an optional argument foo
Language: Latex
Chapter: 1
Section: 3.2