-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 让硕博模板书脊上下居中,并适应长标题,避免与姓名粘连
Resolves #505 具体修改如下。 - `\vskip` → `\newgeometry` + `\restoregeometry` 原来的`\vskip`没生效(删掉后编译结果相同),而且需要从上边距开始算。干脆改边距好了。 - `center`环境 → `\centering` lshort-zh-cn:`center`等环境会在上下文产生一个额外间距,而`\centering`等命令不产生,只是改变对齐方式。 - `minipage`环境的对齐方式 `t` → `c` 这样遇到超长标题时,可以向两边溢出。 - `\vfill` → `\par` + `\vpace` `\vspace`可以设置间距最小值,避免标题稍长就和姓名学校粘在一起。 另外,`\vfill`会直接生效,而`\vspace`不会,所以要加`\par`。
- Loading branch information
1 parent
0bffec6
commit 9b315ee
Showing
1 changed file
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters