The sig-alternate
class by default disables page numbers, which breaks mparhack
(amongst other things).
How can I include tex code only if \thepage
is properly defined? I tried \ifcsname
and \ifcsempty
of etoolbox
, but neither worked.
MWE:
\documentclass{sig-alternate}
%\pagenumbering{arabic}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mparhack}
\begin{document}
\title{A Sample {\ttlit ACM} SIG Proceedings Paper in LaTeX}
\numberofauthors{1}
\author{
\alignauthor
Ben Trovato\titlenote{Dr.~Trovato insisted his name be first.}\\
\affaddr{Institute for Clarity in Documentation}\\
\affaddr{1932 Wallamaloo Lane}\\
\affaddr{Wallamaloo, New Zealand}\\
\email{[email protected]}
}
\date{30 July 1999}
\maketitle
\section{Introduction}
The \textit{proceedings} are the records of a conference.
\end{document}
expl3
and the commandIfNoValueTF
, from tex.stackexchange.com/questions/9540/…. This requires thexparse
package.IfNoValueTF
always goes into the false-branch.