请问如何让我的页面设计样式在Part中不会出现,如图
或者只让Part中的章名称消失也行。请大佬帮帮忙,页面样式是基于Scr-page宏包设计的,所以是否可以通过增加一些指令让它在Part中达到上述效果?
文件在: https://wwu.lanzoub.com/iCpmz05o99oh
,打开即可下载,解压后运行differential_Geometry_en_version.tex即可.cls见beautybook文件夹下.
页眉的设置自动加了 \rightmark
可以使用 markboth
置空。
\titleformat{\part}
{\normalfont\huge\filcenter}
{}
{20pt}
{\markboth{}{}\begin{tikzpicture}[remember picture,overlay]
\fill[outermarginbgcolor]
($(current page.north west)+(0,0)$) rectangle ($(current page.south east)+(0,0)$);%
\node[
rectangle,drop shadow={opacity=.3,color=black!40!white,shadow xshift=.05cm,shadow yshift=-.05cm},
fill=outermarginfgcolor!90,
text width=\paperwidth-2\outermarginwidth,
rounded corners=5pt,
text depth=15cm,
anchor=center,
inner sep=0pt] at (current page.north) (parttop)
{\thepart};%
\node[
anchor=south east,
inner sep=0pt,
outer sep=0pt] (partnum) at ([xshift=-20pt]parttop.south)
{\partnumfont\thepart};
\node[
anchor=south,
inner sep=0pt] (partname) at ([yshift=2pt]partnum.south)
{\partnamefont PART};
\node[%
anchor=north east,xshift=1.5\outermarginwidth,
align=left,font=\Huge\scshape\color{outermarginfgcolor},
inner xsep=0pt] at ([yshift=-0.5cm]partname.west|-partnum.south east)
{\parbox[][.5\paperheight][t]{.5\textwidth}{\raggedright#1}};%
\shade[%
rectangle,drop shadow={opacity=.3,color=black!40!white,shadow xshift=.05cm,shadow yshift=-.05cm},
top color=outermarginfgcolor!40,bottom color=outermarginbgcolor!20,
rounded corners=5pt,
] ($(current page.south west)+(\outermarginwidth,1.2\footheight)$) rectangle ($(current page.south east)+(-\outermarginwidth,.3\paperheight+1.2\footheight)$);%
\node[anchor=south,text=outermarginfgcolor,font=\large\sffamily\normalfont,] at ([yshift=1.25\footheight]current page.south) (partbottom) %
{\parbox[][.3\paperheight][c]{\paperwidth-2\outermarginwidth-.5\footheight}{\partpage}};%
\end{tikzpicture}%
}
谢谢您的精彩解答,您真是我的救星,答案完美切中要点,谢谢您的解答!谢谢了!