note286 / xdupgthesis

[停止维护 请使用note286/xduts]西安电子科技大学研究生学位论文XeLaTeX模板
https://note286.github.io/xdupgthesis/
LaTeX Project Public License v1.3c
330 stars 57 forks source link

封面页,提名页内容位置偏移 #71

Closed wherelse closed 2 years ago

wherelse commented 2 years ago

Snipaste_2022-03-28_20-39-04.jpg

Snipaste_2022-03-28_20-40-11.jpg

尤其是封面,打印出来后,和word模板的差异明显

wherelse commented 2 years ago

针对封面页问题: https://github.com/note286/xdupgthesis/blob/d64771033b2f2ebbc6d1b3026e13d1d2d87a1e29/xdupgthesis.cls#L503-L513 本人尝试将以上几行的相关参数修改成如下内容:

  \rule[0cm]{0pt}{3.2cm}\parbox[t]{\textwidth}{%
  \begin{center}%
      {\bfseries\XDU@value@thesis@title}%
  \end{center}%
  }
  \ifXDU@Option@mprof
    \makebox[\textwidth]{\rule{0pt}{2.5cm-\baselineskip}}
  \else
    \makebox[\textwidth]{\rule{0pt}{2.5cm}}
  \fi
  \rule[-3.2cm+15pt]{0pt}{3.2cm}\hspace{3.5cm}\parbox[t]{9cm}{%

得到的效果和word模板基本一致