How do I indent a tabular, not center it, simply and easily, without using any float environments. Everything I read says to use some type of float environment, but the table must appear right where I put it (it's part of a test question) and not at the top or bottom of some future page. Following is an MWE.
\documentclass[fleqn,addpoints
,answers
]{exam}
\usepackage{amsfonts,amsmath,amssymb,amsthm,mathtools}
%\usepackage{enumerate} % Can't be used at the same time as enumitem
\usepackage{enumitem} % Adds fancy labels for lists
\usepackage{color} % Necessary for \shaded solutions and color solutions
\usepackage{coordsys}
\usepackage{polynom}
\usepackage{nicefrac}
\usepackage{commath} % Calculus operators \od, \pd, etc.
\usepackage{array} % Provides for a more flexible array and tabular environment
\usepackage{booktabs} % For fancy stuff in arrays and tables, like the following column definitions
\newcolumntype{L}{>{\begin{math}}l<{\end{math}}}%
\newcolumntype{C}{>{\begin{math}}c<{\end{math}}}%
\newcolumntype{R}{>{\begin{math}}r<{\end{math}}}%
\everymath{\displaystyle}
\setlength{\parindent}{0pt}
\setlength{\parskip}{\baselineskip}
\shadedsolutions
% For the exam package
\newcommand{\q}{\question[1]}
\newcommand{\ch}{\choice}
\newcommand{\cc}{\correctchoice}
\newcommand{\al}{\answerline}
\setlength\answerclearance{0.4ex}
\CorrectChoiceEmphasis{\itshape\color{red}}
\begin{document}
\begin{questions}
\q Use the given data to construct a frequency distribution:\newline
A school district performed a study to find the main causes leading to its students
dropping out of school. Thirty cases were analyzed, and a primary cause was assigned to
each case. The causes included unexcused absences (U), illness (I), family problems (F),
and other causes (O). The results for the thirty cases are listed below:
\begin{tabular}{cccccccccc}
U & U & U & I & F & O & O & U & I & F \\
F & O & U & I & I & F & I & I & O & U \\
I & F & F & U & U & I & I & O & F & U
\end{tabular}
Construct a table summarizing the frequency distribution of the primary causes leading to
student dropout.
\end{questions}
\end{document}
\documentclass[fleqn,addpoints
,answers
]{exam}
\usepackage{amsfonts,amsmath,amssymb,amsthm,mathtools}
%\usepackage{enumerate} % Can't be used at the same time as enumitem
\usepackage{enumitem} % Adds fancy labels for lists
\usepackage{color} % Necessary for \shaded solutions and color solutions
\usepackage{coordsys}
\usepackage{polynom}
\usepackage{nicefrac}
\usepackage{commath} % Calculus operators \od, \pd, etc.
\usepackage{array} % Provides for a more flexible array and tabular environment
\usepackage{booktabs} % For fancy stuff in arrays and tables, like the following column definitions
\newcolumntype{L}{>{\begin{math}}l<{\end{math}}}%
\newcolumntype{C}{>{\begin{math}}c<{\end{math}}}%
\newcolumntype{R}{>{\begin{math}}r<{\end{math}}}%
\everymath{\displaystyle}
\setlength{\parindent}{0pt}
\setlength{\parskip}{\baselineskip}
\shadedsolutions
% For the exam package
\newcommand{\q}{\question[1]}
\newcommand{\ch}{\choice}
\newcommand{\cc}{\correctchoice}
\newcommand{\al}{\answerline}
\setlength\answerclearance{0.4ex}
\CorrectChoiceEmphasis{\itshape\color{red}}
\begin{document}
\begin{questions}
\q Use the given data to construct a frequency distribution:\newline
A school district performed a study to find the main causes leading to its students
dropping out of school. Thirty cases were analyzed, and a primary cause was assigned to
each case. The causes included unexcused absences (U), illness (I), family problems (F),
and other causes (O). The results for the thirty cases are listed below:
\hspace{.5in}%
\begin{tabular}{cccccccccc}
U & U & U & I & F & O & O & U & I & F \\
F & O & U & I & I & F & I & I & O & U \\
I & F & F & U & U & I & I & O & F & U
\end{tabular}
Construct a table summarizing the frequency distribution of the primary causes leading to
student dropout.
\end{questions}
\end{document}
Hint: Click on »open in writelatex« just above the code to see the output.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.