LaTeX forum ⇒ Fonts & Character SetsStreamlining of font-shape/heights from different languages

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Posts: 2
Joined: Wed May 25, 2016 11:09 am

Streamlining of font-shape/heights from different languages

Postby gyaltenjigdrel » Wed May 25, 2016 11:15 am

Dear Fellow TeX enthusiasts,

Thanks very much for help with solving earlier problems with the Devanagari Package. I'm working without KOMA-Scripts for the moment in Xelatex/Xetex and am trying to align Devanagari, the (Standard) Roman Font Family, Cyrillic and the Tibetan script so that

(a) they are vertically aligned on the "head"-line of the font (rather than on the baseline) --- it seems that The cyrillic (Linux Libertine) is automatically aligned with the standard Roman setting of the TeX. If necessary, I would make the Tibetan and Devanagari fonts a wee bit smaller, but don't quite know how (e.g. scaling=0.8?)

(b) spacing between lines is not affected by the use of different writing systems/Font - if anybody knows how to align this one, too, I would be really grateful :-) different scripts.

(c) Font for the main text in Sanskrit should be Sanskrit 2003, and the Font for Sanskrit in the Footnotes should be the AA Nagari Shree Font (also aligned with Roman and Tibetan and Russian). Would you maybe know how I do this?

Minimal working example follows:
  1. \documentclass[12pt,a4paper]{report}
  2. \usepackage{polyglossia} %
  4. \usepackage[hyphens]{url}
  7. \setmainlanguage{english}
  8. \setotherlanguages{hindi,tibetan,russian}
  9. \newfontfamily\devanagarifont[Script=Devanagari,Mapping=velthuis]{Sanskrit 2003}
  10. \newfontfamily\tibetanfont[Script=Tibetan,Mapping=wylie]{DDC Uchen}
  11. \newfontfamily\russianfont[Script=Cyrillic]{Linux Libertine}
  13. \PolyglossiaSetup{tibetan}{
  14. script=Tibetan,
  15. scripttag=tibt,
  16. hyphennames={nohyphenation},
  17. fontsetup=true
  18. %TODO localalph={xxx@alph,xxx@Alph}
  19. %TODO localdigits=tibetannumber
  20. }
  22. \begin{document}
  23. How can we integrate the alignment and sizes of the roman, sanskrit and Tibetan characters?\begin{hindi}{d.r.s.tvaa si.mha.m karmaphalam\footnote{.r.siswaami.h}} \end{hindi} {\begin{tibetan}{'i.zhing.khams.'dir|\footnote{smon.lam.'} \end{tibetan} and Roman letters in comparison finally test Russian \begin{russian}{вот это тест посмотрим как это в конце концев будет} \end{russian}
  24. \end{document}

User avatar
Site Moderator
Posts: 3584
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed May 25, 2016 6:45 pm

Hi and welcome,

can you share Download Links to the fonts, or replace the fonts you want to use with some open and freely downloadable links (if the previous should be non-free)?

A normal european user, the chance of having those fonts laying around is low. Once we have the fonts, we can hopefully test your example.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: No registered users and 2 guests