Changeset 7cef785


Ignore:
Timestamp:
Jan 14, 2021, 8:11:42 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
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.