Ignore:
Timestamp:
Aug 25, 2024, 11:54:50 AM (2 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
7a37fcb1
Parents:
562ccf9
Message:

update thesis macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/fangren_yu_MMath/uw-ethesis.tex

    r562ccf9 r3f37f5b  
    9191% cfa macros used in the document
    9292\input{common}
    93 %\usepackageinput{common}
     93%\usepackage{common}
    9494\CFAStyle                                               % CFA code-style
    95 \lstset{language=CFA}                                   % default language
    96 \lstset{basicstyle=\linespread{0.9}\sf}                 % CFA typewriter font
     95\lstset{language=cfa,belowskip=-1pt} % set default language to CFA
     96\lstnewenvironment{c++}[1][]{\lstset{language=[GNU]C++,escapechar=\$,moredelim=**[is][\color{red}]{@}{@},}\lstset{#1}}{}
     97
     98\newcommand{\PAB}[1]{{\color{red}PAB: #1}}
    9799\newcommand{\newtermFont}{\emph}
    98100\newcommand{\Newterm}[1]{\newtermFont{#1}}
    99101%\renewcommand{\newterm}[1]{\newtermFont{#1}}
    100 \newcommand{\uC}{$\mu$\CC}
    101 \newcommand{\PAB}[1]{{\color{red}PAB: #1}}
    102102
    103103% Hyperlinks make it very easy to navigate an electronic document.
     
    108108\usepackage[dvips,pagebackref=true]{hyperref} % with basic options
    109109%\usepackage[pdftex,pagebackref=true]{hyperref}
    110                 % N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing.
     110% N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing.
    111111\hypersetup{
    112112    plainpages=false,       % needed if Roman numbers in frontpages
     
    140140\urlstyle{sf}
    141141
    142 \usepackage[automake,toc,abbreviations]{glossaries-extra} % Exception to the rule of hyperref being the last add-on package
    143 \renewcommand*{\glstextformat}[1]{\textcolor{black}{#1}}
     142%\usepackage[automake,toc,abbreviations]{glossaries-extra} % Exception to the rule of hyperref being the last add-on package
     143%\renewcommand*{\glstextformat}[1]{\textcolor{black}{#1}}
    144144% If glossaries-extra is not in your LaTeX distribution, get it from CTAN (http://ctan.org/pkg/glossaries-extra),
    145145% although it's supposed to be in both the TeX Live and MikTeX distributions. There are also documentation and
     
    182182
    183183% Define Glossary terms (This is properly done here, in the preamble and could also be \input{} from a separate file...)
    184 \usepackage[automake,toc,abbreviations]{glossaries-extra} % Exception to the rule of hyperref being the last add-on package
    185 \renewcommand*{\glstextformat}[1]{\textcolor{black}{#1}}
    186 \input{glossary}
    187 \makeglossaries
     184%\usepackage[automake,toc,abbreviations]{glossaries-extra} % Exception to the rule of hyperref being the last add-on package
     185%\renewcommand*{\glstextformat}[1]{\textcolor{black}{#1}}
     186%\input{glossary}
     187%\makeglossaries
    188188
    189189%======================================================================
     
    258258% GLOSSARIES (Lists of definitions, abbreviations, symbols, etc. provided by the glossaries-extra package)
    259259% -----------------------------
    260 \printglossary
    261 \cleardoublepage
    262 \phantomsection         % allows hyperref to link to the correct page
     260%\printglossaries
     261%\cleardoublepage
     262%\phantomsection                % allows hyperref to link to the correct page
    263263
    264264%----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.