I see from this answer in tex.stackexchange that to write in Tamil I need to use XeLaTeX
to compile the document.
But my case is a bit different. I am writing my thesis and my references
come from BibTeX
. At the moment I am using TexMaker
to compile my document
via
PdfLaTeX + Bib(la)tex + PdfLaTex(x2) + View Pdf
I see that there exists an option for XeLaTex, but this is without
Bib(la)tex
for my reference.
I just need to write one sentence in Tamil in the entire document, is there an easy solution to this?
Best Answer
Following Ulrike's suggestion, and my code at create latex symbol from vector graphics. To get
phrase1.jpg
, I just cropped the title to this page. To getphrase2.jpg
, I croppedphrase1
, so as to demonstrate the method when the descenders are different for each phrase (only change is the\raisebox
argument).The
scalerel
approach adopted will scale the graphics to the height of a letterX
, regardless of the current font size.If, instead of cropping jpgs with different top/bottom cut lines, you use Xelatex to to create a
standalone
PDF of\strut<Tamil word or phrase>
with minimal margin, then each implementation of of\phraseX
will use the identical\raisebox
parameters. Furthermore, the image, deriving from a vector graphic PDF, should scale without pixelation.