Fonts & Character SetsSubsection Language Problem

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
marwroc
Posts: 2
Joined: Sat Sep 03, 2011 2:45 am

Subsection Language Problem

Post by marwroc »

Hi, I work with LaTeX on Windows XP (MiKTeX 2.8, LEd 0.53) and I use Polish fonts that has several unusual letters like "ą, ż, ć" etc. I work in `book` mode and the problem is that I don't get Polish letters in subsections titles. Everything is fine in normal text, chapters titles and sections titles but it doesn't work with subsections. ;/ Does anybody know how to solve this problem?

the example:

\section{Piękny dzień}
%%% result:
2.1 Piękny dzień <---- it's OK

\subsection{Piękny dzień}
%%% result:
2.1.1 Pikny dzie <---- it's not OK, the special characters disappeared

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Subsection Language Problem

Post by localghost »

No problem here.

Code: Select all

\documentclass[11pt,a4paper,polish]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}

\begin{document}
  \section{Piękny dzień}
    \subsection{Piękny dzień} 
\end{document}
Well then?

And by the way, it would be very kind if you mention when doing a crossposting [1]*. This is only fair because it prevents others from double efforts and waste of time.


* According to the rules you are obliged to do so.

[1] {TeX} SE – Subsection language problem


Best regards and welcome to the board
Thorsten
marwroc
Posts: 2
Joined: Sat Sep 03, 2011 2:45 am

Re: Subsection Language Problem

Post by marwroc »

I'm really sorry. I had a deadline and I couldn't find or get any clues on other forums. My code look joust like your and that's why it was weird for me. Neverthless I "solevd" this problem. As i said I work with windows, so maybe there were some problems with MikTex's and LEd's compatibility. I've installed diffrent MikTex's versions, reconfigured LEd and after many attempts it has finally started work. Thanks for your answer and one more time I'm sorry for crossposting.
Post Reply