# Layout of vector notation

PGvdVeen shared this question 5 years ago

I have great difficulties in finding a satisfying layout for the notation of a vector.

The size of the brackets is not constant.

Another problem is in the notation of vectorlength. The arrow is positioned in dependece of the size of the character. As a consequence, multiplying the length of vector a and b results in an ugly layout.

Any suggestions how to obtain a consistent layout?

1

Maybe try

1. \vec{a}·\vec{b}=\left| \rlap{\vec{a}}\phantom{\vec{b}} \right| ·\left| \vec{b} \right| ·cos(α)

https://tex.stackexchange.c...

1

Also

1. \vec{a}·\vec{b}=\left| \rlap{\vec{a}}\phantom{\vec{b}} \right| ·\left| \vec{b} \right| ·cos(α)

does not produce the correct layout.