How can one create a symbol with a bar over it in brackets? As in:
Code: Select all
\bar{\nu}
Code: Select all
\bar{\nu}
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\begin{document}
\( \left[\bar{\nu}\right] \)
\end{document}
Code: Select all
\overset{(-)}{\nu}
Your original code has been a bit misleading. Try something with the help of the accents package.mjmottram wrote:I may have missed something, but your reply doesn't do what I asked about. […]
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{accents}
\newcommand*{\bbar}[1]{\accentset{[-]}{#1}}
\newcommand*{\pbar}[1]{\accentset{(-)}{#1}}
\begin{document}
\(
\bbar{\nu}
\)
\(
\pbar{\nu}
\)
\end{document}