Changeset e693572 for doc/LaTeXmacros
- Timestamp:
- Apr 18, 2024, 10:18:13 PM (4 months ago)
- Branches:
- master
- Children:
- 2a27998
- Parents:
- c3c9325
- Location:
- doc/LaTeXmacros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.sty
rc3c9325 re693572 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Sun Feb 25 23:30:09202414 %% Update Count : 6 4513 %% Last Modified On : Thu Apr 18 09:14:02 2024 14 %% Update Count : 657 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 108 108 \renewcommand\subparagraph{\@startsection{subparagraph}{4}{\z@}{-1.5ex \@plus -1ex \@minus -.2ex}{-1em}{\normalfont\normalsize\bfseries\itshape}} 109 109 110 % index macros111 110 \newcommand{\italic}[1]{\emph{\hyperpage{#1}}} 112 111 \newcommand{\Definition}[1]{\textbf{\hyperpage{#1}}} 113 \newcommand{\see}[1]{(see #1)} 112 \newcommand{\see}{\protect\@ifstar\@ssee\@see} 113 \newcommand{\@ssee}[1]{(See #1)} 114 \newcommand{\@see}[1]{(see #1)} 115 116 % index macros 114 117 115 118 % Define some commands that produce formatted index entries suitable for cross-references. … … 152 155 \newcommand{\newtermFontInline}{\emph} 153 156 \newcommand{\newterm}{\protect\@ifstar\@snewterm\@newterm} 157 \newcommand{\@snewterm}[2][\@empty]{{\newtermFontInline{#2}}\ifx#1\@empty\index{#2}\else\index{#1@{\protect#2}}\fi} 154 158 \newcommand{\@newterm}[2][\@empty]{\lowercase{\def\temp{#2}}{\newtermFontInline{#2}}\ifx#1\@empty\index{\temp}\else\index{#1@{\protect#2}}\fi} 155 \newcommand{\@snewterm}[2][\@empty]{{\newtermFontInline{#2}}\ifx#1\@empty\index{#2}\else\index{#1@{\protect#2}}\fi}156 159 157 160 % \snake{<identifier>} … … 202 205 203 206 \newenvironment{cquote}{% 204 \list{}{\ lstset{resetmargins=true,aboveskip=0pt,belowskip=0pt}\topsep=4pt\parsep=0pt\leftmargin=\parindentlnth\rightmargin\leftmargin}%207 \list{}{\topsep=\lst@aboveskip\parskip=0pt\partopsep=0pt\itemsep=0pt\parsep=0pt\listparindent=0pt\leftmargin=\parindentlnth\rightmargin=0pt}% 205 208 \item\relax 209 \lstset{resetmargins=true} 206 210 }{% 207 211 \endlist … … 345 349 \fi% 346 350 351 \usepackage{tabularx} % if @ is used for lstMakeShortInline, allows @{} 352 347 353 % Local Variables: % 348 354 % tab-width: 4 % -
doc/LaTeXmacros/common.tex
rc3c9325 re693572 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Mon Feb 26 08:06:05202414 %% Update Count : 6 1513 %% Last Modified On : Thu Apr 18 09:15:38 2024 14 %% Update Count : 664 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 109 109 \renewcommand\subparagraph{\@startsection{subparagraph}{4}{\z@}{-1.5ex \@plus -1ex \@minus -.2ex}{-1em}{\normalfont\normalsize\bfseries\itshape}} 110 110 111 % index macros112 111 \newcommand{\italic}[1]{\emph{\hyperpage{#1}}} 113 112 \newcommand{\Definition}[1]{\textbf{\hyperpage{#1}}} 114 \newcommand{\see}[1]{(see #1)} 113 \newcommand{\see}{\protect\@ifstar\@ssee\@see} 114 \newcommand{\@ssee}[1]{(See #1)} 115 \newcommand{\@see}[1]{(see #1)} 116 117 % index macros 115 118 116 119 % Define some commands that produce formatted index entries suitable for cross-references. … … 153 156 \newcommand{\newtermFontInline}{\emph} 154 157 \newcommand{\newterm}{\protect\@ifstar\@snewterm\@newterm} 158 \newcommand{\@snewterm}[2][\@empty]{{\newtermFontInline{#2}}\ifx#1\@empty\index{#2}\else\index{#1@{\protect#2}}\fi} 155 159 \newcommand{\@newterm}[2][\@empty]{\lowercase{\def\temp{#2}}{\newtermFontInline{#2}}\ifx#1\@empty\index{\temp}\else\index{#1@{\protect#2}}\fi} 156 \newcommand{\@snewterm}[2][\@empty]{{\newtermFontInline{#2}}\ifx#1\@empty\index{#2}\else\index{#1@{\protect#2}}\fi}157 160 158 161 % \snake{<identifier>} … … 201 204 \newcommand{\VS}{\abbrevFont{vs}} 202 205 \newcommand{\vs}{\VS\CheckPeriod} 203 \makeatother204 206 205 207 \newenvironment{cquote}{% 206 \list{}{\ lstset{resetmargins=true,aboveskip=0pt,belowskip=0pt}\topsep=4pt\parsep=0pt\leftmargin=\parindentlnth\rightmargin\leftmargin}%208 \list{}{\topsep=\lst@aboveskip\parskip=0pt\partopsep=0pt\itemsep=0pt\parsep=0pt\listparindent=0pt\leftmargin=\parindentlnth\rightmargin=0pt}% 207 209 \item\relax 210 \lstset{resetmargins=true} 208 211 }{% 209 212 \endlist 210 213 }% cquote 214 \makeatother 211 215 212 216 \newenvironment{rationale}{% … … 349 353 \fi% 350 354 355 \usepackage{tabularx} % if @ is used for lstMakeShortInline, allows @{} 356 351 357 % Local Variables: % 352 358 % tab-width: 4 %
Note: See TracChangeset
for help on using the changeset viewer.