4
votes
2answers
359 views

How to cut chapter title in header using xstring

I need to cut the chapter title that appears at page headers. I'm developing a latex generator software (http://github.com/caelum/tubaina, new contributors are welcome!), and because of ...
9
votes
4answers
3k views

How to cut a section title in the header

I redefine my headers as in the following MWE: \documentclass[12pt]{article} \usepackage{xstring} \usepackage{fancyhdr} \fancypagestyle{monstyle}{% \fancyhf{} % remove everything ...