Text Formatting ⇒ Bar above and below character
-
- Posts: 3
- Joined: Sun Aug 30, 2015 11:24 pm
Bar above and below character
Thanks!
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
Bar above and below character
Do you need text accents or math accents?
Code: Select all
\documentclass{article}
\begin{document}
Text: \b{v} \={v} \b{\={v}}
Math: $\underline{v}$ $\bar{v}$ $\underline{\bar{v}}$
\end{document}
\underbar
but its contents are placed in text mode so it's not suitable for mathmode.There's also the accents package for a math underbar (and other things):
Code: Select all
\documentclass{article}
\usepackage{accents}
\begin{document}
Math: $\underaccent{\bar}{v}$ $\underaccent{\bar}{\bar{v}}$
\end{document}
-
- Posts: 3
- Joined: Sun Aug 30, 2015 11:24 pm