[XeTeX] squeezing vertical space before/after verse environment

Sreenivasa Guttal sreenivasa.guttal at gmail.com
Mon Aug 3 16:22:18 CEST 2009


Hello,
I have defined new verse environment as below and it does seem to change.
However, I am not able to reduce the verse begin and end space further. I
tried to change listparindent. Please suggest.

Thanks,
Sreenivasa

On Sun, Aug 2, 2009 at 2:15 PM, François Patte <
francois.patte at mi.parisdescartes.fr> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Le 02/08/2009 08:35, Sreenivasa Guttal a écrit :
> > Hello,
> >
> > I frequently get feedback to reduce the vertical space automatically
> > introduced by latex/xelatex in section headers etc. I have some solution
> > for section headers now, but could not do the same for verse
> > environment. If one looks @ the output, the space introduced by verse
> > before and after looks significantly more. My work used indian languages
> > like sanskrit.
>
> Build your own environment, for instance:
>
> \makeatletter
> \newenvironment{sutra}{%
> \refstepcounter{sutra}
>                \let\\\@centercr
>                \list{}{\itemsep      \z@
>                        \itemindent   -1.5em%
>                        \listparindent\itemindent
>                        \advance\leftmargin 1em}%
>                \item\relax}
>               {\endlist}
> \makeatother
>
> Adjust the parameters until they fit what you wish.
>
> If you want your new environment to be still named "verse", use
> \renewenvironment (with the same syntax).
>
>
> - --
> François Patte
> UFR de mathématiques et informatique
> Université Paris Descartes
> 45, rue des Saints Pères
> F-75270 Paris Cedex 06
> Tél. +33 (0)1 4286 2145
> http://www.math-info.univ-paris5.fr/~patte
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkp1Ug0ACgkQdE6C2dhV2JXymgCfUafwrRQTD3/1ZTb/97A/HRsa
> ihkAoI2jJ6HrV4ycL5XSq5WlJZArKthH
> =r8dl
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20090803/412716f0/attachment.html>


More information about the XeTeX mailing list