Changeset 45576af9 for doc/LaTeXmacros
- Timestamp:
- Jun 14, 2016, 12:22:45 PM (8 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, with_gc
- Children:
- 4c82a3c
- Parents:
- d2a182e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
rd2a182e r45576af9 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Fri Jun 3 09:32:19201614 %% Update Count : 6213 %% Last Modified On : Fri Jun 10 16:35:25 2016 14 %% Update Count : 101 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 56 56 % \belowdisplayskip \abovedisplayskip 57 57 %} 58 59 \usepackage{pslatex} % reduce size of san serif font 58 60 \usepackage{relsize} % must be after change to small or selects old size 59 61 … … 79 81 \vskip 50\p@ 80 82 }} 81 \renewcommand\section{\@startsection{section}{1}{\z@}{-3.5ex \@plus -1ex \@minus -.2ex}{ 2.3ex \@plus .2ex}{\normalfont\large\bfseries}}83 \renewcommand\section{\@startsection{section}{1}{\z@}{-3.5ex \@plus -1ex \@minus -.2ex}{1.75ex \@plus .2ex}{\normalfont\large\bfseries}} 82 84 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex \@plus -1ex \@minus -.2ex}{1.5ex \@plus .2ex}{\normalfont\normalsize\bfseries}} 83 85 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2.5ex \@plus -1ex \@minus -.2ex}{1.0ex \@plus .2ex}{\normalfont\normalsize\bfseries}} … … 132 134 133 135 \newenvironment{quote2}{% 134 \list{}{\lstset{resetmargins=true }\leftmargin=\parindent\rightmargin\leftmargin}%136 \list{}{\lstset{resetmargins=true,aboveskip=0pt,belowskip=0pt}\topsep=4pt\parsep=0pt\leftmargin=\parindent\rightmargin\leftmargin}% 135 137 \item\relax 136 138 }{% … … 199 201 language=CFA, 200 202 columns=flexible, 201 basicstyle=\ sf,203 basicstyle=\linespread{0.9}\sf, 202 204 stringstyle=\tt, 203 205 tabsize=4, … … 210 212 showlines=true, 211 213 aboveskip=4pt, 212 belowskip= 2pt,214 belowskip=3pt, 213 215 moredelim=**[is][\color{red}]{®}{®}, % red highlighting 214 % moredelim=**[is][\color{blue}]{¢}{¢}, % blue highlighting 216 moredelim=**[is][\color{blue}]{ß}{ß}, % blue highlighting 217 moredelim=**[is][\color{OliveGreen}]{¢}{¢}, % green highlighting 215 218 moredelim=[is][\lstset{keywords={}}]{¶}{¶}, % temporarily turn off keywords 216 % literate={\\`}{\raisebox{0.3ex}{\ttfamily\upshape \hspace*{-2pt}`}}1, % escape \`, otherwise used for red highlighting 217 literate={...}{{$\dots$}}1 {<-}{{$\leftarrow$}}1 {=>}{{$\Rightarrow$}}1, 219 % replace/adjust listing characters that look bad in sanserif 220 literate={-}{\raisebox{-0.15ex}{\texttt{-}}}1 {^}{\raisebox{0.6ex}{$\scriptscriptstyle\land\,$}}1 221 {~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 {_}{\makebox[1.2ex][c]{\rule{1ex}{0.1ex}}}1 {`}{\ttfamily\upshape\hspace*{-0.1ex}`}1 222 {<-}{$\leftarrow$}2 {=>}{$\Rightarrow$}2 {...}{$\dots$}2, 218 223 }% 219 224 220 225 \lstMakeShortInline© % single-character for \lstinline 221 222 \makeatletter223 % replace/adjust listings characters that look bad in sanserif224 \lst@CCPutMacro225 \lst@ProcessOther{"22}{\lst@ttfamily{"}{\raisebox{0.3ex}{\ttfamily\upshape "}}} % replace double quote226 \lst@ProcessOther{"27}{\lst@ttfamily{'}{\raisebox{0.3ex}{\ttfamily\upshape '\hspace*{-2pt}}}} % replace single quote227 \lst@ProcessOther{"2D}{\lst@ttfamily{-}{\textbf{\texttt{-}}}} % replace minus228 \lst@ProcessOther{"3C}{\lst@ttfamily{<}{\textbf{\texttt{<}}}} % replace less than229 \lst@ProcessOther{"3E}{\lst@ttfamily{>}{\textbf{\texttt{>}}}} % replace greater than230 \lst@ProcessOther{"5E}{\raisebox{0.4ex}{$\scriptstyle\land\,$}} % replace circumflex231 \lst@ProcessOther{"5F}{\lst@ttfamily{\char95}{{\makebox[1.2ex][c]{\rule{1ex}{0.1ex}}}}} % replace underscore232 \lst@ProcessOther{"60}{\lst@ttfamily{`}{\raisebox{0.3ex}{\ttfamily\upshape \hspace*{-2pt}`}}} % replace backquote233 \lst@ProcessOther{"7E}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}} % replace tilde234 %\lst@ProcessOther{"7E}{\raisebox{-.4ex}[1ex][0pt]{\textasciitilde}} % lower tilde235 \@empty\z@\@empty % NECESSARY DO NOT REMOVE236 \makeatother237 226 238 227 % Local Variables: %
Note: See TracChangeset
for help on using the changeset viewer.