Re: [NTG-context] How to make an accent
![](https://secure.gravatar.com/avatar/30ef4fea8acc9a4c7a392675260cfcb9.jpg?s=120&d=mm&r=g)
On 01.11.2009 13:00, ntg-context-request@ntg.nl wrote:
If there is no suitable letter in Unicode you may: - try to use Unicode accent combining characters and complain if it doesn't work - this used to work not so long ago (well, during BachoTeX Hans has fixed it), but the second example behaves weird again: \buildtextaccent\textcircumflex{y} \buildtextaccent\textcircumflex{\schwa} so try with your letters and report if you stumble into problems problems.
Thanks. But before i try something weird, i want to explain. I need an accent to indicate where pronunciation stress is. Is happens on Cyrillic "а" letter: Апроксимація (approximation) So my goal is not to form a special letter, but to show a linguistic feature of the word. Maybe we have better way to do this? Regards, Vyatcheslav
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Sun, Nov 1, 2009 at 14:11, Vyatcheslav Yatskovsky wrote:
On 01.11.2009 13:00, ntg-context-request@ntg.nl wrote:
If there is no suitable letter in Unicode you may: - try to use Unicode accent combining characters and complain if it doesn't work - this used to work not so long ago (well, during BachoTeX Hans has fixed it), but the second example behaves weird again: \buildtextaccent\textcircumflex{y} \buildtextaccent\textcircumflex{\schwa} so try with your letters and report if you stumble into problems problems.
Thanks. But before i try something weird, i want to explain. I need an accent to indicate where pronunciation stress is. Is happens on Cyrillic "а" letter:
Апроксимація (approximation)
So my goal is not to form a special letter, but to show a linguistic feature of the word. Maybe we have better way to do this?
1. you can do \def\myacute#1{\buildtextaccent\textacute{#1}} Апроксим{\myacute а}ція 2. of course you can also define an ugly shortcut: \catcode`'=\active \let\'=\myacute Апроксим\'ація 3. though in reality I would be most grateful if \'а would work out of the box (at least it mkiv) and generate accent over whatever letter comes next. If glyph doesn't exist, it could just place one over a. Mojca
participants (2)
-
Mojca Miklavec
-
Vyatcheslav Yatskovsky