Fonts & Character Sets ⇒ tipa | Setting Accents above and below
-
- Posts: 3
- Joined: Tue Jun 21, 2011 4:19 pm
tipa | Setting Accents above and below
How do I add accents/diacritics both above and below a single vowel at the same time (e.g., macron and subbar, or tilde and subbar)?
Last edited by tutuventaqa on Wed Jun 29, 2011 11:19 am, edited 2 times in total.
tipa | Setting Accents above and below
Assuming you've loaded the tipa package, just use parentheses to combine the two marks. For example, to put a tilde (\~) above and a subbar (\=*) below an e:
Code: Select all
\textipa{\~{\=*e}}
-
- Posts: 3
- Joined: Tue Jun 21, 2011 4:19 pm
Re: tipa | Setting Accents above and below
Many thanks - I'm new to TIPA, but this worked.
Another question: vowel glottalization appears in some IPA conventions with an apostrophe above the vowel. Is there a way to produce this in TIPA--I've tried several possibilities using \*' but without success so far.
Another question: vowel glottalization appears in some IPA conventions with an apostrophe above the vowel. Is there a way to produce this in TIPA--I've tried several possibilities using \*' but without success so far.
tipa | Setting Accents above and below
It's possible that what you're looking for already exists as a special command. You should read the TIPA manual (PDF) to see if it does (look especially in Appendix A). Otherwise you could create a new command in your preamble, call it apsup, like this:
The [.6ex] part controls the height of the apostrophe above the vowel. Then in your document you'd use it like this to put an apostrophe over an a:
This will shrink the size of the apostrophe. If you want a full-size apostrophe above a vowel, you could use the \tipaUpperaccent command directly. Here's a comparison of the output in each case:
Code: Select all
\newcommand{\apsup}[1]{\textipa{\tipaUpperaccent[.6ex]{%\lower.8ex\hbox{\super{'}}}{#1}}}
Code: Select all
\textipa{\apsup{a}}
Code: Select all
\textipa{\apsup{a} \tipaUpperaccent[.3ex]{'}{a}}
-
- Posts: 3
- Joined: Tue Jun 21, 2011 4:19 pm
Re: tipa | Setting Accents above and below
Thank you! The tipa manual I had was an earlier version. The new one does not contain a specific command for this symbol, but the command string you supplied works wonders.