Giter Club home page Giter Club logo

Comments (6)

stone-zeng avatar stone-zeng commented on June 2, 2024 2
\makeatletter
\ExplSyntaxOn
\cs_set_protected:Npn \__fdu_chapter_header:n #1
  { \markboth {#1} { } }
\fancyhead[L]{\small\nouppercase{\fdu@kai\l__fdu_info_title_tl}}
\fancyhead[R]{\small\nouppercase{\fdu@kai\csname l__fdu_header_center_mark_tl\endcsname\leftmark}}
\ExplSyntaxOff
\makeatother

除每章首页外其余都用「左论文标题、右章名字」的格式作为页眉。

from fduthesis.

sikouhjw avatar sikouhjw commented on June 2, 2024 1
  1. 目录。在 \tableofcontents 后面加上 \pagestyle{fancy},在导言区加上
    \__fdu_patch_cmd:Nnn \tableofcontents
      {
        \__fdu_chapter_no_toc:V \contentsname
      }
      {
        \__fdu_chapter_no_toc:V \contentsname \pagestyle{plain}
      }
  2. 让所有章节在右边显示
    \cs_set_protected:Npn \__fdu_chapter_header:n #1
      {
        \bool_if:NTF \g__fdu_twoside_bool
          { \markboth {#1} {#1} }
          { \markboth { \hfill #1 } { } }
      }

from fduthesis.

Aphroditefang avatar Aphroditefang commented on June 2, 2024

是onside模式,然后利用

\makeatletter
\ExplSyntaxOn
\fancyhead[L]{\small\nouppercase{\fdu@kai \l__fdu_info_title_tl }}
\fancyhead[R]{\small \nouppercase{ \fdu@kai \csname l__fdu_header_center_mark_tl\endcsname\leftmark}}
\ExplSyntaxOff
\makeatother

设置页眉为左侧是文章名,右侧是章节名。
image

正文部分都是对的,参考文献和摘要部分就变成了左侧是文章名字,中间是章节名。

from fduthesis.

sikouhjw avatar sikouhjw commented on June 2, 2024
  1. 不要开多个 issue/discussion 提问
  2. 提问要说清模板版本
  3. 目录、参考文献没有出现页眉,请提供 MWE

from fduthesis.

Aphroditefang avatar Aphroditefang commented on June 2, 2024

1.好的,不小心同时弄了issue和discussion。
2.模板版本是最新的,克隆到本地后,生成thesis文件加并上传到overleaf。目录和参考文献首页没有页眉,但是第二页开始就有页眉了的。

from fduthesis.

Aphroditefang avatar Aphroditefang commented on June 2, 2024

好的,所有问题都解决了。非常感谢个为耐心的解答,后续应该没什么疑问了

from fduthesis.

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.