scu_thesis_2020 icon indicating copy to clipboard operation
scu_thesis_2020 copied to clipboard

请问如何修改每行38个字为34个字

Open ScGPS opened this issue 9 months ago • 0 comments

您好!

我使用您的 https://github.com/kevinleeex/scu_thesis_2020 写博士论文。

发现一个问题: 一行有38个汉字,学校要求一行有34个汉字,这个怎么修改呢?谢谢!

我是用 % 一行34个汉字 \geometry{left=3.25cm,right=3.25cm,top=2.75cm,bottom=3cm,headsep=0.32cm,footskip=1cm} 解决问题的。

这里我附上我修改的内容 修改scuthesis2020.cls文件中 把

%使用geometry调整边距
\RequirePackage{geometry}
\geometry{a4paper,papersize={21cm,29.7cm}}
\geometry{left=2.5cm,right=2.5cm,top=2.75cm,bottom=3cm,headsep=0.32cm,footskip=1cm}
% bottom为2.5 + 0.5cm,考虑到footer的高度,这样与word一致
% \setlength{\topskip}{0.3cm}
% \renewcommand{\baselinestretch}{1.5}
\setlength{\baselineskip}{20pt}

% 这些命令用于设定各项文档信息的具体内容。
\newcommand\unitid[1]{\def\@unitid{#1}}

改成了

%使用geometry调整边距
\RequirePackage{geometry}
\geometry{a4paper,papersize={21cm,29.7cm}}
\geometry{left=2.5cm,right=2.5cm,top=2.75cm,bottom=3cm,headsep=0.32cm,footskip=1cm}
% bottom为2.5 + 0.5cm,考虑到footer的高度,这样与word一致
% \setlength{\topskip}{0.3cm}
% \renewcommand{\baselinestretch}{1.5}
\setlength{\baselineskip}{20pt}

% 默认字体间距问题,2024.04.29
%https://github.com/kevinleeex/scu_thesis_2020/issues/14
\renewcommand{\baselinestretch}{1.38}

% 英文字体应该是Times New Roman,2024.04.29
\setmainfont{Times New Roman} 

% 将A4纸换成16K,2024.04.29
\setlength\paperheight{26cm}
\setlength\paperwidth{18.4cm}

% 一行34个汉字
\geometry{left=3.25cm,right=3.25cm,top=2.75cm,bottom=3cm,headsep=0.32cm,footskip=1cm}

% 这些命令用于设定各项文档信息的具体内容。
\newcommand\unitid[1]{\def\@unitid{#1}}

ScGPS avatar Apr 29 '24 12:04 ScGPS