I am attempting to indent text, as below.
To get the alignment right (and it's far from perfect right now), I've been using trial and error with a linebreak \\
and \hspace{3.1cm}
. Is there a legitimate way to get the results in the image above?
As a minimum working example, I have
\documentclass[12pt,mathserif]{beamer}
\usetheme{Berkeley}
\usecolortheme{dove}
\useinnertheme{default}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{itemize items}[default]
\setbeamertemplate{enumerate items}[default]
\beamertemplatenavigationsymbolsempty
\setbeamerfont{footline}{size=\fontsize{9}{11}\selectfont}
\setbeamertemplate{footline}[page number]
\begin{document}
\frame{\frametitle{Detecting MWEs in Typed Text}
\begin{itemize}
\item $\mathbf{Assumption \;1}$: MWEs have unique prosodic\\
\hspace{3.1cm}characteristics
\item $\mathbf{Assumption \;2}$: KD is the reflection of prosody in\\
\hspace{3.1cm}typing
\item $\mathbf{Conclusion}$: \hspace{0.5cm}MWEs should be uniquely\\
\hspace{3.1cm}characterized in typing
\end{itemize}
}
\end{document}
Best Answer
Such an alignment is easy when using a
tabular
:If you don't want to measure the right column width (currently fixed at
2in
), then you can use atabularx
instead. Also,array
could be used to aid in formatting the first column to\bfseries
automatically, if needed. Here's an example incorporating both with a raggedright second column: