如何让页面样式在Part中不起作用,就是在Part中无效,看不见

发布于 2022-05-31 09:19:54

请问如何让我的页面设计样式在Part中不会出现,如图Snipaste_2022-05-31_09-06-59.png
或者只让Part中的章名称消失也行。请大佬帮帮忙,页面样式是基于Scr-page宏包设计的,所以是否可以通过增加一些指令让它在Part中达到上述效果?
文件在: https://wwu.lanzoub.com/iCpmz05o99oh
,打开即可下载,解压后运行differential_Geometry_en_version.tex即可.cls见beautybook文件夹下.

查看更多

关注者
0
被浏览
1.2k
LaTeXStudio
LaTeXStudio 2022-05-31
这家伙很懒,什么也没写!

页眉的设置自动加了 \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}%
  }
1 个回答

撰写答案

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

发布
问题

分享
好友

手机
浏览

扫码手机浏览