1

I want to make an A3 paper to test student. So I set the latex class option twocolumn. The size of each column is A4 paper. I hope each column with its own page number. When xelatex to PDF, I find that the PDF file's page number is A3 paper's, which located in the middle of the entire A3 paper. How can I set the page number in each A4 column. Thank you.

1 Answers1

0

Thank you very much, I had find a not good solution.

\documentclass[UTF8]{ctexart}
\usepackage{geometry}
\geometry{a3paper,twocolumn,landscape,hmargin={3.5cm,1.3cm},vmargin={1.5cm,1.5cm},footskip=0.75cm,headsep=0.25cm}

\usepackage{calc,refcount}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\setlength{\columnseprule}{0.4pt}
\setlength{\columnsep}{1.5cm}
\fancyfoot[CE,CO]{\kaishu{}
第~\the\numexpr2*\value{page}-1\relax~页~/~共~\the\numexpr2*\getpagerefnumber{mylastpage}\relax~页
\hspace*{.5\linewidth}
第~\the\numexpr2*\value{page}\relax~页~/~共~\the\numexpr2*\getpagerefnumber{mylastpage}\relax~页

\usepackage{blindtext}
\begin{document}
\blinddocument
\blindtext
\label{mylastpage}    
\end{document}

ref:

I cannot get the true last column. But I can set the even number.