RIP
Tutorial
Tags
Topics
Examples
eBooks
Download latex (PDF)
latex
Getting started with latex
Accessing documentation of LaTeX packages
Add Citation
Build Tools
Counters, if statements and loops with latex
Creating a Bibliography
Creating posters using beamer
Defining macros
Basic definition of macros
Document classes
Drawing graphs
Engraving Sheet Music
Header and Footer
Presentation with beamer package
Tables
Text Formatting
Title Pages
Typesetting mathematics
latex
Getting started with latex
Accessing documentation of LaTeX packages
Add Citation
Build Tools
Counters, if statements and loops with latex
Creating a Bibliography
Creating posters using beamer
Defining macros
Basic definition of macros
Document classes
Drawing graphs
Engraving Sheet Music
Header and Footer
Presentation with beamer package
Tables
Text Formatting
Title Pages
Typesetting mathematics
latex
Defining macros
Syntax
\newcommand{\macro}{replacement text}
\newcommand{\macro}[argcount]{replacement text}
\renewcommand{\macro}{replacement text}
\renewcommand{\macro}[argcount]{replacement text}
Parameters
Parameter
Details
\macro
The macro to define
argcount
The number of arguments the macro expects (optional)
replacement text
The replacement text for the macro. Inside that text
#1
,
#2
etc. are replaced with the macro arguments.
Defining macros Related Examples
Basic definition of macros
PDF
- Download
latex
for free
Previous
Next
This modified text is an extract of the original
Stack Overflow Documentation
created by following
contributors
and released under
CC BY-SA 3.0
This website is not affiliated with
Stack Overflow