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.

I'm having problems with a ezthesis.

1- This is my fourth chapter and only in this one, my header (Example, Nº4) starts near to the middle of the page, when the other starts near the top.

2- I use the following code (taken from here) to define my quotes, and in my case, as the images shows, the author appears separated from the quotes, when in the original example is appears on the next line. Here is the code:

\documentclass[oneside,numbers,a4paper,spanish]{ezthesis}
\usepackage[Bjornstrup]{fncychap}
\author{}
\title{}
\degree{}
\supervisor{}
\institution{}
\faculty{}
\department{}
\hyperlinking
\begin{document}
\include{Chapters/titlepage}
\include{Chapters/Ch1}
\include{Chapters/Ch2}
\include{Chapters/Ch3}
\include{Chapters/Ch4}
\include{Chapters/Ch5}

And this is my Chapter 4:

\makeatletter
%%\renewcommand{\@chapapp}{}% Not necessary...
\newenvironment{chapquote}[2][2em]
  {\setlength{\@tempdima}{#1}%
   \def\chapquote@author{#2}%
   \parshape 1 \@tempdima \dimexpr\textwidth-2\@tempdima\relax%
   \itshape}
  {\par\normalfont\hfill--\ \chapquote@author\hspace*{\@tempdima}\par\bigskip}
\makeatother

\chapter{Example}

Here is a line before the quotes

\begin{chapquote}{Lewis Carroll, \textit{Alice in Wonderland}}
``Begin at the beginning,'' the King said, gravely, ``and go on till you
come to an end; then stop.''
\end{chapquote}

How can I solve this issues?

Thanks in advanced! Spacing

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Not an answer!. Just to show the importance of MWE (Comment area sucks for codes):

This works:

\documentclass[oneside,numbers,a4paper,spanish]{ezthesis}
\usepackage[Bjornstrup]{fncychap}
\author{}
\title{}
\degree{}
\supervisor{}
\institution{}
\faculty{}
\department{}
\hyperlinking

\makeatletter
%%\renewcommand{\@chapapp}{}% Not necessary...
\newenvironment{chapquote}[2][2em]
  {\setlength{\@tempdima}{#1}%
   \def\chapquote@author{#2}%
   \parshape 1 \@tempdima \dimexpr\textwidth-2\@tempdima\relax%
   \itshape}
  {\par\normalfont\hfill--\ \chapquote@author\hspace*{\@tempdima}\par\bigskip}
\makeatother

\begin{document}
\chapter{one}
\chapter{two}
\chapter{three}
%\chapter{four}
\chapter{Example}

Here is a line before the quotes

\begin{chapquote}{Lewis Carroll, \textit{Alice in Wonderland}}
``Begin at the beginning,'' the King said, gravely, ``and go on till you
come to an end; then stop.''
\end{chapquote}

\end{document}

enter image description here

Bottom line: Nobody has a crystal ball.

share|improve this answer
    
thanks! I make some changes in text and the quotes adapted themselves. Header chapter is still a little above but I suppose it's better now. –  nachogsiri Sep 17 '12 at 2:03
add comment

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.