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

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

Issue 26567004: Allow distinction in typesetting between built-in identifierss and true keywords. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | 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\comment#1{\textit{#1}} 3 \def\comment#1{\textit{#1}}
3 \def\capt#1{\rmfamily \caption{#1}} 4 \def\capt#1{\rmfamily \caption{#1}}
4 \newcommand{\cd}[1]{\textsf{#1}} 5 \newcommand{\cd}[1]{\textsf{#1}}
5 \def\lt{$<$} 6 \def\lt{$<$}
6 \def\gt{$>$} 7 \def\gt{$>$}
7 \def\<{$\langle$} 8 \def\<{$\langle$}
8 \def\>{$\rangle$} 9 \def\>{$\rangle$}
9 10
10 \def\ABSTRACT{\keyword{abstract}} 11 \def\ABSTRACT{\builtinId{abstract}}
11 \def\AS{\keyword{as}} 12 \def\AS{\builtinId{as}}
12 \def\ASSERT{\keyword{assert}} 13 \def\ASSERT{\keyword{assert}}
13 \def\BOOLEAN{\keyword{boolean}} 14 \def\BOOLEAN{\keyword{boolean}}
14 \def\BREAK{\keyword{break}} 15 \def\BREAK{\keyword{break}}
15 \def\CASE{\keyword{case}} 16 \def\CASE{\keyword{case}}
16 \def\CLASS{\keyword{class}} 17 \def\CLASS{\keyword{class}}
17 \def\CALL{\keyword{call}} 18 \def\CALL{\keyword{call}}
18 \def\CATCH{\keyword{catch}} 19 \def\CATCH{\keyword{catch}}
19 \def\CONST{\keyword{const}} 20 \def\CONST{\keyword{const}}
20 \def\CONTINUE{\keyword{continue}} 21 \def\CONTINUE{\keyword{continue}}
21 \def\DEFAULT{\keyword{default}} 22 \def\DEFAULT{\keyword{default}}
22 \def\DYNAMIC{\keyword{dynamic}} 23 \def\DYNAMIC{\builtinId{dynamic}}
23 \def\DO{\keyword{do}} 24 \def\DO{\keyword{do}}
24 \def\ELSE{\keyword{else}} 25 \def\ELSE{\keyword{else}}
25 \def\ENUM{\keyword{enum}} 26 \def\ENUM{\keyword{enum}}
26 \def\EQUALS{\keyword{equals}} 27 \def\EQUALS{\keyword{equals}}
27 \def\EXPORT{\keyword{export}} 28 \def\EXPORT{\builtinId{export}}
28 \def\EXTENDS{\keyword{extends}} 29 \def\EXTENDS{\keyword{extends}}
29 \def\EXTERNAL{\keyword{external}} 30 \def\EXTERNAL{\builtinId{external}}
30 \def\FACTORY{\keyword{factory}} 31 \def\FACTORY{\builtinId{factory}}
31 \def\FALSE{\keyword{false}} 32 \def\FALSE{\keyword{false}}
32 \def\FINAL{\keyword{final}} 33 \def\FINAL{\keyword{final}}
33 \def\FINALLY{\keyword{finally}} 34 \def\FINALLY{\keyword{finally}}
34 \def\FOR{\keyword{for}} 35 \def\FOR{\keyword{for}}
35 \def\GET{\keyword{get}} 36 \def\GET{\builtinId{get}}
36 \def\HIDE{\keyword{hide}} 37 \def\HIDE{\keyword{hide}}
37 \def\IF{\keyword{if}} 38 \def\IF{\keyword{if}}
38 \def\IMPLEMENTS{\keyword{implements}} 39 \def\IMPLEMENTS{\builtinId{implements}}
39 \def\IMPORT{\keyword{import}} 40 \def\IMPORT{\builtinId{import}}
40 \def\IN{\keyword{in}} 41 \def\IN{\keyword{in}}
41 \def\INT{\keyword{int}} 42 \def\INT{\keyword{int}}
42 \def\INTERFACE{\keyword{interface}} 43 \def\INTERFACE{\keyword{interface}}
43 \def\IS{\keyword{is}} 44 \def\IS{\keyword{is}}
44 \def\LIBRARY{\keyword{library}} 45 \def\LIBRARY{\builtinId{library}}
45 \def\NATIVE{\keyword{native}} 46 \def\NATIVE{\keyword{native}}
46 \def\NEGATE{\keyword{negate}} 47 \def\NEGATE{\keyword{negate}}
47 \def\NEW{\keyword{new}} 48 \def\NEW{\keyword{new}}
48 \def\NULL{\keyword{null}} 49 \def\NULL{\keyword{null}}
49 \def\ON{\keyword{on}} 50 \def\ON{\keyword{on}}
50 \def\OF{\keyword{of}} 51 \def\OF{\keyword{of}}
51 \def\OPERATOR{\keyword{operator}} 52 \def\OPERATOR{\builtinId{operator}}
52 \def\PART{\keyword{part}} 53 \def\PART{\builtinId{part}}
53 \def\PRIVATE{\keyword{private}} 54 \def\PRIVATE{\keyword{private}}
54 \def\RETHROW{\keyword{rethrow}} 55 \def\RETHROW{\keyword{rethrow}}
55 \def\RETURN{\keyword{return}} 56 \def\RETURN{\keyword{return}}
56 \def\SET{\keyword{set}} 57 \def\SET{\builtinId{set}}
57 \def\SHOW{\keyword{show}} 58 \def\SHOW{\keyword{show}}
58 \def\SOURCE{\keyword{source}} 59 \def\SOURCE{\keyword{source}}
59 \def\STATIC{\keyword{static}} 60 \def\STATIC{\builtinId{static}}
60 \def\SUPER{\keyword{super}} 61 \def\SUPER{\keyword{super}}
61 \def\SWITCH{\keyword{switch}} 62 \def\SWITCH{\keyword{switch}}
62 \def\THIS{\keyword{this}} 63 \def\THIS{\keyword{this}}
63 \def\THROW{\keyword{throw}} 64 \def\THROW{\keyword{throw}}
64 \def\TRUE{\keyword{true}} 65 \def\TRUE{\keyword{true}}
65 \def\TRY{\keyword{try}} 66 \def\TRY{\keyword{try}}
66 \def\TYPEDEF{\keyword{typedef}} 67 \def\TYPEDEF{\builtinId{typedef}}
67 \def\THIS{\keyword{this}} 68 \def\THIS{\keyword{this}}
68 \def\VAR{\keyword{var}} 69 \def\VAR{\keyword{var}}
69 \def\VOID{\keyword{void}} 70 \def\VOID{\keyword{void}}
70 \def\WHILE{\keyword{while}} 71 \def\WHILE{\keyword{while}}
71 \def\WITH{\keyword{with}} 72 \def\WITH{\keyword{with}}
72 73
73 74
74 75
75 76
76 % \def\PUBLIC{\keyword{public}} 77 % \def\PUBLIC{\keyword{public}}
(...skipping 23 matching lines...) Expand all
100 \newenvironment{dartCode}[1][!ht] { 101 \newenvironment{dartCode}[1][!ht] {
101 % \begin{verbatim}[#1] 102 % \begin{verbatim}[#1]
102 \def\@programcr{\@addfield\strut} 103 \def\@programcr{\@addfield\strut}
103 \let\\=\@programcr 104 \let\\=\@programcr
104 \relax\@vobeyspaces\obeylines 105 \relax\@vobeyspaces\obeylines
105 106
106 \sffamily 107 \sffamily
107 }{ 108 }{
108 %\end{verbatim} 109 %\end{verbatim}
109 } 110 }
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