From: Ian Jackson Date: Sun, 4 Mar 2012 18:02:47 +0000 (+0000) Subject: subsubsection hyperref font problems: try exciting fix (hide font info) from mdw X-Git-Tag: f0.2~165 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=d35af01ea58ffbe049ff097b4448f78624ed27c5;p=topbloke-formulae.git subsubsection hyperref font problems: try exciting fix (hide font info) from mdw --- diff --git a/article.tex b/article.tex index f5c366f..7e78f9b 100644 --- a/article.tex +++ b/article.tex @@ -18,8 +18,12 @@ \newcommand{\haspatch}{\sqSupset} \newcommand{\patchisin}{\sqSubset} + \newif\ifhidehack\hidehackfalse + \DeclareRobustCommand\hidefromedef[2]{% + \hidehacktrue\ifhidehack#1\else#2\fi\hidehackfalse} + \newcommand{\pa}[1]{\hidefromedef{\varmathbb #1}{#1}} + \newcommand{\set}[1]{\mathbb #1} -\newcommand{\pa}[1]{\varmathbb #1} \newcommand{\pay}[1]{\pa{#1}^+} \newcommand{\pan}[1]{\pa{#1}^-}