3
votes
1answer
52 views

Latex use other languages in section title

I am writing in english, greek babel and I have custom commands to change between languages. The problem is that I can change to english for example, anywhere in my text except in \chapter{}, ...
0
votes
1answer
162 views

Chinese character \cjk within \section{} does not work using pdflatex, + \includegraphics

Why does the following not work \section{ \begin{CJK}{UTF8}{gbsn} 白居易 \end{CJK}} It works when I use it in the main text, but does not work within \section{xxx}. Same applies to the following case ...
6
votes
3answers
192 views

Special non-standard font sizes for different types

The more I read about fontsizes in LaTeX, the more confused I've become. I don't know how to meet my requirements, which are the following: text = 11pt --> This works. footnotes = 9pt --> This ...
4
votes
1answer
94 views

Passing normal title to the pdf bookmark

I am writing a document and a section as a very long title troubling my header. To work around this, I am using the short title like this: \section[bla]{blablabla} This works fine for the header, ...
7
votes
2answers
225 views

pdflatex endless loop and page headings wrong aligned with dateiliste/babel [closed]

In the following code the heading is wrong aligned if babel and dateiliste are loaded together. Furthermore the whole MWE goes into an endless loop if the first line is removed. % remove to let ...
4
votes
1answer
8k views

“Missing \endcsname inserted” and other errors when trying to align title section

I want to somehow align section headings: unnumbered should be centerized; numbered should be aligned left and indented. I'm just trying to compile an example ...