Yggdroot / indentLine

A vim plugin to display the indention levels with thin vertical lines
MIT License
4.14k stars 230 forks source link

LaTeX - Hides chars etc. #254

Closed eyJhb closed 6 years ago

eyJhb commented 6 years ago

When I use IndentLine with Latex tables which includes math, it suddenly hides data, and shows it very weirdly...

How it looks using indentline screenshot from 2018-10-16 08-58-04

Without screenshot from 2018-10-16 08-58-20

Code for testing

\begin{table}[htbp]
    \centering
    \small
    \setlength\tabcolsep{3.0pt}
    \begin{tabular}{lll}
        \toprule                                & $\Delta t_{yx}$ & $\Theta_{xy}[^\circ]$ \\
        \midrule $V_2(t)$ i forhold til $V_1(t)$ & $-138\mu s$     & -43,20    \\
        \midrule $V_R(t)$ i forhold til $V_1(t)$ & $+120\mu s$     & +49,68   \\
        \midrule $V_R(t)$ i forhold til $V_2(t)$ & $+260\mu s$     & +91.61   \\
        \bottomrule
    \end{tabular}
\end{table}

\begin{table}[htbp]
    \centering
    \small
    \setlength\tabcolsep{3.0pt}
    \begin{tabular}{lllll}
        \toprule       & Peak-peak spænding [V] & Amplitude [V] & $V_{*M}[V] & $\angle V_*[^\circ]$ \\
        \midrule $V_1$ & 2,06                   & 1.03          & 1.03       & 0                    \\
        \midrule $V_2$ & 1,51                   & 0.755         & 0.755      & -43.20               \\
        \midrule $V_R$ & 1,44                   & 0.72          & 0.72       & 49.68                \\
        \bottomrule
    \end{tabular}
\end{table}

I know the missing $, etc.. :)

Yggdroot commented 6 years ago

Please refer to issue #78 .

eyJhb commented 6 years ago

@Yggdroot thanks, I will close this then! Sorry for not searching beforehand.