Changeset a752883 for doc/refrat
- Timestamp:
- Mar 22, 2016, 9:47:23 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 984dce6
- Parents:
- 038726d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/refrat/refrat.tex
r038726d ra752883 17 17 \usepackage[dvips,plainpages=false,pdfpagelabels,pdfpagemode=UseNone,colorlinks=true,pagebackref=true,linkcolor=blue,citecolor=blue,urlcolor=blue,pagebackref=true,breaklinks=true]{hyperref} 18 18 \usepackage{breakurl} 19 \ urlstyle{sf}19 \renewcommand{\UrlFont}{\small\sf} 20 20 21 21 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 23 23 % Names used in the document. 24 24 25 \newcommand{\CFA}{C forall\xspace} % set language textname26 \newcommand{\CF AA}{C$\forall$\xspace} % set language symbolicname25 \newcommand{\CFA}{C$\forall$\xspace} % set language symbolic name 26 \newcommand{\CFL}{Cforall\xspace} % set language text name 27 27 \newcommand{\CC}{C\kern-.1em\hbox{+\kern-.25em+}\xspace} % CC symbolic name 28 28 \def\c11{ISO/IEC C} % C11 name (cannot have numbers in latex command name) … … 33 33 34 34 \makeatletter 35 % allow escape sequence in lstinline 36 %\usepackage{etoolbox} 37 %\patchcmd{\lsthk@TextStyle}{\let\lst@DefEsc\@empty}{}{}{\errmessage{failed to patch}} 38 39 \renewcommand\small{% 40 \@setfontsize\small{8.5}{11}% 41 \abovedisplayskip 8.5pt \@plus 3pt \@minus 4pt 42 \abovedisplayshortskip \z@ \@plus 2pt 43 \belowdisplayshortskip 4pt \@plus 2pt \@minus 2pt 44 \def\@listi{\leftmargin\leftmargini 45 \topsep 4pt \@plus 2pt \@minus 2pt 46 \parsep 2pt \@pluspt \@minuspt 47 \itemsep \parsep}% 48 \belowdisplayskip \abovedisplayskip 49 } 50 \usepackage{relsize} % must be after change to small 51 35 52 \renewcommand{\labelitemi}{{\raisebox{0.25ex}{\footnotesize$\bullet$}}} 36 53 \renewenvironment{itemize}{\begin{list}{\labelitemi}{\topsep=5pt\itemsep=5pt\parsep=0pt}}{\end{list}} … … 59 76 \renewcommand\section{\@startsection{section}{1}{\z@}{-3.0ex \@plus -1ex \@minus -.2ex}{1.0ex \@plus .2ex}{\normalfont\large\bfseries}} 60 77 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}{-2.5ex \@plus -1ex \@minus -.2ex}{1.0ex \@plus .2ex}{\normalfont\normalsize\bfseries}} 61 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2. 0ex \@plus -1ex \@minus -.2ex}{1.0ex \@plus .2ex}{\normalfont\normalsize\bfseries}}78 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2.5ex \@plus -1ex \@minus -.2ex}{1.0ex \@plus .2ex}{\normalfont\normalsize\bfseries}} 62 79 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{-2.0ex \@plus -1ex \@minus -.2ex}{-1em}{\normalfont\normalsize\bfseries}} 63 80 … … 98 115 99 116 % blocks and titles 100 \newcommand{\define}[1]{\emph{#1\/}\index{#1}}101 117 \newenvironment{rationale}{% 102 118 \begin{quotation}\noindent$\Box$\enspace … … 104 120 \hfill\enspace$\Box$\end{quotation} 105 121 }% 122 \newcommand{\define}[1]{\emph{#1\/}\index{#1}} 106 123 \newcommand{\rewrite}{\(\Rightarrow\)} 107 124 \newcommand{\rewriterules}{\paragraph{Rewrite Rules}~\par\noindent} … … 132 149 \newcommand{\VPageref}[2][page]{\ifx#1\@empty\else{#1}\nobreakspace\fi\pageref{#2}} 133 150 134 % adjust listings macros151 % CFA based on ANSI C 135 152 \lstdefinelanguage{CFA}[ANSI]{C}% 136 153 {morekeywords={asm,_Alignas,_Alignof,_At,_Atomic,_Bool,catch,catchResume,choose,_Complex,trait,disable,dtype,enable, … … 142 159 language=CFA, 143 160 columns=flexible, 144 basicstyle=\sf\ small,161 basicstyle=\sf\relsize{-1}, 145 162 tabsize=4, 146 163 xleftmargin=\parindent, 147 164 escapechar=@, 148 165 keepspaces=true, 149 %showtabs=true,150 %tab=\rightarrowfill,166 showstringspaces=false, 167 showlines=true, 151 168 }% 152 169 … … 175 192 176 193 \title{\Huge 177 \CFA (\CF AA) Reference Manual and Rationale194 \CFA (\CFL) Reference Manual and Rationale 178 195 }% title 179 196 \author{\huge
Note: See TracChangeset
for help on using the changeset viewer.