Comments (6)
\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.
- 目录。在
\tableofcontents
后面加上\pagestyle{fancy}
,在导言区加上\__fdu_patch_cmd:Nnn \tableofcontents { \__fdu_chapter_no_toc:V \contentsname } { \__fdu_chapter_no_toc:V \contentsname \pagestyle{plain} }
- 让所有章节在右边显示
\cs_set_protected:Npn \__fdu_chapter_header:n #1 { \bool_if:NTF \g__fdu_twoside_bool { \markboth {#1} {#1} } { \markboth { \hfill #1 } { } } }
from fduthesis.
是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
正文部分都是对的,参考文献和摘要部分就变成了左侧是文章名字,中间是章节名。
from fduthesis.
- 不要开多个 issue/discussion 提问
- 提问要说清模板版本
- 目录、参考文献没有出现页眉,请提供 MWE
from fduthesis.
1.好的,不小心同时弄了issue和discussion。
2.模板版本是最新的,克隆到本地后,生成thesis文件加并上传到overleaf。目录和参考文献首页没有页眉,但是第二页开始就有页眉了的。
from fduthesis.
好的,所有问题都解决了。非常感谢个为耐心的解答,后续应该没什么疑问了
from fduthesis.
Related Issues (20)
- 长标题在页眉的显示问题
- 参考文献间距调整的问题 HOT 9
- 编译不通过 HOT 1
- 请问一下参考文献的引用是上角标,能改成和正常字体等高的普通cite的格式么 HOT 2
- `\SpecialMainEnvIndex` 和 `\HDorg@SpecialEnvIndex` 无法被 patch
- 页眉如何分单双页显示 HOT 1
- 在英文模板中添加中文摘要 HOT 1
- 关键词啊不是关键字
- 关于使用 \fdusetup 参数列表不能出现空行的问题 HOT 6
- 如何把目录中的“章”改成自己想要的说法,如:“节”,“回”,“部分”等? HOT 1
- siunitx package problem HOT 1
- 引用环境中添加定义/定理等 HOT 1
- 使用 v0.9a 版本模板,编译中遇到如下问题 HOT 4
- 参考文献 题目中的公式没有被识别 HOT 1
- 来自 arXiv 引用的显示问题 HOT 10
- 不知道为什么目录、插图目录及表格目录都显示的英文 HOT 4
- soul包与模板冲突,无法使用 HOT 5
- ! LaTeX Error: Inconsistent local/global assignment
- `main.yml` 没有一致使用指定的 CTAN 镜像
- 本科毕业论文封面编译失败 HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fduthesis.