LaTeX "\ indent" creating paragraph paragraph / package paragraph?

The LaTeX code below shows the use of the "\ indent" command as it appears in the document, but does not provide the desired padding within the document. Is there a specific package associated with the "\ indent" or "\ =" command? I am asking for a phased method of indenting within a document for only one paragraph, regardless of location within the document.


\ documentclass [12pt] {article}

\ usepackage {GraphicX}
\ topmargin -3.5cm
\ oddsidemargin -0.04cm
\ evensidemargin -0.04cm
\ textwidth 16.59cm

\ textheight 21.94cm

\ parskip 7.2pt
\ parindent 8pt
\ Name {Physics}

\ author {Pareshkumar Brahmbhatt}

\ date {March 17, 2010}

\ BEGIN {document}
\ Maketitle

\ indent Now we fought a great civil war.

\ end {document}


+4
source share
3 answers

LaTeX is usually not a paragraph of the first paragraph of a section. This is standard typographic practice. However, if you really want to override this default setting, use the indentfirst package available on CTAN.

+11
source

The first line of the paragraph is indented by default, so regardless of whether you have \indent , this will not affect. \indent and \noindent can be used to override the default behavior. You can see this by replacing your line with the following text:

 Now we are engaged in a great civil war.\\ \indent this is indented\\ this isn't indented \noindent override default indentation (not indented)\\ asdf 
+5
source

This is a kind of hack, but the best solution I have found is to use a description tag without \ item. This will result in an error from the latex compiler; however, the error does not prevent the creation of a PDF file.

 \begin{description} <YOUR TEXT HERE> \end{description} 
  • This only works with window latex builder
0
source

Source: https://habr.com/ru/post/1304411/


All Articles