I'm trying to create a new table in which the text of the first column begins exactly on the left margin, and the text on the last column ends at exactly the right margin.
Additionally, I also want the first two columns to be very close together and the last two columns to be close together as well, with maximal space in between.
Here's what I have so far, which is very close, but the first column isn't exactly in the first margin, and the last column isn't exactly at the right margin either:
\documentclass[letterpaper,9pt]{article}
\usepackage[margin=1in,letterpaper]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{tabularx}
\usepackage{lipsum}
\begin{document}
\begin{center}
\newcolumntype{R}{>{\raggedleft\arraybackslash}X}%
\newcolumntype{L}{>{\raggedright\arraybackslash}X}%
\begin{tabularx}{\textwidth}{ r l R L }
\textbf{High Level Languages} & Python, Mathematica &
\textbf{Statistical Languages} & Stan \\
\textbf{Low Level Languages} & C, C\texttt{++}, CUDA &
\textbf{Shells} & Zsh, Bash \\
\end{tabularx}
\end{center}
\noindent
\lipsum[1]
\end{document}
And here's a rendered version of the previous document:
And here is how I would like it to look like (done manually on photo editing software with red lines to emphasize the desired location):
I would also like to avoid line wrapping at all cost, which seems to be something that happens even thought there is still enough space between columns, and as a bonus point possibly adding a long row at the bottom that spanned across all columns, although I think this is fairly simple and a matter of creating a multiline environment, but I'm saving it for later in hopes of being able to solve this problem first.
{ @{} r l R L @{} }
p
columns for colums 3 and 4 so explicitly for line breaking. They are the same width so if 3 is wide, so is 4. I suspect you really wantrl
notRL
so the columns are single line and natural width