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 would like to align the 2nd line of my title to have the same baseline with the chapter number. What I have now is enter image description here

, but I would like to haveenter image description here

instead.

I found that the tweak in How to get multi-line chapter name with ClassicThesis package? still leave the alignment problem (and I can't comment there), which are either change the \titleformat{\chapter}[block] to \titleformat{\chapter}[hang] or the use of tabularx package, which results in enter image description here

Although it does look better, but IMHO doesn't look quite right.

My MWE:

\documentclass[english,fontsize=11pt,paper=a4,twoside,openright,titlepage,numbers=noenddot,headinclude,BCOR=5mm,footinclude=true,cleardoublepage=empty]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{tocdepth}{3}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
% Classic Thesis Style loader
\makeatother
\input{classicthesis-config.tex}
\usepackage{arsclassica}
\makeatletter
% use Latin Modern instead of Computer Modern sans serif
\renewcommand{\sfdefault}{lmss}

\makeatother

\usepackage{babel}
\begin{document}

\chapter{Conclusions and Recommendations}
\end{document}

, where by the classicthesis-config.tex is exactly the same as the LyX version in https://code.google.com/p/classicthesis/. Here, in the MWE the font is different, but I just leave that since it's not relevant.

Does anybody have an idea?

share|improve this question
    
There is no need to say thanks in your question. Just upvote any answer that you find helpful. This may be strange at first but you will get used to it. You can also accept the best answer by clicking on the check mark beside the answer. :) BTW, please always make it a habit to create a minimal working example (MWE) –  hpesoj626 Mar 12 '13 at 9:12
    
@hpesoj626 Oh, all right. I've added the MWE. –  user26939 Mar 12 '13 at 10:13
add comment

1 Answer

up vote 2 down vote accepted

One possibility would be to use \formatchapter with two minipages (one for the number, the other for the title) with bottom alignment:

\documentclass[english,fontsize=11pt,paper=a4,twoside,
openright,titlepage,numbers=noenddot,
headinclude,BCOR=5mm,footinclude=true,
cleardoublepage=empty]{scrreprt}

\input{classicthesis-config.tex}
\usepackage{arsclassica}
\usepackage{babel}
\renewcommand{\sfdefault}{lmss}

\renewcommand\formatchapter[1]{% 
  \begin{minipage}[b]{0.15\linewidth}
    \chapterNumber
  \end{minipage}%
  \begin{minipage}[b]{0.6\linewidth}
    \raggedright\spacedallcaps{#1}
  \end{minipage}
} 

\begin{document}

\chapter{Conclusions and Recommendations}

\chapter{A Really Long Example Title Spanning Three Lines}

\end{document}

An image of a title spanning two lines:

enter image description here

An image of a title spanning three lines:

enter image description here

I suppressed parts of the example code that were not relevant to the problem discussed.

share|improve this answer
    
Thanks! This works very well. The only thing I change is the second minipage width, which is from \begin{minipage}[b]{0.6\linewidth} ... to \begin{minipage}[b]{0.8\linewidth}... to allow for longer sentences per line. –  user26939 Mar 12 '13 at 15:16
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.