Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: docs/language/dart.sty

Issue 652993005: Working insertion of hash values; added a few labels in spec (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | docs/language/dartLangSpec.tex » ('j') | tools/addlatexhash.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | docs/language/dartLangSpec.tex » ('j') | tools/addlatexhash.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698