Page Layout ⇒ Start itemize at same line
Start itemize at same line
I was wonderin if it would be possible to start itemize at the same line that you have written your last line of text. This is not something I would like to do consequently through the document.
For example I would write:
There are causes for this: -Cause 1
And the other causes should appear indented so that they are aligned with "Cause 1".
I hope I've made my question clear.
Greetings,
Matthias
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Start itemize at same line
you could use a
{minipage}
environment with the optional argument t
for top alignment, for example:Code: Select all
\documentclass{article}
\begin{document}
text
\begin{minipage}[t]{.8\textwidth}
\begin{itemize}
\item item
\item another item
\end{itemize}
\end{minipage}
\end{document}
Re: Start itemize at same line
Start itemize at same line
I have tried:
Code: Select all
\begin{minipage}[t]{\hfill}
Text
\end{minipage}
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Start itemize at same line
Stefan