LaTeX: Left aligning without extra space between words in tables
Posted
by
goldfrapp04
on Stack Overflow
See other posts from Stack Overflow
or by goldfrapp04
Published on 2012-12-19T05:00:28Z
Indexed on
2012/12/19
5:03 UTC
Read the original article
Hit count: 232
Here is the illustrating code:
\documentclass[letterpaper, 10pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{array}
\usepackage[none]{hyphenat}
\begin{document}
\begin{center}
\begin{tabular}{|m{4.5cm}|m{1.2cm}<{\centering}|m{8cm}|c|}
\hline
\centering \textbf{Course Name} & \centering \textbf{Date} & \centering \textbf{Textbook} & \centering \textbf{Grade} \tabularnewline \hline
C Programming Language \& Lab & 09/2009 - 12/2009 & Brian W. Kernighan, and Dennis M. Ritchie, \textit{The C Programming Language}, 2nd ed. ISBN:9780131103627 & 89 \\ \hline
Integrative Practice on Courses & 07/2011 & LUPA, \textit{Linux Software Engineer}, ISBN:9787030199645 & 87 \\ \hline
\end{tabular}
\end{center}
\end{document}
As shown in the pdf generated, there are too much space between some words because I disabled automatic hyphenation. I'd like to leave only single space between words, without justify align.
THANK YOU!
© Stack Overflow or respective owner