एक वातावरण है कि सेट मांगपत्र एक संभव समाधान हो सकता है?
\newlength\mystoreparindent
\newenvironment{myparindent}[1]{%
\setlength{\mystoreparindent}{\the\parindent}
\setlength{\parindent}{#1}
}{%
\setlength{\parindent}{\mystoreparindent}
}
अपने दस्तावेज़ में आप तो जैसे कुछ लिखते थे:: आप की तरह प्रस्तावना में इसे परिभाषित
\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}
या यदि आप एक बड़े अनुच्छेद इंडेंट चाहते
\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}
स्रोत
2015-07-03 14:12:29
यह मेरे लिए काम करता है। धन्यवाद। –
मुझे लगता है कि लाटेक्स में आपको वास्तव में '\ setlength {\ parindent} {0pt}' का उपयोग करना चाहिए। 'parindent0pt' शुद्ध टीएक्स है और इसका उपयोग लाटेक्स को भ्रमित कर सकता है। – Nikratio
@ निक्रैरियो: यह लाटेक्स को भ्रमित नहीं करेगा, लेकिन आप जैसा कहते हैं \ setlength का उपयोग कर सकते हैं। – godbyk