Ignore:
Timestamp:
Jan 14, 2021, 8:11:42 PM (11 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
aaa1c4cc
Parents:
f756a7f
Message:

Removed color from glossary links

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/thierry_delisle_PhD/thesis/thesis.tex

    rf756a7f r7cef785  
    8181%\usepackage{nomencl} % For a nomenclature (optional; available from ctan.org)
    8282\usepackage{amsmath,amssymb,amstext} % Lots of math symbols and environments
     83\usepackage{xcolor}
    8384\usepackage{graphicx} % For including graphics
    8485
     
    120121% although it's supposed to be in both the TeX Live and MikTeX distributions. There are also documentation and
    121122% installation instructions there.
    122 \renewcommand*{\glstextformat}[1]{\textsf{#1}}
     123\makeatletter
     124\newcommand*{\glsplainhyperlink}[2]{%
     125  \colorlet{currenttext}{.}% store current text color
     126  \colorlet{currentlink}{\@linkcolor}% store current link color
     127  \hypersetup{linkcolor=currenttext}% set link color
     128  \hyperlink{#1}{#2}%
     129  \hypersetup{linkcolor=currentlink}% reset to default
     130}
     131\let\@glslink\glsplainhyperlink
     132\makeatother
    123133
    124134\usepackage{csquotes}
Note: See TracChangeset for help on using the changeset viewer.