Why the hell am I getting those freaky overflows in the headings???
Still, the serbian-cyrillic hyphenation works well in the text!!!
P.S.
I use XeLatex packages (mainly fontspec & polyglossia), so I put this topic in this topic, hope it's the correct location.
Page Layout ⇒ Text overflow in the heading
Text overflow in the heading
- Attachments
-
- Историја Византиског Царства.tex
- History of the Byzantine Empire
- (43.99 KiB) Downloaded 257 times
Last edited by AleCes on Sat Nov 20, 2010 2:04 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Text overflow in the heading
Maybe because XeLaTex processes headings before it loads Polyglossia??? So that strings that are correctly hyphenated in the main text happen not to be so in the headings.
How to work this out??? Somebody knows?
How to work this out??? Somebody knows?

Text overflow in the heading
Do you mean in the headers? Headers aren't usually wrapped. Instead, people typically use the optional option to \chapter, \section, etc., to specify a shorter version of the chapter title that will fit in the header:
Code: Select all
\chapter[short chapter title]{full chapter title}
Text overflow in the heading
Yeah, heading, header, headline, whatever you might call it! But what do you mean by wrapped? You mean they are not hyphenated by default?
Regardless, thanks to your workaround, I don't get overflows any more!!!
Regards
Regardless, thanks to your workaround, I don't get overflows any more!!!

Regards
- Attachments
-
- Историја Византиског Царства.pdf
- No more overflows!
- (107.99 KiB) Downloaded 298 times
Text overflow in the heading
In the vocabulary I use, a "header" is the part printed at the top o the page, on every page, and often contains the current chapter name and page number. A "heading" or 'title" on the other hand is printed at the beginning of a chapter or section where it first begins. A section heading may be in the middle of the page. These are different things and are treated using different commands, so it's important to be clear.AleCes wrote:Yeah, heading, header, headline, whatever you might call it!
"Headline" is even more ambiguous.
I mean they are printed on a single line, and not broken onto multiple lines. Obviously, there's no question of hyphenation if it's all on a single line.But what do you mean by wrapped? You mean they are not hyphenated by default?
If you wanted then wrapped onto multiple lines (hyphenated or not), you could perhaps use a parbox in the headers. Let us know if that's something you want to pursue. It's tricky though since it seems as if the header would have to be different sizes on different pages.
Text overflow in the heading
Thank you for your clarifications!
You'd understand that, since I'm not a native speaker, my english is not so good!
So if you are an administrator, please replace heading by header in the topic title, since my problem was about headers properly speaking, not headings.
As far as headers wrapped in two lines are concerned, this would be a rather fancy typographical solution, never seen it in a printed book.
What actually happens in printed books, it's that headers are not small caps as in the standard LaTex document class book, but rather regular text in a very tiny size (around 6pt maybe) in order to be contained in a single line.
That would interest me, but I think it'd be better to start a new topic about it.


As far as headers wrapped in two lines are concerned, this would be a rather fancy typographical solution, never seen it in a printed book.
What actually happens in printed books, it's that headers are not small caps as in the standard LaTex document class book, but rather regular text in a very tiny size (around 6pt maybe) in order to be contained in a single line.
That would interest me, but I think it'd be better to start a new topic about it.