发布时间:2009-11-19 14:45:40
文章类别:页面设置
原文地址:http://blog.sina.com.cn/s/blog_5e16f1770100g3pf.html
QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载
示例一:
\documentclass{article}
\usepackage{times}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{135.0pt}
\usepackage{titletoc}
\titlecontents{section}[0pt]{\addvspace{2pt}\filright}
\begin{document}
\contentsline{section}{\numberline{12.8}Some section that
\contentsline{section}{\numberline{12.9}Another section}{88}
\contentsline{section}{\numberline{12.10}And yet another
\contentsline{section}{\numberline{12.11}Final
section}{92}
\end{document}
效果图:
示例二:
\documentclass{article}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{135.0pt}
\makeatletter
\renewcommand\l@subsection{\@dottedtocline{2}{1.5em}{3em}}
\makeatother
\begin{document}
\contentsline{section}{\numberline{10}A-Head}{3}
\contentsline{subsection}{\numberline{10.9}B-Head}{4}
\contentsline{subsection}{\numberline{10.10}B-Head}{4}
\end{document}
效果图:
示例三:
\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{207.0pt}
\setlength\textheight{17\baselineskip}
% For the book examples we shorten the vertical spaces
% and make the headings smaller:
\makeatletter
\renewcommand\section{\@startsection
{section}{1}{\z@}%
\makeatother
\setcounter{page}{1}
\makeatletter
\renewcommand\ext@table{lof}
\makeatother
\renewcommand\listfigurename
\begin{document}
\listoffigures
\section{A Section}
Some text \ldots
\begin{table}[b]
\end{table}
Some text referencing
figure~\ref{fig} \ldots
\begin{figure}
\end{figure}
\end{document}
效果图:
发表评论 取消回复