Changes in / [c8ffd74f:3e1a705]
- Location:
- doc
- Files:
-
- 1 deleted
- 3 edited
-
LaTeXmacros/common.sty (deleted)
-
LaTeXmacros/common.tex (modified) (3 diffs)
-
user/Makefile (modified) (3 diffs)
-
user/user.tex (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
rc8ffd74f r3e1a705 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Sat May 8 08:48:37 202114 %% Update Count : 5 4013 %% Last Modified On : Tue Apr 27 12:03:17 2021 14 %% Update Count : 539 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 38 38 \usepackage{xspace} 39 39 \newcommand{\CFAIcon}{\textsf{C}\raisebox{\depth}{\rotatebox{180}{\textsf{A}}}} % Cforall icon 40 \newcommand{\CFA}{\protect\CFAIcon\xspace} % CFA symbolic name41 \newcommand{\CFL}{\textrm{Cforall}\xspace} % Cforall non-icon name42 \newcommand{\Celeven}{\textrm{C11}\xspace} % C11 symbolic name40 \newcommand{\CFA}{\protect\CFAIcon\xspace} % CFA symbolic name 41 \newcommand{\CFL}{\textrm{Cforall}\xspace} % Cforall non-icon name 42 \newcommand{\Celeven}{\textrm{C11}\xspace} % C11 symbolic name 43 43 \newcommand{\CCIcon}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}} % C++ icon 44 \newcommand{\CC} [1][]{\protect\CCIcon{#1}\xspace}% C++ symbolic name44 \newcommand{\CC}{\protect\CCIcon\xspace} % C++ symbolic name 45 45 % numbers disallowed in latex variables names => use number names 46 \newcommand{\CCeleven}{\protect\CCIcon{11}\xspace} % C++11 symbolic name47 \newcommand{\CCfourteen}{\protect\CCIcon{14}\xspace} % C++14 symbolic name48 \newcommand{\CCseventeen}{\protect\CCIcon{17}\xspace} % C++17 symbolic name49 \newcommand{\CCtwenty}{\protect\CCIcon{20}\xspace} % C++20 symbolic name46 \newcommand{\CCeleven}{\protect\CCIcon{11}\xspace} % C++11 symbolic name 47 \newcommand{\CCfourteen}{\protect\CCIcon{14}\xspace} % C++14 symbolic name 48 \newcommand{\CCseventeen}{\protect\CCIcon{17}\xspace} % C++17 symbolic name 49 \newcommand{\CCtwenty}{\protect\CCIcon{20}\xspace} % C++20 symbolic name 50 50 \newcommand{\Csharp}{C\raisebox{-0.7ex}{\Large$^\sharp$}\xspace} % C# symbolic name 51 51 … … 153 153 % Latin abbreviation 154 154 \newcommand{\abbrevFont}{\textit} % set empty for no italics 155 % If not followed by a comma or colon, add a comma.156 \newcommand{\CheckCommaColon}{\@ifnextchar{,}{}{\@ifnextchar{:}{}{,\xspace}}}157 % If not followed by a period, add a period.158 \newcommand{\CheckPeriod}{\@ifnextchar{.}{}{.\xspace}}159 160 155 \@ifundefined{eg}{ 161 156 \newcommand{\EG}{\abbrevFont{e}.\abbrevFont{g}.} 162 \newcommand{\eg}{\EG\CheckCommaColon} 163 }{}% 157 \newcommand*{\eg}{% 158 \@ifnextchar{,}{\EG}% 159 {\@ifnextchar{:}{\EG}% 160 {\EG,\xspace}}% 161 }}{}% 164 162 \@ifundefined{ie}{ 165 163 \newcommand{\IE}{\abbrevFont{i}.\abbrevFont{e}.} 166 \newcommand{\ie}{\IE\CheckCommaColon} 167 }{}% 164 \newcommand*{\ie}{% 165 \@ifnextchar{,}{\IE}% 166 {\@ifnextchar{:}{\IE}% 167 {\IE,\xspace}}% 168 }}{}% 168 169 \@ifundefined{etc}{ 169 170 \newcommand{\ETC}{\abbrevFont{etc}} 170 \newcommand{\etc}{\ETC\CheckPeriod} 171 }{}% 171 \newcommand*{\etc}{% 172 \@ifnextchar{.}{\ETC}% 173 {\ETC.\xspace}% 174 }}{}% 172 175 \@ifundefined{etal}{ 173 176 \newcommand{\ETAL}{\abbrevFont{et}~\abbrevFont{al}} 174 \newcommand{\etal}{\ETAL\CheckPeriod} 175 }{}% 177 \newcommand*{\etal}{% 178 \@ifnextchar{.}{\protect\ETAL}% 179 {\protect\ETAL.\xspace}% 180 }}{}% 176 181 \@ifundefined{viz}{ 177 182 \newcommand{\VIZ}{\abbrevFont{viz}} 178 \newcommand{\viz}{\VIZ\CheckPeriod} 179 }{}% 183 \newcommand*{\viz}{% 184 \@ifnextchar{.}{\VIZ}% 185 {\VIZ.\xspace}% 186 }}{}% 180 187 \makeatother 181 188 -
doc/user/Makefile
rc8ffd74f r3e1a705 61 61 62 62 ${BASE}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \ 63 ${Macros}/common. sty${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib build/version | ${Build}63 ${Macros}/common.tex ${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib build/version | ${Build} 64 64 # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run. 65 65 if [ ! -r ${basename $@}.ind ] ; then touch ${Build}/${basename $@}.ind ; fi … … 68 68 -${BibTeX} ${Build}/${basename $@} 69 69 # Some citations reference others so run again to resolve these citations 70 #${LaTeX} ${basename $@}.tex70 ${LaTeX} ${basename $@}.tex 71 71 -${BibTeX} ${Build}/${basename $@} 72 72 # Make index from *.aux entries and input index at end of document … … 75 75 ${LaTeX} ${basename $@}.tex 76 76 # Run again to get index title into table of contents 77 #${LaTeX} ${basename $@}.tex77 ${LaTeX} ${basename $@}.tex 78 78 79 79 ## Define the default recipes. -
doc/user/user.tex
rc8ffd74f r3e1a705 11 11 %% Created On : Wed Apr 6 14:53:29 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Sat May 8 08:51:33202114 %% Update Count : 50 6213 %% Last Modified On : Wed Apr 28 21:48:59 2021 14 %% Update Count : 5051 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 65 65 % keyword escape ¶...¶ (pilcrow symbol) emacs: C-q M-^ 66 66 % math escape $...$ (dollar symbol) 67 \usepackage{common} % common CFA document macros 68 %\input{common} % common CFA document macros 67 \input{common} % common CFA document macros 69 68 \setlength{\gcolumnposn}{3in} 70 69 \CFAStyle % use default CFA format-style … … 586 585 For example, the octal ©0© or hexadecimal ©0x© prefix may end with an underscore ©0_377© or ©0x_ff©; 587 586 the exponent infix ©E© may start or end with an underscore ©1.0_E10©, ©1.0E_10© or ©1.0_E_10©; 588 the type suffixes ©U©, ©L©, \etcmay start with an underscore ©1_U©, ©1_ll© or ©1.0E10_f©.587 the type suffixes ©U©, ©L©, etc. may start with an underscore ©1_U©, ©1_ll© or ©1.0E10_f©. 589 588 \end{enumerate} 590 589 It is significantly easier to read and enter long constants when they are broken up into smaller groupings (many cultures use comma and/or period among digits for the same purpose). … … 1571 1570 \end{cquote} 1572 1571 1573 All type qualifiers, \eg ©const©, ©volatile©, \etc, are used in the normal way with the new declarations and also appear left to right, \eg:1572 All type qualifiers, \eg ©const©, ©volatile©, etc., are used in the normal way with the new declarations and also appear left to right, \eg: 1574 1573 \begin{cquote} 1575 1574 \begin{tabular}{@{}l@{\hspace{1em}}l@{\hspace{1em}}l@{}} … … 1591 1590 \end{tabular} 1592 1591 \end{cquote} 1593 All declaration qualifiers, \eg ©extern©, ©static©, \etc, are used in the normal way with the new declarations but can only appear at the start of a \CFA routine declaration,\footnote{\label{StorageClassSpecifier}1592 All declaration qualifiers, \eg ©extern©, ©static©, etc., are used in the normal way with the new declarations but can only appear at the start of a \CFA routine declaration,\footnote{\label{StorageClassSpecifier} 1594 1593 The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature.~\cite[\S~6.11.5(1)]{C11}} \eg: 1595 1594 \begin{cquote} … … 3148 3147 also, it is unnecessary to specify all the fields of a struct in a multiple record-field tuple. 3149 3148 3150 Since tuple-index expressions are a form of member-access expression, it is possible to use tuple-index expressions in conjunction with member-access expressions to restructure a tuple (\eg, rearrange components, drop components, duplicate components, \etc).3149 Since tuple-index expressions are a form of member-access expression, it is possible to use tuple-index expressions in conjunction with member-access expressions to restructure a tuple (\eg, rearrange components, drop components, duplicate components, etc.). 3151 3150 \begin{cfa} 3152 3151 [ int, int, long, double ] x; … … 3973 3972 3974 3973 \item 3975 \Indexc{sepOn}\index{manipulator!sepOn@©sepOn©} and \Indexc{sepOff}\index{manipulator!sepOff@©sepOff©} toggle printing the separator with respect to the next printed item, and then return to the global sep arator setting.3974 \Indexc{sepOn}\index{manipulator!sepOn@©sepOn©} and \Indexc{sepOff}\index{manipulator!sepOff@©sepOff©} toggle printing the separator with respect to the next printed item, and then return to the global seperator setting. 3976 3975 \begin{cfa}[belowskip=0pt] 3977 3976 sout | 1 | sepOff | 2 | 3; $\C{// turn off implicit separator for the next item}$ … … 5660 5659 \item 5661 5660 Package: a container to organize modules for distribution; It has attributes like name, author, 5662 version, dependences, \etc.5663 \item 5664 Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, \etc.5661 version, dependences, etc. 5662 \item 5663 Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, etc. 5665 5664 \end{itemize} 5666 5665 … … 5799 5798 5800 5799 A package is defined by putting a project description file, Do.prj, with one or more modules into a directory. 5801 This project description file contains the package's meta data, including package name, author, version, dependences, \etc.5800 This project description file contains the package's meta data, including package name, author, version, dependences, etc. 5802 5801 It should be in the root of the package directory. 5803 5802 … … 5856 5855 Module: a container to organize a set of related types and methods; It has a module name, and several interfaces visible from outside 5857 5856 \item 5858 Package: a container to organize modules for distribution; It has attributes like name, author, version, dependences, \etc.5859 \item 5860 Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, \etc.5857 Package: a container to organize modules for distribution; It has attributes like name, author, version, dependences, etc. 5858 \item 5859 Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, etc. 5861 5860 \end{itemize} 5862 5861
Note:
See TracChangeset
for help on using the changeset viewer.