[Tex/LaTex] How to left-align a table in LaTeX with nonstandard document class

adjustboxfloatshorizontal alignment

I need to align my table with the left margin of my page. The adjustbox package looks to be the solution, but I'm having difficulty implementing it. I realize my question is potentially a duplicate to this one, How to left-align a table in LaTeX, but I'm still unsure how to execute this.

MWE:

\documentclass[doc,12pt,floatsintext,longtable,natbib]{apa6}
\usepackage[doublespacing]{setspace}  %automatically makes figure/table captions single space.
\usepackage{adjustbox} % Potential solution?
\usepackage{showframe}
\usepackage{lipsum} % dummy text only

\geometry{reset, letterpaper, height=9in, width=6in, hmarginratio=1:1, vmarginratio=1:1, marginparsep=0pt, marginparwidth=0pt, headheight=15pt}

\begin{document}
\thispagestyle{empty}
\section{LIST OF ABBREVIATIONS}  
\vspace{0.5in}

\begin{adjustbox}{left=-0.25cm}
\begin{tabular}{ l l } 
AUC & Area under the curve \\
AOU & American Ornithologists' Union \\ 
AR5 & Fifth Assessment Report \\ 
BRT & Boosted regression trees \\
cAUC & Calibrated area under the curve \\ 
CMIP5 & Coupled Model Intercomparison Project Phase 5 \\
GAM & Generalized additive model \\
GBIF & Global Biodiversity Information Facility \\
GCM & General circulation model \\
GIS & Geographic information systems \\
IPCC & International Panel on Climate Change \\ 
MaxEnt & Maximum entropy \\
PRISM & Parameter-Elevation Relationships on Independent Slopes Model \\
RF & Random forest regression trees \\ 
RCP & Representative concentration pathway \\
SDM & Species distribution model \\
\end{tabular}
\end{adjustbox}

\vspace{0.25in}
\lipsum
\end{document}

As you can see with the showframe package, the tabular environment isn't fully left-justified as is the text. I would like the tabular environment to be positioned like the text.

Best Answer

No need to use the facilities of the adjustbox package; use \noindent instead, and set up the tabular's structure as \begin{tabular}{@{} l l }.

I'd say, incidentally, that apa6 is a reasonably well known document class; I wouldn't call it "nonstandard".

By the way, if you need the material in the table to be single-spaced, I'd encase the tabular environment in a table environment, as follows:

\begin{table}[h!]
\begin{tabular}{@{}ll}
...
\end{tabular}
\end{table}

If you go this route, the \noindent instruction isn't needed.

enter image description here

\documentclass[doc,12pt,floatsintext,longtable,natbib]{apa6}
\usepackage[doublespacing]{setspace}  %automatically makes figure/table captions single space.
\usepackage{adjustbox} % Potential solution?
\usepackage{lipsum} % dummy text only

\geometry{reset, letterpaper, height=9in, width=6in, hmarginratio=1:1, vmarginratio=1:1, marginparsep=0pt, marginparwidth=0pt, headheight=15pt, showframe}
\shorttitle{}
\begin{document}
\thispagestyle{empty}
\section{LIST OF ABBREVIATIONS}  
\vspace{0.5in}

\noindent   % <----
\begin{tabular}{@{} l l } % <----
AUC & Area under the curve \\
AOU & American Ornithologists' Union \\ 
AR5 & Fifth Assessment Report \\ 
BRT & Boosted regression trees \\
cAUC & Calibrated area under the curve \\ 
CMIP5 & Coupled Model Intercomparison Project Phase 5 \\
GAM & Generalized additive model \\
GBIF & Global Biodiversity Information Facility \\
GCM & General circulation model \\
GIS & Geographic information systems \\
IPCC & International Panel on Climate Change \\ 
MaxEnt & Maximum entropy \\
PRISM & Parameter-Elevation Relationships on Independent Slopes Model \\
RF & Random forest regression trees \\ 
RCP & Representative concentration pathway \\
SDM & Species distribution model \\
\end{tabular}


\vspace{0.25in}
\lipsum
\end{document}
Related Question