LaTeX: indent from second line

前端 未结 8 1692
既然无缘
既然无缘 2021-02-01 14:23

I want to indent from the second line.

I want to write in LaTeX something like this:

Lorem ipsum dolor sit amet, consectetur a         


        
8条回答
  •  北海茫月
    2021-02-01 15:03

    When you create a list the list margin is indented by one indent (\leftmargini) and \itemindent is 0; if you set the \itemindent equal to the negative of the left margin, the hanging indent will line up exactly with the outer scope margin, and you'll get exactly one indent inside the list. It is a quick and simple way to get in and out of a hanging indented list setting only one value: \itemindent.

    \documentclass{article}
    \usepackage{lipsum}
    \begin{document}
    
    \begin{list}{}{\setlength\itemindent{-\leftmargin}}
      \item \lipsum[1]
      \item \lipsum[2]
    \end{list}
    
    \end{document}
    

提交回复
热议问题