Changeset 739495a
- Timestamp:
- Jan 14, 2024, 8:51:10 PM (11 months ago)
- Branches:
- master
- Children:
- 38951c31
- Parents:
- 479fbe3
- Location:
- doc/LaTeXmacros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.sty
r479fbe3 r739495a 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Fri Sep 29 16:48:59 202314 %% Update Count : 58713 %% Last Modified On : Sun Jan 14 12:28:26 2024 14 %% Update Count : 631 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 273 273 \setlength{\columnposn}{\gcolumnposn} 274 274 \newcommand{\setgcolumn}[1]{\global\gcolumnposn=#1\global\columnposn=\gcolumnposn} 275 \newcommand{\C}[2][\@empty]{\ifx#1\@empty\else\global\setlength{\columnposn}{#1}\global\columnposn=\columnposn\fi\hfill\makebox[\textwidth-\columnposn][l]{\lst@basicstyle{\LstCommentStyle{#2}}}} 275 \newcommand{\C}[2][\@empty]{\ifx#1\@empty\else\global\setlength{\columnposn}{#1}\global\columnposn=\columnposn\fi\hfill\makebox[\textwidth-\columnposn][l]{\LstCommentStyle{#2}}} 276 \newcommand{\CD}[2][\@empty]{\ifx#1\@empty\else\global\setlength{\columnposn}{#1}\global\columnposn=\columnposn\fi\hfill\makebox[\textwidth-\columnposn][l]{\LstBasicStyle{#2}}} 276 277 \newcommand{\CRT}{\global\columnposn=\gcolumnposn} 277 278 … … 292 293 xleftmargin=\parindentlnth, % indent code to paragraph indentation 293 294 extendedchars=true, % allow ASCII characters in the range 128-255 294 escapechar= \$, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-'295 escapechar=§, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-' 295 296 mathescape=false, % disable LaTeX math escape in CFA code $...$ 296 297 keepspaces=true, % … … 302 303 % replace/adjust listing characters that look bad in sanserif 303 304 literate= 304 {-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 305 % {-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 306 {-}{\raisebox{-1pt}{\texttt{-}}}1 305 307 {^}{\raisebox{0.6ex}{$\scriptstyle\land\,$}}1 306 308 {~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 … … 308 310 {<-}{$\leftarrow$}2 309 311 {=>}{$\Rightarrow$}2 310 {->}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.8ex}{0.075ex}}}\kern-0.2ex\textgreater}2,312 % {->}{\raisebox{-1pt}{\texttt{-}}\kern-0.1ex\textgreater}2, 311 313 }% lstset 312 314 }% CFAStyle -
doc/LaTeXmacros/common.tex
r479fbe3 r739495a 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Fri Sep 29 16:49:02 202314 %% Update Count : 59 013 %% Last Modified On : Sun Jan 14 17:59:02 2024 14 %% Update Count : 592 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 276 276 \setlength{\columnposn}{\gcolumnposn} 277 277 \newcommand{\setgcolumn}[1]{\global\gcolumnposn=#1\global\columnposn=\gcolumnposn} 278 \newcommand{\C}[2][\@empty]{\ifx#1\@empty\else\global\setlength{\columnposn}{#1}\global\columnposn=\columnposn\fi\hfill\makebox[\textwidth-\columnposn][l]{\lst@basicstyle{\LstCommentStyle{#2}}}} 278 \newcommand{\C}[2][\@empty]{\ifx#1\@empty\else\global\setlength{\columnposn}{#1}\global\columnposn=\columnposn\fi\hfill\makebox[\textwidth-\columnposn][l]{\LstCommentStyle{#2}}} 279 \newcommand{\CD}[2][\@empty]{\ifx#1\@empty\else\global\setlength{\columnposn}{#1}\global\columnposn=\columnposn\fi\hfill\makebox[\textwidth-\columnposn][l]{\LstBasicStyle{#2}}} 279 280 \newcommand{\CRT}{\global\columnposn=\gcolumnposn} 280 281 … … 296 297 xleftmargin=\parindentlnth, % indent code to paragraph indentation 297 298 extendedchars=true, % allow ASCII characters in the range 128-255 298 escapechar= \$, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-'299 escapechar=§, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-' 299 300 mathescape=false, % disable LaTeX math escape in CFA code $...$ 300 301 keepspaces=true, % … … 306 307 % replace/adjust listing characters that look bad in sanserif 307 308 literate= 308 {-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 309 % {-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 310 {-}{\raisebox{-1pt}{\texttt{-}}}1 309 311 {^}{\raisebox{0.6ex}{$\scriptstyle\land\,$}}1 310 312 {~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 … … 312 314 {<-}{$\leftarrow$}2 313 315 {=>}{$\Rightarrow$}2 314 {->}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.8ex}{0.075ex}}}\kern-0.2ex\textgreater}2,316 % {->}{\raisebox{-1pt}{\texttt{-}}\kern-0.1ex\textgreater}2, 315 317 }% lstset 316 318 }% CFAStyle
Note: See TracChangeset
for help on using the changeset viewer.