Un entorno que establece el guión podría ser una posible solución? Se define en el preámbulo como:
\newlength\mystoreparindent
\newenvironment{myparindent}[1]{%
\setlength{\mystoreparindent}{\the\parindent}
\setlength{\parindent}{#1}
}{%
\setlength{\parindent}{\mystoreparindent}
}
En el documento que a continuación, escribir algo como:
\begin{myparindent}{0pt}
This paragraph is not indented, ehm well, actually it is indented by 0pt
which is the same as not indented.
And this paragraph neither\ldots
\end{myparindent}
O si quieres una gran sangría de párrafo
\begin{myparindent}{5cm}
The first line of this paragraph is indented by 5 cm.
And so is the first line of the next paragraph.
\end{myparindent}
Esto funciona para mí. Gracias. –
Creo que en LaTeX realmente debería usar '\ setlength {\ parindent} {0pt}' en su lugar. '\ parindent0pt' es TeX puro y su uso puede confundir a LaTeX. – Nikratio
@Nikratio: No confundirá a LaTeX, pero puede usar \ setlength como usted dice. – godbyk