Math & Scienceutilde + array = confusing

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
acire
Posts: 4
Joined: Wed Sep 29, 2010 12:23 pm

utilde + array = confusing

Post by acire »

Hello,

my question is about symbols with an 'undertilde' (\utilde{a}) stacked in an array. utilde in a normal equation looks fine. But as soon as put it in an array, the utilde shifts up with respect to the symbol. In the case of \utilde{a} the tilde is printed over the bottom of the 'a'. Not so nice :(.

Does anybody have a nice suggestion how to solve this.

grtz from (finally sunny :)) the Netherlands,

Erica

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

utilde + array = confusing

Post by localghost »

Please build a full but minimal example that is compilable as provided.


Thorsten
acire
Posts: 4
Joined: Wed Sep 29, 2010 12:23 pm

Re: utilde + array = confusing

Post by acire »

I am sorry. Here is an example:

\documentclass[12pt]{article}
\usepackage{undertilde}
\begin{document}
\begin{equation}
\utilde{a} \utilde{f}
\end{equation}
\begin{equation}
\left[\begin{array}{c}
\utilde{a}\\ \utilde{f}
\end{array}\right]
\end{equation}
\end{document}

In the first equation, the distance between the 'a' and the 'f' is okay.
In the second equation, in the column, the tilde-character distances are charged. How can I control this distance?

many thanks in Advance.

Erica
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

utilde + array = confusing

Post by localghost »

It works better with the accents package.

Code: Select all

\documentclass[12pt]{article}
\usepackage{accents}

\begin{document}
  \begin{equation}
    \undertilde{a} \undertilde{f}
  \end{equation}
  \begin{equation}
    \left[
    \begin{array}{c}
      \undertilde{a}\\
      \undertilde{f}
    \end{array}
    \right]
  \end{equation}
\end{document}
Post Reply