我有以下 MWE
\documentclass[12pt]{article}
\usepackage[a4paper, left=16.5mm, right= 16.5mm, top=0mm, bottom=25mm]{geometry}
\usepackage{graphicx} % Required for inserting images
\setlength\parindent{0pt}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyfoot[R]{Page \thepage}
\fancypagestyle{specialfooter}{%
\fancyhf{}
\renewcommand\headrulewidth{0pt}
\fancyfoot[R]{\rotatebox{90}{CRICOS Provider Code 00098G}}
}
\begin{document}
\thispagestyle{specialfooter}
\begin{center}
\makebox[\textwidth]{\includegraphics[width=\paperwidth]{UNSW_HDR.png}}
\end{center}
\noindent\makebox[\linewidth]{\rule{\paperwidth}{1pt}}
\section*{\normalsize{Outline how you are eligible for admission to the program.}}
\section*{\normalsize{Describe your capability to carry out high quality research.}}
\section*{\normalsize{Provide a rationale for why you chose this project and this supervisory team.}}
\clearpage
\newgeometry{left=16.5mm, right= 16.5mm, top=25mm, bottom=25mm}
\begin{center}
\textbf{Research Project Description}\\
Your research project description should include a statement of the research problem and its significance. You need to provide an outline of how you plan to address the problem. As different Faculties have different requirements (such as word-count and level of detail), you should discuss with your proposed supervisory team what is required.
\end{center}
\noindent\makebox[\linewidth]{\rule{\paperwidth}{1pt}}
\end{document}
我的疑问是:
- 如何修复第 1 页中旋转的页脚(标记为红色)?它应该位于右边距。
- 是什么原因导致第 2 页开头出现水平线(标记为绿色)?
答案1
嗯,像这样吗?
一位 MWE 表示:
\documentclass[12pt, draft]{article}
\usepackage[a4paper,
hmargin= 16.5mm, vmargin={0mm,25mm}]{geometry}
\usepackage{graphicx} % Required for inserting images
\setlength\parindent{0pt}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\renewcommand\headrulewidth{0pt} % should be here
\fancyfoot[R]{Page \thepage}
\fancypagestyle{specialfooter}{%
\fancyhf{}
\fancyfoot[R]{CRICOS Provider Code 00098G}} % remove rotatebox
\begin{document}
\thispagestyle{specialfooter}
\begin{center}
unknown image \verb+UNSW_HDR+%\includegraphics[width=\textidth]{UNSW_HDR.png}}
\end{center}
\noindent\makebox[\linewidth]{\rule{\paperwidth}{1pt}}
\section*{Outline how you are eligible for admission to the program.}
\section*{Describe your capability to carry out high quality research.}
\section*{Provide a rationale for why you chose this project and this supervisory team.}
\clearpage
\newgeometry{left=16.5mm, right= 16.5mm, top=25mm, bottom=25mm}
\begin{center}
\textbf{Research Project Description}\\
Your research project description should include a statement of the research problem and its significance. You need to provide an outline of how you plan to address the problem. As different Faculties have different requirements (such as word-count and level of detail), you should discuss with your proposed supervisory team what is required.
\end{center}
\noindent\makebox[\linewidth]{\rule{\paperwidth}{1pt}}
\end{document}
答案2
John Kormylo 的建议解决了这个问题。使用了以下代码-\fancyfoot[R]{\rlap{\hskip\marginparsep\smash{\rotatebox{90}{CRICOS Provider Code 00098G}}}}