I'm probably missing something super obvious, but my searching has turned up nothing. I want to put a table in the middle of an outline that I'm making with the easylist
package. The table is coming right after text that's 2 levels deep, but since tabularx
centers the table by default, the left edge of the table is about a quarter of an inch left of the text, which looks terrible. My current set up looks basically like this.
\usepackage{tabularx}
\usepackage{ltablex}
\begin{document}
\begin{easylist}[articletoc]
\ListProperties(Margin2=.5in,Margin3=1in,Margin4=1.5in)
# Section
## Subsection
\setlength{\extrarowheight}{1.5pt}
\renewcommand{\tabcolsep}{2pt}
\begin{tabularx}{\linewidth}{ | l | >{\raggedright\arraybackslash}X | }
\hline
this & that \\ \hline
\end{tabularx}
\end{easylist}
\end{document}
If somebody can point me towards how to left align the table with a set distance to either the margin or the edge of the page, I can work with that. Bonus points for a way that actually matches it to the level of indentation of the previous text, rather than hard coding the distance.
tabularx
with\noindent
. This is the default indentation of a paragraph, initiated bytabularx
.ltablex
package which appears to be responsible for the default centering. I pretty much stopped using that package for what I originally added it for, but removing it breaks things. Time for another round of troubleshooting. :)