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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- 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: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Start itemize at same line
Stefan