this is for holding javascript data
Deyan Ginev edited section_Basic_Macros_As_mentioned__.tex
almost 9 years ago
Commit id: a9fe7cd60cf44da7af3de1b974191bdb3d8543e0
deletions | additions
diff --git a/section_Basic_Macros_As_mentioned__.tex b/section_Basic_Macros_As_mentioned__.tex
index c16e2b1..e0f440c 100644
--- a/section_Basic_Macros_As_mentioned__.tex
+++ b/section_Basic_Macros_As_mentioned__.tex
...
Here is one way you can achieve that, with the entities used in this tutorial:
\begin{lstlisting}
% All \usepackage requirements MUST be placed in
header.tex header.tex:
\usepackage{xspace}
%
... then write in an Authorea paragraph:
\def\authorea{\href{http://en.wikipedia.org/wiki/Authorea}{Authorea}\xspace}
\def\latexml{\href{https://en.wikipedia.org/wiki/LaTeXML}{LaTeXML}\xspace}
\def\latex{\href{https://en.wikipedia.org/wiki/LaTeX}{\LaTeX}\xspace}