LaTeX forum ⇒ Graphics, Figures & TablesVertical Text Alignment in Table Column Topic is solved

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

Vertical Text Alignment in Table Column

Postby mbaqar » Sat Apr 13, 2024 3:37 pm

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.

\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 2021:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
Stefan Kottwitz
Site Admin
Posts: 10176
Joined: Mon Mar 10, 2008 9:44 pm

Vertical Text Alignment in Table Column  Topic is solved

Postby Stefan Kottwitz » Sat Apr 13, 2024 4:00 pm

Welcome to the forum!

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

Stefan
LaTeX.org admin

mbaqar
Posts: 2
Joined: Sat Apr 13, 2024 3:19 pm

Vertical Text Alignment in Table Column

Postby mbaqar » Sun Apr 14, 2024 2:25 pm

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.


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 16 guests