LaTeX技巧77:如何调整章节标题编号和标题的距离

标签:
latex距离章节标题编号标题 |
分类: 小技巧 |
QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载
解决示例代码:
\documentclass{article}
\usepackage{times}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{207.0pt}
\makeatletter
\renewcommand\@seccntformat[1]{\fbox
\makeatother
\begin{document}
\section{This is correct}\label{sec:OK}
Referencing a section using this
definition generates the correct result
for the section reference~\ref{sec:OK}.
\end{document}
效果图: