Code: Select all
\documentclass{report}
\usepackage{amsmath}
\usepackage{tipa}
\begin{document}
$\cos\!\left(\frac{r}{\textrm{\textcrlambda}_{SP}}\right)$
\end{document}
Code: Select all
\documentclass{report}
\usepackage{amsmath}
\usepackage{tipa}
\begin{document}
$\cos\!\left(\frac{r}{\textrm{\textcrlambda}_{SP}}\right)$
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
In other words, by default, tipa redefines \!. To restore its original meaning, load tipa as follows:TIPA defines \*, \:, \; and \! as special macros in order to easily input phonetic symbols that do not have a shortcut character explained above. Before explaining how to use these macros, it is necessary to note that these macros are primarily intended to be used by linguists who usually do not care about things in math mode. And they can be ‘dangerous’ in that they override existing LaTeX commands used in the math mode. So if you want to preserve the original meaning of these commands, declare the option ‘safe’ at the preamble.
Code: Select all
\usepackage[safe]{tipa}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis