2

I need to modify the header for this chapter but avoiding modifications in other chapters and the ToC.

MWE:

\documentclass[11pt,letterpaper,oneside]{book}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{lipsum}
\begin{document}
\chapter{Integración del MCC con herramientas de Gestión de Mantenimiento Asistido por Computadora}
\lipsum
\end{document}

The "issue"

enter image description here

Juan David
  • 1,421
  • Use the optional argument of \chapter like \chapter[Integración del MCC ]{Integración del MCC con herramientas de Gestión de Mantenimiento Asistido por Computadora} Give optional argument a short title. –  Aug 11 '15 at 23:24
  • @HarishKumar That will change it in the ToC, too, won't it? – cfr Aug 11 '15 at 23:26
  • 1
    @cfr: certainly. Better way is to give a sensible short title. Long titles look ugly in TOC too, IMO. :) –  Aug 11 '15 at 23:28
  • @HarishKumar Oh, I agree. I was merely pointing out that it does not actually do what is asked here. And the OP might not get to decide how this goes - formatting requirements are sometimes far from sane, as we all know. – cfr Aug 11 '15 at 23:34

1 Answers1

0

As Mr. Kumar said in comments, using the optional arguments does the trick and, even when @cfr is right (This solution modify the ToC as well), I'm agree with "Long titles look bad in ToC".

MWE:

\documentclass[11pt,letterpaper,oneside]{book}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{lipsum}
\pagenumbering{gobble}
\begin{document}
\tableofcontents

\chapter[Integracion del MCC con herramientas GMAC]{Integración del MCC con herramientas de Gestión de Mantenimiento Asistido por Computadora}
\lipsum
\end{document} 

Results:

enter image description here


enter image description here


enter image description here

EDIT

The answer posted in

How can I display a short chapter name in the header and a long chapter name in the ToC?

Works perfect

Juan David
  • 1,421