Colunas numeradas – suprime o número da coluna na primeira página

Colunas numeradas – suprime o número da coluna na primeira página

Gostaria de ocultar o número da coluna na primeira coluna (página de rosto).

Eu usei o seguinte código de: Resposta do Stack Exchange

\documentclass[paper=A3, landscape]{scrartcl}

\usepackage{multicol}
\usepackage{blindtext}
\usepackage{everypage}

\newcounter{column}

\AddEverypageHook{\ifdim\columnwidth<\textwidth
  \ifodd\value{page}\rlap{\hspace{\oddsidemargin}%
      \raisebox{\dimexpr-\topmargin-\headheight-\headsep-\textheight-    0.5\footskip}[0pt][0pt]%
  {\makebox[\columnwidth]{\stepcounter{column}\thecolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\thecolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\thecolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\thecolumn}}}%
\else\rlap{\hspace{\evensidemargin}%
  \raisebox{\dimexpr-\topmargin-\headheight-\headsep-\textheight-0.5\footskip}[0pt][0pt]%
  {\makebox[\columnwidth]{\stepcounter{column}\thecolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\thecolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\thecolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\thecolumn}}}%
\fi%
\fi}

\begin{document}
\begin{multicols}{4}
  \blinddocument{} \blindtext
\end{multicols}
\end{document}

Eu tentei com

\thispagestyle{empty}

mas não funcionou.

Responder1

Em vez de \thecolumn, você pode usar um comando que só produzirá um resultado se o columncontador for diferente de 1. Aqui eu o nomeei \tehcolumn, baseado em um erro ortográfico comum (sim, isso é uma piada):

\documentclass[paper=A3, landscape]{scrartcl}

\usepackage{multicol}
\usepackage{blindtext}
\usepackage{everypage}

\newcounter{column}

\newcommand\tehcolumn{\ifnum\value{column}=1 \else\thecolumn\fi}

\AddEverypageHook{\ifdim\columnwidth<\textwidth
  \ifodd\value{page}\rlap{\hspace{\oddsidemargin}%
      \raisebox{\dimexpr-\topmargin-\headheight-\headsep-\textheight-    0.5\footskip}[0pt][0pt]%
  {\makebox[\columnwidth]{\stepcounter{column}\tehcolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\tehcolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\tehcolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\tehcolumn}}}%
\else\rlap{\hspace{\evensidemargin}%
  \raisebox{\dimexpr-\topmargin-\headheight-\headsep-\textheight-0.5\footskip}[0pt][0pt]%
  {\makebox[\columnwidth]{\stepcounter{column}\tehcolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\tehcolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\tehcolumn}\hspace{\columnsep}%
   \makebox[\columnwidth]{\stepcounter{column}\tehcolumn}}}%
\fi%
\fi}

\begin{document}
\begin{multicols}{4}
  \blinddocument{} \blindtext
\end{multicols}
\end{document}

informação relacionada