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

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

Issue 2644513003: Fix bug in dart.sty. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
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{\ensuremath{<}} 6 \def\lt{\ensuremath{<}}
7 \def\gt{\ensuremath{>}} 7 \def\gt{\ensuremath{>}}
8 \def\<{\ensuremath{\langle}} 8 \def\<{\ensuremath{\langle}}
9 \def\>{\ensuremath{\rangle}} 9 \def\>{\ensuremath{\rangle}}
10 \def\metavar#1{\ensuremath{\mathit{#1}}} 10 \def\metavar#1{\ensuremath{\mathit{#1}}}
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 \def\THIS{\keyword{this}} 62 \def\THIS{\keyword{this}}
63 \def\THROW{\keyword{throw}} 63 \def\THROW{\keyword{throw}}
64 \def\TRUE{\keyword{true}} 64 \def\TRUE{\keyword{true}}
65 \def\TRY{\keyword{try}} 65 \def\TRY{\keyword{try}}
66 \def\VAR{\keyword{var}} 66 \def\VAR{\keyword{var}}
67 \def\VOID{\keyword{void}} 67 \def\VOID{\keyword{void}}
68 \def\WHILE{\keyword{while}} 68 \def\WHILE{\keyword{while}}
69 \def\WITH{\keyword{with}} 69 \def\WITH{\keyword{with}}
70 \def\YIELD{\keyword{yield}} 70 \def\YIELD{\keyword{yield}}
71 71
72 \newenvironment{Q}[1]{{\bf #1}} 72 \newenvironment{Q}[1]{{\bf #1}}{}
73 \newenvironment{rationale}[1]{{\it #1}} 73 \newenvironment{rationale}[1]{{\it #1}}{}
74 \newenvironment{commentary}[1]{{\sf #1}} 74 \newenvironment{commentary}[1]{{\sf #1}}{}
75 75
76 \newenvironment{dartCode}[1][!ht] { 76 \newenvironment{dartCode}[1][!ht] {
77 % \begin{verbatim}[#1] 77 % \begin{verbatim}[#1]
78 \def\@programcr{\@addfield\strut} 78 \def\@programcr{\@addfield\strut}
79 \let\\=\@programcr 79 \let\\=\@programcr
80 \relax\@vobeyspaces\obeylines 80 \relax\@vobeyspaces\obeylines
81 81
82 \sffamily 82 \sffamily
83 }{ 83 }{
84 %\end{verbatim} 84 %\end{verbatim}
(...skipping 21 matching lines...) Expand all
106 \hspace{0pt}\marginpar{\raisebox{0.5ex}{\miniscule{\color{LMdim}#1}}}} 106 \hspace{0pt}\marginpar{\raisebox{0.5ex}{\miniscule{\color{LMdim}#1}}}}
107 107
108 % support convenient renewcommand 108 % support convenient renewcommand
109 \let\OriginalLMHash\LMHash 109 \let\OriginalLMHash\LMHash
110 110
111 % define a label, and show the associated logical location marker 111 % define a label, and show the associated logical location marker
112 \newcommand{\LMLabel}[1]{% 112 \newcommand{\LMLabel}[1]{%
113 \vspace{-\baselineskip}\hspace{0pt}\OriginalLMHash{\raisebox{10ex}{#1}}% 113 \vspace{-\baselineskip}\hspace{0pt}\OriginalLMHash{\raisebox{10ex}{#1}}%
114 \label{#1}} 114 \label{#1}}
115 % ---------------------------------------------------------------------- 115 % ----------------------------------------------------------------------
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698