Giter VIP home page Giter VIP logo

Comments (3)

Frandy avatar Frandy commented on June 15, 2024

看了一些参考,做了一些修改,将fancypagestyle{plain}和pagestyle{fancy}都改成如下的内容,
\fancypagestyle{plain} { % 设置开章页页眉页脚风格
\fancyhf{}
\fancyhead[C]{\small {\it \sjtu@value@school\sjtu@value@degree\sjtu@label@thesis}} % 页眉
\fancyfoot[C]{\small ---{\bf\thepage}---} %页脚格式

%\renewcommand{\headrulewidth}{1pt}  %页眉线宽,设为0可以去页眉线
%双线页眉的设置                                                 
\makeatletter %双线页眉                                        
\def\headrule{{\if@fancyplain\let\headrulewidth\plainheadrulewidth\fi%
\hrule\@height 1.0pt \@width\headwidth\vskip1pt%上面线为1pt粗  
\hrule\@height 0.5pt\@width\headwidth  %下面0.5pt粗            
\vskip-2\headrulewidth\vskip-1pt}      %两条线的距离1pt        
\vspace{6mm}}     %双线与下面正文之间的垂直间距              
\makeatother 

}

最后得到的结果比较奇怪,在章节标题页书先的是双线,在一般页面出现的是单线,为什么会这样呢?

from sjtuthesis.

weijianwen avatar weijianwen commented on June 15, 2024

什么样子?给页眉截个图放上来看看。

from sjtuthesis.

weijianwen avatar weijianwen commented on June 15, 2024

还没有收到 @Frandy 的截图,暂时关闭issue,有需要的可以reopen。

from sjtuthesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.