├── README.md ├── latexspine.tex └── spine_sample.pdf /README.md: -------------------------------------------------------------------------------- 1 | # `latexspine` LaTeX 书脊模板 2 | 3 | ## 模板下载 4 | 5 | * 页面右边点击:**Clone or download -> Download Zip** 6 | * [Overleaf](https://github.com/mohuangrui/ucasthesis/wiki/字体配置#linuxoverleaf-系统的字体配置) 7 | 8 | ## 编译建议 9 | 10 | * 与编译一般性 LaTeX 文档无异 11 | * 只需运行 pdflatex 或 xelatex (推荐) 或 luatex 12 | * 无需运行 bibtex 13 | 14 | ## 重要建议 15 | 16 | * 论文模板见:[ucasthesis:中国科学院大学学位论文 LaTeX 模板](https://github.com/mohuangrui/ucasthesis)。 17 | * 开题报告见:[ucasproposal: 中国科学院大学开题报告 LaTeX 模板](https://github.com/mohuangrui/ucasproposal)。 18 | 19 |

20 | latexspine 21 |

22 | -------------------------------------------------------------------------------- /latexspine.tex: -------------------------------------------------------------------------------- 1 | %---------------------------------------------------------------------------% 2 | %- -% 3 | %- LaTeX Template -% 4 | %- -% 5 | %---------------------------------------------------------------------------% 6 | %- Copyright (C) Huangrui Mo 7 | %- This is free software: you can redistribute it and/or modify it 8 | %- under the terms of the GNU General Public License as published by 9 | %- the Free Software Foundation, either version 3 of the License, or 10 | %- (at your option) any later version. 11 | %---------------------------------------------------------------------------% 12 | %->> Document class declaration 13 | %---------------------------------------------------------------------------% 14 | \documentclass[UTF8]{ctexbook}% 15 | %- [fontset=]% specify font set to replace automatic detection 16 | %---------------------------------------------------------------------------% 17 | %->> Load package 18 | %---------------------------------------------------------------------------% 19 | \usepackage[paper=a4paper,margin=3cm]{geometry}% page layout 20 | \usepackage{graphicx}% support rotatebox 21 | %---------------------------------------------------------------------------% 22 | %->> Define command 23 | %---------------------------------------------------------------------------% 24 | \renewcommand{\title}[1]{\def\spinetitle{#1}}% title command 25 | \renewcommand{\author}[1]{\def\spineauthor{#1}}% author command 26 | \newcommand{\institute}[1]{\def\spineinst{#1}}% institute command 27 | \newcommand{\makespine}{% command for making spine 28 | \newpage\thispagestyle{empty}% no header and footer 29 | \linespread{1.0}% line space 30 | \heiti\zihao{-4}\centering% font property 31 | \spinetitle\vfill\spineauthor\vfill\spineinst% structure 32 | }% 33 | \setlength{\parskip}{0.2ex}% set vertical space 34 | %---------------------------------------------------------------------------% 35 | %->> Spine content 36 | %---------------------------------------------------------------------------% 37 | \begin{document} 38 | %- 39 | %-> 国科大标准样例 40 | %- 41 | \title{中\par 国\par 科\par 学\par 院\par 大\par 学\par 学\par 位\par 论\par 文\par \rotatebox[origin=c]{-90}{~\LaTeX{}~}\par 模\par 板\par {$~^{\pi}\pi^{\pi}$}}% 论文中文题目 42 | \author{莫\par 晃\par 锐}% 论文作者 43 | \institute{中\par 国\par 科\par 学\par 院\par 大\par 学}% 学校名称 44 | \makespine% 生成书脊 45 | %- 46 | %-> 展示样例 47 | %- 48 | \title{中\par 国\par 科\par 学\par 院\par 大\par 学\par 学\par 位\par 论\par 文\par 模\par 版\par \rotatebox[origin=c]{-90}{~ucasthesis~}}% 论文中文题目 49 | \author{莫\par 晃\par 锐}% 论文作者 50 | \institute{{\zihao{-5}中中\par 华国\par 人科\par 民学\par 共院\par 和大\par 国学\par} 制}% 学校名称 51 | \makespine% 生成书脊 52 | \end{document} 53 | %---------------------------------------------------------------------------% 54 | 55 | -------------------------------------------------------------------------------- /spine_sample.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohuangrui/latexspine/6dd79343e81df41d10353a7ea46d538ee58d9b57/spine_sample.pdf --------------------------------------------------------------------------------