OLD | NEW |
1 \def\keyword#1{\textbf{#1}} | 1 \def\keyword#1{\textbf{#1}} |
2 \def\builtinId#1{\textbf{#1}} | 2 \def\builtinId#1{\textbf{#1}} |
3 \def\comment#1{\textit{#1}} | 3 \def\comment#1{\textit{#1}} |
4 \def\capt#1{\rmfamily \caption{#1}} | 4 \def\capt#1{\rmfamily \caption{#1}} |
5 \newcommand{\cd}[1]{\textsf{#1}} | 5 \newcommand{\cd}[1]{\textsf{#1}} |
6 \def\lt{$<$} | 6 \def\lt{$<$} |
7 \def\gt{$>$} | 7 \def\gt{$>$} |
8 \def\<{$\langle$} | 8 \def\<{$\langle$} |
9 \def\>{$\rangle$} | 9 \def\>{$\rangle$} |
10 | 10 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 \newcommand{\LMHash}[1]{% | 136 \newcommand{\LMHash}[1]{% |
137 \hspace{0pt}\marginpar{\raisebox{0.5ex}{\miniscule{\color{LMdim}#1}}}} | 137 \hspace{0pt}\marginpar{\raisebox{0.5ex}{\miniscule{\color{LMdim}#1}}}} |
138 | 138 |
139 % support convenient renewcommand | 139 % support convenient renewcommand |
140 \let\OriginalLMHash\LMHash | 140 \let\OriginalLMHash\LMHash |
141 | 141 |
142 % define a label, and show the associated logical location marker | 142 % define a label, and show the associated logical location marker |
143 \newcommand{\LMLabel}[1]{% | 143 \newcommand{\LMLabel}[1]{% |
144 \vspace{-\baselineskip}\hspace{0pt}\OriginalLMHash{\raisebox{10ex}{sec:#1}}% | 144 \vspace{-\baselineskip}\hspace{0pt}\OriginalLMHash{\raisebox{10ex}{sec:#1}}% |
145 \label{#1}} | 145 \label{#1}} |
146 | |
147 % dummy version of LMHash, always shows the same arbitrary hash value | |
148 \renewcommand{\LMHash}[1]{\OriginalLMHash{ba01b04d58c8c4e259764498f823cc65}} | |
149 | |
150 % ---------------------------------------------------------------------- | 146 % ---------------------------------------------------------------------- |
151 | 147 |
OLD | NEW |