Text Formattingtipa | Inverted Breve Accent in Math Mode

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm

tipa | Inverted Breve Accent in Math Mode

Post by juliette »

Hi,

In math mode \breve{x} gives me an x with a breve on top. However, to get an inverted breve on top, the only solution I could find was \textroundcap{x} using the tipa package. However, the x is now in roman font rather than in the math-style italics, so this x looks different from all the other x's in the equation.

Does anyone know how to get tipa symbols to appear with math style italics ? or an alternate way to get an inverted breve on top of a math symbol ?

I did also try \textroundcap{\textit{x}} , which fixes the font of the x, but makes it bigger than the x produced by \breve{x}. A picture of how it looks like is attached.


Thanks,
Juliette
Attachments
inverted-breve.jpg
inverted-breve.jpg (13.72 KiB) Viewed 6205 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

tipa | Inverted Breve Accent in Math Mode

Post by cgnieder »

You can use this idea:

Code: Select all

\documentclass{article}
\usepackage[T3,T1]{fontenc}
\DeclareSymbolFont{tipa}{T3}{cmr}{m}{n}
\DeclareMathAccent{\invbreve}{\mathalpha}{tipa}{16}

\begin{document}

\[ \invbreve{x} - \breve{x} \]

\end{document}
invbreve.png
invbreve.png (1.89 KiB) Viewed 6198 times
Regards
site moderator & package author
juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm

Re: tipa | Inverted Breve Accent in Math Mode

Post by juliette »

worked like a charm !
Thanks !!! =)
Post Reply