chiark / gitweb /
subsubsection hyperref font problems: try exciting fix (hide font info) from mdw
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 4 Mar 2012 18:02:47 +0000 (18:02 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 4 Mar 2012 18:02:47 +0000 (18:02 +0000)
article.tex

index f5c366f..7e78f9b 100644 (file)
 \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}^-}