第一个样式:
\usepackage[Lenny]{fncychap}
还有其他样式参考这里:
\documentclass{report}
%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
\usepackage[Sonny]{fncychap}
\begin{document}
\chapter{Sonny}
\end{document}
第二个样例:
\usepackage[avantgarde]{quotchap}
\renewcommand\chapterheadstartvskip
{\vspace*{-5\baselineskip}}
% select Helvetica for title and quote
\usepackage{helvet}
\renewcommand\sectfont{\sffamily\bfseries}
第三个样例:
\usepackage[sf,bf,tiny,center]{titlesec}
\titlelabel{\thetitle.\enspace}
第四个样例:
\usepackage[rm,it,raggedleft,tiny,compact]{titlesec}
\titleformat*{\subsubsection}{\scshape\MakeLowercase}
第五个样例:
\usepackage{titlesec}
\titleformat{\section}[runin]{\normalfont\scshape}
{\S\,\oldstylenums{\thesection}.}{.5em}{}[.\quad]
第六个样例:
\usepackage{titlesec}
\titleformat{\section}[frame]{\normalfont}
{\footnotesize \enspace SECTION \thesection
\enspace}{6pt}{\large\bfseries\filcenter}
\titlespacing*{\section}{1pc}{*4}{*2.3}[1pc]
第七个样例:
\usepackage{titlesec}
\newcommand\secformat[1]{%
\parbox[b]{.5\textwidth}{\filleft\bfseries #1}%
\quad\rule[-12pt]{2pt}{70pt}\quad
{\fontsize{60}{60}\selectfont\thesection}}
\titleformat{\section}[block]
{\filleft\normalfont\sffamily}{}{0pt}{\secformat}
\titlespacing*{\section}{0pt}{*3}{*2}[1pc]
第八个样例:
\usepackage[noindentafter,calcwidth]{titlesec}
\titleformat{\section}[display]
{\filright\normalfont\bfseries\sffamily}
{\titleline[r]{Section \Huge\thesection}}{1ex}
{\titleline*[l]{\titlerule[1pt]}\vspace{1pt}%
\titleline*[l]{\titlerule[2pt]}\vspace{2pt}}
[{\titleline*[l]{\titlerule*{\tiny\LaTeX}}}]
\titlespacing{\section}{1pc}{*3}{*2}