Skip to content

页眉格式 #332

Answered by sikouhjw
wangyizhuo777 asked this question in Q&A
Mar 24, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

fduthesis/source/fduthesis.dtx

Lines 3792 to 3802 in d84e0dd

% 构建页眉,要在单面或双面下分别设置。
%
% \cs{fancyhead} 的选项中,\opt{E} 和 \opt{O} 分别表示偶数(even)和奇数(odd), 而 \opt{L}、
% \opt{R} 和 \opt{C} 则分别表示左(left)、右(right)和中间(center)。按照通常的排版规则,
% 双面模式下,偶数页的中间页眉文字在左,奇数页则在右;单面模式下,左右页眉都会显示。
% \begin{macrocode}
\bool_if:NTF \g_@@_twoside_bool
{
\@@_fancy_head:nn { EL } { \leftmark }
\@@_fancy_head:nn { OR } { \rightmark }
}

设置成 C 居中,并且全部换成 \leftmark

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@wangyizhuo777
Comment options

Comment options

You must be logged in to vote
1 reply
@wangyizhuo777
Comment options

Answer selected by wangyizhuo777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants