I'm using Tex Live, under Ubuntu 11.11, and Texmaker to create LaTeX source files. Sometimes I edit these files with Krviewer from Krusader, but I pay attention to use the input encoding latin10 (or ISO 8859-16). My layout keyboard is Romanian standard, which correctly produces Romanian diacritics with comma below (as in latin10).

In the document preamble I use


The output pdf file correctly renders the characters, with comma below, but thy are not find by the search engine and they are not copied correctly to the keyboard. For example: if I copy the word știință it will paste s , tiint , ă, this being the reason why it wont't be found by the search engine of the pdf reader.

Any suggestions, please?

1 Answer 1


Unfortunately, the T1 encoding doesn't have the Romanian characters s and t with comma below, so they are faked by placing a comma under a normal s or t.

This has the consequence that the characters "ș" and "ț" are not really there.

A possible workaround (but with many limitations), is to switch to UTF-8 and use the accsupp package:


% Define code for the Romanian characters
    \textcommabelow S%
    \textcommabelow s%
    \textcommabelow T%
    \textcommabelow t%




If you compile this (saved in UTF-8) encoding, then some PDF viewers (I tried Adobe Reader 9) will recognize the characters.

  • 2
    Might moving to utf-8 (perhaps with Xe/LuaTeX) solve this? Commented Jan 27, 2012 at 23:03
  • Xe/LuaTeX would be a solution, of course.
    – egreg
    Commented Jan 27, 2012 at 23:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .