Latex如何设置标题样式、标题大孝标题间隔
(2019-10-10 17:04:45)分类: 论文写作 |
https://zhuanlan.zhihu.com/p/32712209?from_voters_page=true
设置标题格式
\usepackage{titlesec} %自定义多级标题格式的宏包
\titleformat{\section}[block]{\LARGE\bfseries}{Sec.\arabic{section}}{1em}{Hello:
}[]
\titleformat{\subsection}[block]{\Large\itshape\mdseries}{\arabic{section}.\arabic{subsection}}{1em}{}[]
\titleformat{\subsubsection}[block]{\normalsize\bfseries}{\arabic{subsection}-\alph{subsubsection}}{1em}{}[]
\titleformat{\paragraph}[block]{\small\bfseries}{[\arabic{paragraph}]}{1em}{}[]