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.

How can I get the style like:


chapter 1

bla bla bla bla ...

bla bla bla bla ...


A paragraph before chapter title --- this line is precisely on place where the first line of the other pages start.

the second line

chapter 2

bla bla bla bla ...


chapter 3

bla bla bla bla ...


This question is concerned with Why chapter label below the section label on new page even if by setting same spacing before title (use titlesec package)?

Edit (for Yiannis) Thanks. However, that isn't my demand. See below enter image description here.

share|improve this question

1 Answer 1

Use the epigraph package.

Edit:

To remove unwanted space use \beforeepigraphskip=0pt. Here is a minimal:

\documentclass{book}  \usepackage[papersize={200pt,270pt}]{geometry}
\usepackage{epigraph}
 \usepackage{titlesec} \titleformat{\chapter}{\Large\bfseries}{Ch. \thechapter}{0em}{} \titlespacing*{\chapter}{0pt}{0pt}{0pt}
 \begin{document} 
\chapter{abc}\beforeepigraphskip=0pt
\epigraphhead[20]{\epigraph{Paragraph an more writing}{a}}

% \tt % \meaning\epigraph \newpage abc \end{document}

Uncomment the \meaning\epigraph to see the macro for \epigraph. This method of debugging is normally quicker than reading through manuals for obvious situations like this.

share|improve this answer
    
@Yiannis: \epigraphhead[70]{\epigraph{paragraph}{}} coundn't put the paragraph precisely on place where the first line of the other pages start. –  dearmath May 19 '11 at 3:55
    
@dearmath It can be a setting for epigraph or due to topskip, try \topskip=0pt before you type the epigraph command. Even better post a minimal, if you still have a problem. –  Yiannis Lazarides May 19 '11 at 4:21
    
@Yiannis: \documentclass{book} \usepackage{epigraph} \usepackage[papersize={200pt,270pt}]{geometry} \usepackage{titlesec} \titleformat{\chapter}{\Large\bfseries}{Ch. \thechapter}{0em}{} \titlespacing*{\chapter}{0pt}{0pt}{0pt} \begin{document} \chapter{abc} \topskip=0pt\epigraphhead[20]{ \topskip=0pt\epigraph{paragraph}{a}} \newpage abc \end{document} How to choose the value of \epigraphhead's opt arg? i.imgur.com/x6Ggw.png –  dearmath May 19 '11 at 4:36
    
@dearmath Had a look at the package add \beforeepigraphskip=0pt. –  Yiannis Lazarides May 19 '11 at 9:29
    
@Yiannis: Sorry, I don't understand what you mean. Would you provide me an example? –  dearmath May 19 '11 at 9:35

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.