1段目(表紙)の段番号を非表示にしたいです。
私は以下のコードを使用しました: 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}
私は試してみました
\thispagestyle{empty}
しかしそれは機能しませんでした。
答え1
の代わりに、カウンタが 1 と異なる\thecolumn
場合にのみ結果を生成するコマンドを使用できます。ここでは、よくあるスペルミスに基づいて、 という名前を付けました (はい、これは冗談です)。column
\tehcolumn
\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}