0

As you can see in the picture below, I have a table that doesn't look so great and that's because am unable to figure out how to change the veritical alignment on the text in the table. For example, I want the start and the caret symbols to be vertically center aligned in the table so it looks more polished and clean.

Am using

\begin{table}[H]
\begin{tabular}{|l|l|}
\end{tabular}
\end{table}

enter image description here

4

1 Answer 1

0

If the issue is vertical alignment then there is an answer here I think.

My initial answer is about horizontal position I think and does not address the question, but in case I got this wrong see below.


This seems too simple an answer, but can you just use

\begin{table}[H]
\begin{tabular}{|c|l|}
\end{tabular}
\end{table}

where the c replaces an l for the text justification for the first column. c means centre the text in the cell. l means left justify the text.

Sorry I may have missed the point, but I am guessing this might sort things out for you.

1
  • could you please post a screenshot of the output of the above code--there are two centerings-- Left**C**Right and Top**C**Bottom
    – js bibra
    Dec 28, 2019 at 1:48

Not the answer you're looking for? Browse other questions tagged or ask your own question.