Me gustaría ocultar el número de columna en la primera columna (portada).
He usado el siguiente código de: Respuesta de intercambio de pila
\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}
lo he probado con
\thispagestyle{empty}
Pero no funcionó.
Respuesta1
En lugar de \thecolumn
, puedes usar un comando que solo producirá un resultado si el column
contador es diferente de 1. Aquí lo nombré \tehcolumn
, basado en un error ortográfico común (sí, es una broma):
\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}