Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

As fncychap has no such chapter style, and using the memoir class will cause a lot conflicts with my current settings (book class), how to make this style (perhaps using the titlesec package)?

Table of contents and Chapter style:

enter image description here and I

Here are my setting for chapters:

\usepackage[ ]{titlesec}  
\titleformat{\chapter}[display]
{\normalfont\LARGE\bfseries }{\chaptertitlename\  \thechapter}{10pt}{\huge}
\titlespacing*{\chapter}{0pt}{40pt}{40pt}  % left, vertical, skip
share|improve this question

2 Answers 2

up vote 11 down vote accepted

Here's a way with titlesec; I also used microtype for spacing the small caps.

\documentclass{book}
\usepackage{titlesec,microtype}

\titleformat{\chapter}[display]
 {\normalfont\normalsize\scshape}
 {\makebox[\textwidth]{\titlerule[0.8ex]\quad\textls{\chaptername}\ \thechapter\quad\titlerule[0.8ex]}}
 {1ex}
 {\titlerule\vspace{1ex}\centering\huge\textls[50]}
 [\titlerule]

\titleformat{name=\chapter,numberless}[display]
 {\normalfont\normalsize\scshape}
 {\makebox[\textwidth]{\titlerule[0.8ex]}}
 {1ex}
 {\titlerule\vspace{1ex}\centering\huge\textls[50]}
 [\titlerule]

\begin{document}

\chapter*{Contents}

\chapter{FETCH Automated Verification and Validation}

\end{document}

numberless chapter

numbered chapter

share|improve this answer
    
thanks! Could you please add the style for "Table of contents" and "List of figures", etc? –  KOF Mar 18 at 15:30
    
@KOF Done, it's quite easy, after all. –  egreg Mar 18 at 15:30
    
Well, how to make the chapter Title bold without \scshape? –  KOF Mar 18 at 15:50
    
@KOF Use \bfseries instead of \scshape; also remove \lsstyle and \textls[50] –  egreg Mar 18 at 15:52
    
It works but Contents and List of Figures remain un-bold, how come? ---> I figured this out. –  KOF Mar 18 at 16:10

Another way using titlesec with explicit option:

\documentclass{book}

\usepackage{lipsum} % just for the example

\def\hrulefillthick{\leavevmode\leaders\hrule height3pt\hfill\kern0pt}

\usepackage[explicit]{titlesec}

\titleformat{\chapter}[display]
{\normalfont\normalsize\scshape}
{\hrulefillthick\hspace*{.5cm}\chaptertitlename\  \thechapter\hspace*{.5cm}\hrulefillthick}
{5pt}
{\titlerule\centering\huge#1}
[\titlerule]

\titleformat{name=\chapter,numberless}[display]
{\normalfont\normalsize\scshape}
{\hrulefillthick}
{5pt}
{\titlerule\centering\huge#1}
[\titlerule]

\begin{document}

\tableofcontents

\chapter{FETCH Automated Verification and Validation}
\lipsum[1-3]
\end{document}

enter image description here

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.