页眉 奇偶页码的位置不同,

发布于 2022-08-27 21:10:37

8.27-01.png
图1
8.27-02.png
图二
上两图我编译的
Inked8.27-03.jpg
图三
Inked8.27-04.jpg
图四
下两图是原文,是我想改的格式。既 我想修改 Chiral Perturbation Theory 、A Pich 分别在奇数页,偶数页中,和 页码数字之间的距离

\documentclass[twoside]{article}
\usepackage{fancyhdr}
\pagenumbering{arabic}%设置页码格式,大写字母标页
\pagestyle{fancy}
\fancyhead{} % 初始化页眉
\fancyfoot{} % 初始化页脚
\fancyhead[OR]{ $Chiral Perturbation Theory$  \thepage}
\fancyhead[EL]{\thepage  $A   Pich$}
\renewcommand{\headrulewidth}{0pt}%分隔线宽度4磅
%\fancyhead[OR,EL]{\thepage}%改为0pt即可去掉页眉下面的横线
\usepackage[a4paper,left=20mm,right=20mm,top=15mm,bottom=25mm]{geometry} 
\begin{document}
\newpage
    \section{Introduction}
\setcounter{page}{1}
        A simple example of effective field theory is provided by QED at very low energies,

        \newpage
Lorentz and Parity invariance constrain the possible structures present in the effective Lagrangian:
    \end{document}

我的问题是 ,我编译的 页码和内容的位置和原文不同,请问该怎么设置?谢谢

查看更多

关注者
0
被浏览
1.2k
2 个回答
LaTeXStudio
LaTeXStudio 2022-08-28
这家伙很懒,什么也没写!

具体要什么内容显示?

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览