7

If I write ďalej or ťaťa, there is a little space after characters ď and ť (and also ľ). Is it possible to remove this space ?

I'm using cp1250 encoding and Slovak babel.

Can somebody help, please ?

Here's the code:

\documentclass[dp]{FEIstyle}
\usepackage[slovak]{babel}
\usepackage[cp1250]{inputenc}
\usepackage[T1]{fontenc}

\begin{document}
ďalej ťa
\end{document}

Image

  • 4
    Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – egreg May 20 '14 at 12:27
  • I've added the code – user2778945 May 20 '14 at 15:25
6

The kerning in the European Modern fonts is not ideal, I'm afraid. You solve the issue by loading the Latin Modern fonts:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[cp1250]{inputenc}
\usepackage[slovak]{babel}
\usepackage{lmodern}

\begin{document}
ďalej ťa
\end{document}

enter image description here

  • thanks. But when I use \usepackage{lmodern}, the font changes. Is it somehow possible to do it without changing font to latin modern ? – user2778945 May 20 '14 at 17:23
  • @user2778945 No, I'm afraid. However the differences between Latin Modern and Computer (or European) Modern fonts are not that big; since the former have better glyphs for Slovak… – egreg May 20 '14 at 17:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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