First, Hi Latex Community!
How can I force latex to indent all the paragraphs in the {description} enviroment?
for example,
\begin{description}
\item{Something: Other thing\\} This is the text that I want indented
\end{description}
So it would look like this:
Something: Other thing
___________hsakjfbibgiolasfbgousahgosgovbfiogboigboubgoberogre
________jlbsbfbfiygbgoisbfuo;bsfdougbo;sabgobsgfoghosfhgoupsgfj
________hlsgb9yisagbfsgfpohgbsdigbso;gfpusofg.
thanks for all help
General ⇒ Indent in the {description} enviroment
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Indent in the {description} enviroment
Hi japc126,
welcome to the LaTeX Community board!
The text of the description environment above is indented, that's why I don't understand your question with that example. Perhaps you could explain more what you need but the description environment does not.
Stefan
welcome to the LaTeX Community board!
The text of the description environment above is indented, that's why I don't understand your question with that example. Perhaps you could explain more what you need but the description environment does not.
Stefan
LaTeX.org admin
Re: Indent in the {description} enviroment
No, when I try to write something that way is comes out like this:
Something: Other thing
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
And I want it to look like this (with extra indent on the first line)
Something: Other thing
___________khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsa
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
___________khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsa
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
___________khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsa
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
Something: Other thing
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
And I want it to look like this (with extra indent on the first line)
Something: Other thing
___________khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsa
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
___________khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsa
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
___________khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsa
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
_______khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
Indent in the {description} enviroment
This example may help:
The definition of indenteddescription is just that of the standard description environment plus the line \setlength{\listparindent}{\parindent} in order to achieve the desired indentation.
Code: Select all
\documentclass[a4paper]{article}
\usepackage{lipsum}
\begin{document}
\newenvironment{indenteddescription}%
{\begin{list}{}{\setlength{\labelwidth}{0pt}
\setlength{\itemindent}{-\leftmargin}
\setlength{\listparindent}{\parindent}
\renewcommand{\makelabel}{\descriptionlabel}}}%
{\end{list}}
\begin{indenteddescription}
\item[Something to be described:]\mbox{}\par
\lipsum[1] \par
\lipsum[2]
\item[Other thing to be described:]\mbox{}\par
\lipsum[3] \par
\lipsum[4]
\end{indenteddescription}
\end{document}
Indent in the {description} enviroment
A simple and dirty way to solve it by doing
Code: Select all
\begin{description}
\item[\hspace{0.75cm}khfsakhfilgbfob] khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
\item[khfsakhfilgbfob] khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
\item[khfsakhfilgbfob] khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
\item[khfsakhfilgbfob] khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
\item[khfsakhfilgbfob] khfsakhfilgbfobsoigbosjbgflisdfbisdhfbsao;gb
\end{description}