I'm trying to write an integral with upper and lower bounds denoted with over- and under-bars respectively. The issue is that because the integral is slanted, it makes it hard to line up the symbols correctly. \underaccent
works beautifully (maybe accidentally) to line up the letter and the bar, but \bar
puts the accent too far to the left. See below
\documentclass{beamer}
\usepackage{amsmath}
\usepackage{accents}
\begin{document}
\begin{frame}{My Integral}
\[
\int_{\underaccent{\bar}{c}}^{\bar{ c}} x(c_j) dF(c_j)
\]
\end{frame}
\end{document}
It seems like there should be a way to move the bar over... but my attempts to recenter the bar using added white space were foiled by math mode's removal of spaces. I'd love to hear your thoughts.
\documentclass
and ending with\end{document}
.\[
…\]
preferable to$$
…$$
?