General ⇒ Indent in the {description} enviroment
Indent in the {description} enviroment
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
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: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Indent in the {description} enviroment
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
Re: Indent in the {description} enviroment
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
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
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}