Bonjour,
I would like to combine glyphs using xelatex : the glyphs are: U+0947
and U+093D if I write \symbol{"0947}\symbol{"093D}, I get the two glyphs
side by side, the first one with a dotted circle below.
What I want is the first one combined with the second one ie. the first
one above th
Bonjour
avagraha is an independent vowel thus it IMHO cannot be combined with
a matra but it works fine with consonants, try this:
\documentclass{article}
\usepackage{fontspec}
\parskip 2\baselineskip
\setmainfont[Script=Devanagari]{FreeSans}
\begin{document}
\symbol{"0947}\symbol{"093D} wrong
\
Hello
The more language-specific elegant solution has I think been provided by
Zdenek Wagner, but if it's ever desired to superimpose glyphs that don't
naturally coalesce, I use the following (in plain XeTeX but it should work
in LaTeX too):
\def\overstrike#1#2{\leavevmode
\setbox0=\hbox{#1}\
Le 2024-03-11 00:11, Zdenek Wagner a écrit :
Bonjour
avagraha is an independent vowel thus it IMHO cannot be combined with
a matra but it works fine with consonants, try this:
Thank you for this answer. I would like to reproduce the sign used to
note a pluta in devanagari text (I attach an im
I'm afraid not or at least not easily. The matras are present in the
font without the dotted circle but the circle is present in the font
as a glyph which is inserted by the shaping engine if matra is used
without the consonant. Thus the solution suggested by John Waś will
not work because you will
Hello
Hmm. Would it work if in the \overstrike argument you put in a ghost
consonant by enclosing it in \phantom{} - so it is present as far as TeX is
concerned but not actually output visibly?
But alas, I have no experience of handling these exotic fonts.
Best
John *🇪🇺 * Слава Україні!
* 🇺🇦*
What you ask is easy, at least with NewComputerModern fonts.
For this task you just need to disable the Script. It is the Script
that puts the dotted circle not the font or xelatex.
Now since what you want is not supported by the Script for Devanagari
you may need some horizontal adjustment with
Thank you, removing the "script" solves the problem:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{FreeSans}
\begin{document}
ऽे
\end{document}
Zdeněk Wagner
https://www.zdenek-wagner.eu/
po 11. 3. 2024 v 11:13 odesílatel Antonis Tsolomitis
napsal:
>
>
>
> What you ask is easy, at