Greetings, how do I get rid of the extra space on the left of tabular so that it is aligned with the rest of the text?
Also, how do I format the second column to be a paragraph that automatically uses the remaining space in \textwidth (so that I don't have to keep making line breaks)?
\documentclass[10pt]{article}
\usepackage[margin=1in]{geometry}
\parindent=0cm
% THE DOCUMENT
\begin{document}
\raggedright
\begin{center}{\LARGE TITLE}\\ \vspace{0.2em}
Subtitle \\
\end{center}
\begin{minipage}{0.45\textwidth}
\begin{flushleft}
\textbf{Left} \\
Some information goes here \\
to the left
\end{flushleft}
\end{minipage}
\hfill
\begin{minipage}{0.45\textwidth}
\begin{flushright}
\textbf{Right} \\
More information goes here \\
to the right
\end{flushright}
\end{minipage}
\vspace{\baselineskip}
\begin{tabular*}{\textwidth}{p{100pt} @{\hspace{\fill}} l}
SHOULD NOT & first first first first first first first first first first first first first first first first first first first first first first first first first first first first \\
HAVE INDENT & second second second second second second second second second second second second second second second second second second second second \\
ON THE LEFT & these entries should wrap around into a paragraph instead \\
& of running off the page
\end{tabular*}
\end{document}
\documentclass[10pt]{article}
\usepackage[showframe,margin=1in]{geometry}
\usepackage{array}
\usepackage{blindtext}
\usepackage{tabularx}
\newcolumntype{P}{>{\raggedright\arraybackslash}X}
\parindent=0cm
\begin{document}
\begin{tabularx}{\textwidth}{
@{}
p{100pt}
P}
SHOULD NOT & \blindtext first first first first first first first
first first first first first first first first first first
first first first first first first first first first first
\\
HAVE INDENT & second second second second second second second
second second second second second second second second second
second second second second \\
ON THE LEFT & these entries should wrap around into a paragraph
instead running off the page \\
\end{tabularx}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
\documentclass{scrartcl}
\usepackage{array}
\newcolumntype{\foo}{>{foo}c}
\begin{document}
\begin{tabular}{\foo\foo}
a & b
\end{tabular}
\end{document}
But I don't think that this is to be encouraged...
\documentclass[12pt]{article}
\usepackage[showframe,margin=1in]{geometry}
%\usepackage[margin=1in]{geometry}
\usepackage{array}
\usepackage{blindtext}
\usepackage{tabularx}
\newcolumntype{P}{>{\raggedright\arraybackslash}X}
\parindent=0cm
\begin{document}
\begin{tabularx}{\textwidth}{@{} p{100pt} P}
SHOULD NOT & \blindtext \\
HAVE INDENT & second second second second second second second second second second second second second second second second \\
ON THE LEFT & these entries should wrap around into a paragraph instead running off the page \\
Extra text & \blindtext \\
Extra text & \blindtext \\
Extra text & \blindtext \\
Extra text & \blindtext \\
\end{tabularx}
\end{document}
\documentclass[12pt]{article}
\usepackage[showframe,margin=1in]{geometry}
%\usepackage[margin=1in]{geometry}
\usepackage{array}
\usepackage{blindtext}
\usepackage{tabularx}
\usepackage{ltxtable}
\newcolumntype{P}{>{\raggedright\arraybackslash}X}
\parindent=0cm
\usepackage{filecontents}
\begin{filecontents}{\jobname Table.tex}
\begin{longtable}{@{} p{100pt} P}
SHOULD NOT & \blindtext \\
HAVE INDENT & second second second second second second second second second second second second second second second second \\
ON THE LEFT & these entries should wrap around into a paragraph instead running off the page \\
Extra text & \blindtext \\
Extra text & \blindtext \\
Extra text & \blindtext \\
Extra text & \blindtext \\
\end{longtable}
\end{filecontents}
\begin{document}
\LTXtable{\linewidth}{\jobname Table.tex}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.