Changes in doc/refrat/refrat.tex [92c0f81:83e9bd3]
- File:
-
- 1 edited
-
doc/refrat/refrat.tex (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/refrat/refrat.tex
r92c0f81 r83e9bd3 11 11 %% Created On : Wed Apr 6 14:52:25 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Sun Aug 6 10:25:31201714 %% Update Count : 10513 %% Last Modified On : Fri Jun 2 10:43:14 2017 14 %% Update Count : 83 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 17 17 % requires tex packages: texlive-base texlive-latex-base tex-common texlive-humanities texlive-latex-extra texlive-fonts-recommended 18 18 19 \documentclass[openright,twoside ,11pt]{report}19 \documentclass[openright,twoside]{report} 20 20 21 21 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 37 37 \usepackage{mathptmx} % better math font with "times" 38 38 \usepackage[usenames]{color} 39 \input{common} % common CFA document macros 39 \usepackage[pagewise]{lineno} 40 \renewcommand{\linenumberfont}{\scriptsize\sffamily} 41 \input{common} % bespoke macros used in the document 40 42 \usepackage[dvips,plainpages=false,pdfpagelabels,pdfpagemode=UseNone,colorlinks=true,pagebackref=true,linkcolor=blue,citecolor=blue,urlcolor=blue,pagebackref=true,breaklinks=true]{hyperref} 41 43 \usepackage{breakurl} 42 44 \renewcommand{\UrlFont}{\small\sf} 43 45 44 \usepackage[pagewise]{lineno}45 \renewcommand{\linenumberfont}{\scriptsize\sffamily}46 \usepackage[firstpage]{draftwatermark}47 \SetWatermarkLightness{0.9}48 49 % Default underscore is too low and wide. Cannot use lstlisting "literate" as replacing underscore50 % removes it as a variable-name character so keywords in variables are highlighted. MUST APPEAR51 % AFTER HYPERREF.52 \renewcommand{\textunderscore}{\leavevmode\makebox[1.2ex][c]{\rule{1ex}{0.075ex}}}53 54 46 \setlength{\topmargin}{-0.45in} % move running title into header 55 47 \setlength{\headsep}{0.25in} … … 58 50 59 51 \CFAStyle % use default CFA format-style 60 \lstnewenvironment{C++}[1][] % use C++ style61 {\lstset{language=C++,moredelim=**[is][\protect\color{red}]{®}{®}#1}}62 {}63 52 64 53 % inline code ©...© (copyright symbol) emacs: C-q M-) … … 98 87 99 88 \date{ 100 \today89 DRAFT \\ \today 101 90 }% date 102 91 … … 123 112 124 113 \clearpage 125 \thispagestyle{plain}126 114 \pdfbookmark[1]{Contents}{section} 127 115 \tableofcontents 128 116 129 117 \clearpage 130 \thispagestyle{plain}131 118 \pagenumbering{arabic} 132 119 … … 430 417 431 418 \begin{syntax} 432 \lhs{keyword} one of 433 \rhs \dots 434 \rhs \input{keywords} 419 \oldlhs{keyword} 420 \rhs ©forall© 421 \rhs ©lvalue© 422 \rhs ©trait© 423 \rhs ©dtype© 424 \rhs ©ftype© 425 \rhs ©otype© 435 426 \end{syntax} 436 427 … … 478 469 479 470 \begin{table}[hbt] 480 \centering 481 \input{operidents} 471 \hfil 472 \begin{tabular}[t]{ll} 473 %identifier & operation \\ \hline 474 ©?[?]© & subscripting \impl{?[?]}\\ 475 ©?()© & function call \impl{?()}\\ 476 ©?++© & postfix increment \impl{?++}\\ 477 ©?--© & postfix decrement \impl{?--}\\ 478 ©++?© & prefix increment \impl{++?}\\ 479 ©--?© & prefix decrement \impl{--?}\\ 480 ©*?© & dereference \impl{*?}\\ 481 ©+?© & unary plus \impl{+?}\\ 482 ©-?© & arithmetic negation \impl{-?}\\ 483 ©~?© & bitwise negation \impl{~?}\\ 484 ©!?© & logical complement \impl{"!?}\\ 485 ©?*?© & multiplication \impl{?*?}\\ 486 ©?/?© & division \impl{?/?}\\ 487 \end{tabular}\hfil 488 \begin{tabular}[t]{ll} 489 %identifier & operation \\ \hline 490 ©?%?© & remainder \impl{?%?}\\ 491 ©?+?© & addition \impl{?+?}\\ 492 ©?-?© & subtraction \impl{?-?}\\ 493 ©?<<?© & left shift \impl{?<<?}\\ 494 ©?>>?© & right shift \impl{?>>?}\\ 495 ©?<?© & less than \impl{?<?}\\ 496 ©?<=?© & less than or equal \impl{?<=?}\\ 497 ©?>=?© & greater than or equal \impl{?>=?}\\ 498 ©?>?© & greater than \impl{?>?}\\ 499 ©?==?© & equality \impl{?==?}\\ 500 ©?!=?© & inequality \impl{?"!=?}\\ 501 ©?&?© & bitwise AND \impl{?&?}\\ 502 \end{tabular}\hfil 503 \begin{tabular}[t]{ll} 504 %identifier & operation \\ \hline 505 ©?^?© & exclusive OR \impl{?^?}\\ 506 ©?|?© & inclusive OR \impl{?"|?}\\ 507 ©?=?© & simple assignment \impl{?=?}\\ 508 ©?*=?© & multiplication assignment \impl{?*=?}\\ 509 ©?/=?© & division assignment \impl{?/=?}\\ 510 ©?%=?© & remainder assignment \impl{?%=?}\\ 511 ©?+=?© & addition assignment \impl{?+=?}\\ 512 ©?-=?© & subtraction assignment \impl{?-=?}\\ 513 ©?<<=?© & left-shift assignment \impl{?<<=?}\\ 514 ©?>>=?© & right-shift assignment \impl{?>>=?}\\ 515 ©?&=?© & bitwise AND assignment \impl{?&=?}\\ 516 ©?^=?© & exclusive OR assignment \impl{?^=?}\\ 517 ©?|=?© & inclusive OR assignment \impl{?"|=?}\\ 518 \end{tabular} 519 \hfil 482 520 \caption{Operator Identifiers} 483 521 \label{opids}
Note:
See TracChangeset
for help on using the changeset viewer.