Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The letter \dj has its bar placed too high when used in lower case small caps, e.g.

\documentclass[a4paper]{article}
\usepackage[croatian]{babel}

\begin{document}
\textsc{\dj}
\end{document}

What do I need to add to the preamble in order to correct this?

share|improve this question
    
Welcome to TeX.sx! A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). –  egreg Mar 19 '13 at 11:06

1 Answer 1

For Croatian (and most continental European languages) it's recommended to use T1 encoded fonts; if you load also the inputenc package (and save your documents in UTF-8 encoding) you're also allowed to input characters with diacritics directly:

\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[croatian]{babel}

\begin{document}
\title{A paper}
\author{Ivica Smolić}
\maketitle

\textsc{\dj} \textsc{đ}
\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.