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

\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}
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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
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