this is for holding javascript data
Deyan Ginev edited section_Basic_Macros_As_mentioned__.tex
almost 9 years ago
Commit id: e877c2d7e4211e9e4109e56c09645ddab9a68ac9
deletions | additions
diff --git a/section_Basic_Macros_As_mentioned__.tex b/section_Basic_Macros_As_mentioned__.tex
index 04eb73f..04c1ce6 100644
--- a/section_Basic_Macros_As_mentioned__.tex
+++ b/section_Basic_Macros_As_mentioned__.tex
...
\section{Basic Macros}
As mentioned above, only definitions placed in \verb|header.tex| are global for your entire article. You can use all flavors of \TeX's definitions (\verb|\def|, \verb|\edef|, \verb|\xdef|, \verb|\gdef|, \verb|\newcommand|, \verb|\rewnewcommand|, ...) to your liking.
If you want to discuss a notable
entity, \textbf{term}, such as \latexml, you may want to define a handy macro which:
\begin{enumerate}
\item Links to the
entity's term's Wikipedia page
\item Is available in your entire document (define it in \verb|header.tex|)
\item Flexibly figures out if it needs a trailing space or not\footnote{one of \TeX's original weaknesses with its macros}
\item Is easier to write than the
entity's term's full name
\end{enumerate}
Here is one way you can achieve that, with the entities used in this tutorial: