Debian Codegraph @

texmf-dist/doc/latex/ximera/src/interactives/graph.dtx

raw
1 % \subsubsection{Graphs}
2 % \DescribeMacro{\graph}{An embedded graph (in math mode).}
3 % \begin{macrocode}
4 %<*classXimera>
5 \newcommand{\graph}[2][]{\text{Graph of $#2$}}
6 %</classXimera>
7 % \end{macrocode}
8
9 % \begin{macrocode}
10 %<*htXimera>
11 \renewcommand{\graph}[2][]{\HCode{<div class="graph" data-options="#1">}#2\HCode{</div>}}
12 %</htXimera>
13 % \end{macrocode}
14