Graphics, Figures & TablesVertical Text Alignment in Table Column

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
mbaqar
Posts: 4
Joined: Sat Apr 13, 2024 3:19 pm

Vertical Text Alignment in Table Column

Post by mbaqar »

I want to have my text justified in the second column so that the word "to" in the second line of second row vertically aligns with the first line (i.e., with the word "Identifies" in the first line of the second row). Please help.

Code: Select all

Code, edit and compile here:
\documentclass[letterpaper, 11pt]{article}
\usepackage[lmargin=0.5in,rmargin=0.5in,tmargin=0.75in,bmargin=0.5in]{geometry}
\begin{document}
\begin{table}[h]
\begin{center}
\begin{tabular}{|l |p{0.7\textwidth} |} \hline
\ R1 & \ Very Good. \\ \hline
\ R2 & \ Identifies whether a person has already finished his job or still struggling hard to cope with the unpleasant situation . \\ \hline
\end{tabular}
\end{center}
\end{table}
\end{document}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Last edited by Stefan Kottwitz on Sat Apr 13, 2024 3:58 pm, edited 1 time in total.
Reason: code marked

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Vertical Text Alignment in Table Column

Post by Stefan Kottwitz »

Welcome to the forum!

Just remove the backslash \ before "Identifies", and in all table cells.

Stefan
LaTeX.org admin
mbaqar
Posts: 4
Joined: Sat Apr 13, 2024 3:19 pm

Vertical Text Alignment in Table Column

Post by mbaqar »

Stefan Kottwitz wrote:Welcome to the forum!

Just remove the backslash \ before "Identifies", and in all table cells.

Stefan
I am so grateful, Stefan. Thank you.
Post Reply