[texhax] \hangindent inside vertical mode
VAFA KHALIGHI
vafaklg at gmail.com
Thu Sep 29 03:42:34 CEST 2011
Sorry, this is what I have tried. Giving negatve dimen to \hangindent, only
reduces the width of the vbox.
On Thu, Sep 29, 2011 at 11:23 AM, VAFA KHALIGHI <vafaklg at gmail.com> wrote:
> but they are not.
>
>
> On Thu, Sep 29, 2011 at 4:13 AM, Heiko Oberdiek <
> heiko.oberdiek at googlemail.com> wrote:
>
>> On Thu, Sep 29, 2011 at 01:14:33AM +1000, VAFA KHALIGHI wrote:
>>
>> > \hangindent-20pt \hangafter0 does not work inside a \vbox. Is the reason
>> > explained somewhere in The TeXBook?
>>
>> Why do you think it does not work?
>> Because -20pt is less than 0pt, the lines will be indented at
>> the right side by 20pt.
>>
>> The TeXbook, "Chapter 14: How TeX Breaks Paragraphs into Lines":
>>
>> | The command `\hangindent=<dimen>' specifies a so-called hanging
>> | indentation, and the command `\hangafter=<number>' specifies the
>> duration
>> | of that indentation. Let x and n be the respective values of \hangindent
>> | and \hangafter, and let h be the value of \hsize; then if n >= 0,
>> hanging
>> | indentation will occur on lines n + 1, n + 2, ... of the paragraph, but
>> if
>> | n < 0 it will occur on lines 1, 2, ... , |n|. Hanging indentation means
>> | that lines will be of width h - |x| instead of their normal width h; if
>> | x >= 0, the lines will be indented at the left margin, otherwise they
>> will
>> | be indented at the right margin. For example, the "dangerous bend"
>> | paragraphs of this manual have a hanging indentation of 3 picas that
>> lasts
>> | for two lines; they were set with \hangindent=3pc and
>> | \hangafter=-2.
>>
>> Yours sincerely
>> Heiko Oberdiek
>> _______________________________________________
>> TeX FAQ: http://www.tex.ac.uk/faq
>> Mailing list archives: http://tug.org/pipermail/texhax/
>> More links: http://tug.org/begin.html
>>
>> Automated subscription management: http://tug.org/mailman/listinfo/texhax
>> Human mailing list managers: postmaster at tug.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110929/40b1a975/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/x-tex
Size: 1300 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20110929/40b1a975/attachment-0001.tex>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 6155 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20110929/40b1a975/attachment-0001.pdf>
More information about the texhax
mailing list