Skip to content

Commit

Permalink
Merge pull request #80 from SUSTech-CRA/feat/fix-header
Browse files Browse the repository at this point in the history
允许多行页眉
  • Loading branch information
liziwl authored Oct 6, 2024
2 parents 4e817c3 + 3bf4174 commit 5972325
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions sustechthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,12 @@
% 本科生《写作指南》:
% 页边距:上:3.8 厘米,下:3.2 厘米,左右:3 厘米,装订线:左 0.2 厘米。
% 本科生 Word 模板:
% 页眉距边界:1.5 厘米,页脚距边界:1.75 厘米。
% 无页眉,页脚距边界:1.75 厘米。
%
% \pkg{fancyhdr} 的页眉是沿底部对齐的,所以只需设置 \cs{headsep},
% \cs{headheight} 可以适当增加高度允许多行页眉。
% 研究生:\cs{headsep} = $\SI{3}{cm} - \SI{2.2}{cm} - \SI{10.5}{bp} \times 1.3
% \approx \SI{0.3}{cm}$。
%
% \begin{macrocode}
\geometry{
Expand All @@ -1427,8 +1432,8 @@
bottom = 3.2cm,
left = 3.2cm,
right = 3cm,
headheight = 0.5cm,
headsep = 1.8cm,
headheight = 1.9cm,
headsep = 1.9cm,
footskip = 1.45cm,
}%
\ifthu@output@print
Expand All @@ -1444,7 +1449,7 @@
\else
\geometry{
margin = 3cm,
headheight = 0.5cm,
headheight = 2.7cm,
headsep = 0.3cm,
footskip = 0.8cm,
}%
Expand Down

0 comments on commit 5972325

Please sign in to comment.