Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Modifying abovedisplayskip et al.

115 views
Skip to first unread message

andreas

unread,
Jun 9, 2008, 8:49:06 AM6/9/08
to
To change the spacing around equations, I changed
{above,below}display[short]skip, but found it only worked when put
inside the equation environment (in contrast to what some websites and
documents state). So I defined my own equation environment, but now I
find that after each equation, there's a very small (about 0.5em)
indentation I can't get rid of.

Thanks for any advice.

Lars Madsen

unread,
Jun 9, 2008, 9:13:31 AM6/9/08
to

could you please provide us with an minimal example of what you have tried.

why do you cant to change it in the first place?

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html

andreas

unread,
Jun 9, 2008, 9:31:15 AM6/9/08
to
On Jun 9, 9:13 am, Lars Madsen <dal...@RTFSIGNATUREimf.au.dk> wrote:
> andreas wrote:
> > To change the spacing around equations, I changed
> > {above,below}display[short]skip, but found it only worked when put
> > inside the equation environment (in contrast to what some websites and
> > documents state). So I defined my own equation environment, but now I
> > find that after each equation, there's a very small (about 0.5em)
> > indentation I can't get rid of.
>
> > Thanks for any advice.
>
> could you please provide us with an minimal example of what you have tried.
>

This snipped reproduces the problem:

\documentclass[letterpaper,twoside,12pt]{article}

\newenvironment{equationc}%
{\begin{equation}%
\setlength{\abovedisplayskip}{3pt plus 0pt minus 1pt}%
\setlength{\abovedisplayshortskip}{0pt plus 0pt minus 3pt}%
\setlength{\belowdisplayskip}{3pt plus 0pt minus 1pt}%
\setlength{\belowdisplayshortskip}{3pt plus 0pt minus 1pt}}%
{\end{equation}}%

\begin{document}
The following non-dimensional parameters
are relevant: The Froude number $\mathrm{Fr}$, the Reynolds number
$\mathrm{Re}$, the Stokes number $\mathrm{St}$, and the Boussinesq
number $\mathrm{Bo}$,
\begin{equationc}
\mathrm{Fr}=\frac{u^2}{gh}, \quad
\mathrm{Re}=\frac{uh}{\nu}, \quad
\mathrm{St}=\frac{\tau_s}{\tau_a} = \frac{\tau_s u}{h}, \quad
\mathrm{Bo}=\frac{\Delta\rho}{\rho_a} = \frac{\rho-\rho_a}{\rho_a},
\end{equationc}
where $u$ is the velocity of the front, $g$ is the
gravitational acceleration, $h$ is a characteristic height,
$\nu$ is the kinematic viscosity of the air, $\tau_s$ is the response
time
of the particles,
\begin{equationc}
\tau_s = \frac{1}{36}\left(2\frac{\rho_s}{\rho_a}+1\right)
\frac{d^2_s}{\nu},
\end{equationc}
$\tau_a$ is a characteristic flow time scale, and $\rho$ is the
density of the
mixture given above. The ratio of the particle still-fluid
settling velocity to the front velocity is given by
$\mathrm{Fr\,Bo/St}$. In addition, the following non-dimensional
geometric parameters are relevant:
\begin{equationc}
\mathrm{A}=\frac{d_s}{h}, \quad
\theta,
\end{equationc}
where $\theta$ is the inclination of the ground with respect to the
horizontal.

\end{document}

> why do you cant to change it in the first place?
>

Normally, I don't mess around with these settings, but I'm writing a
proposal limited to 15 pages, so having lots of unused white space is
not an option.

Thanks.

Lars Madsen

unread,
Jun 9, 2008, 9:41:59 AM6/9/08
to
andreas wrote:
> On Jun 9, 9:13 am, Lars Madsen <dal...@RTFSIGNATUREimf.au.dk> wrote:
>> andreas wrote:
>>> To change the spacing around equations, I changed
>>> {above,below}display[short]skip, but found it only worked when put
>>> inside the equation environment (in contrast to what some websites and
>>> documents state). So I defined my own equation environment, but now I
>>> find that after each equation, there's a very small (about 0.5em)
>>> indentation I can't get rid of.
>>> Thanks for any advice.
>> could you please provide us with an minimal example of what you have tried.
>>
>
> This snipped reproduces the problem:
>
> \documentclass[letterpaper,twoside,12pt]{article}
>
> \newenvironment{equationc}%
> {\begin{equation}%
> \setlength{\abovedisplayskip}{3pt plus 0pt minus 1pt}%
> \setlength{\abovedisplayshortskip}{0pt plus 0pt minus 3pt}%
> \setlength{\belowdisplayskip}{3pt plus 0pt minus 1pt}%
> \setlength{\belowdisplayshortskip}{3pt plus 0pt minus 1pt}}%
> {\end{equation}}%
>

no good, they are already set and used at this point, place the length setting
in the preamble instead

[snip]

>
>> why do you cant to change it in the first place?
>>
>
> Normally, I don't mess around with these settings, but I'm writing a
> proposal limited to 15 pages, so having lots of unused white space is
> not an option.
>
> Thanks.
>

have you considered using amsart instead, it has already been heavily edited as
to reduce space


>> --
>>
>> /daleif (remove RTFSIGNATURE from email address)
>>
>> LaTeX FAQ: http://www.tex.ac.uk/faq
>> LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
>> Remember to post minimal examples, see URL belowhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxamplhttp://www.minimalbeispiel.de/mini-en.html
>


--

/daleif (remove RTFSIGNATURE from email address)

andreas

unread,
Jun 9, 2008, 9:47:09 AM6/9/08
to
On Jun 9, 9:41 am, Lars Madsen <dal...@RTFSIGNATUREimf.au.dk> wrote:
> andreas wrote:
> > On Jun 9, 9:13 am, Lars Madsen <dal...@RTFSIGNATUREimf.au.dk> wrote:
> >> andreas wrote:
> >>> To change the spacing around equations, I changed
> >>> {above,below}display[short]skip, but found it only worked when put
> >>> inside the equation environment (in contrast to what some websites and
> >>> documents state). So I defined my own equation environment, but now I
> >>> find that after each equation, there's a very small (about 0.5em)
> >>> indentation I can't get rid of.
> >>> Thanks for any advice.
> >> could you please provide us with an minimal example of what you have tried.
>
> > This snipped reproduces the problem:
>
> > \documentclass[letterpaper,twoside,12pt]{article}
>
> > \newenvironment{equationc}%
> >   {\begin{equation}%
> >     \setlength{\abovedisplayskip}{3pt plus 0pt minus 1pt}%
> >     \setlength{\abovedisplayshortskip}{0pt plus 0pt minus 3pt}%
> >     \setlength{\belowdisplayskip}{3pt plus 0pt minus 1pt}%
> >     \setlength{\belowdisplayshortskip}{3pt plus 0pt minus 1pt}}%
> >   {\end{equation}}%
>
> no good, they are already set and used at this point, place the length setting
> in the preamble instead
>

I've tried that, setting the lengths there makes no difference
whatsoever.

> [snip]
>
>
>
> >> why do you cant to change it in the first place?
>
> > Normally, I don't mess around with these settings, but I'm writing a
> > proposal limited to 15 pages, so having lots of unused white space is
> > not an option.
>
> > Thanks.
>
> have you considered using amsart instead, it has already been heavily edited as
> to reduce space

No, I will take a look.

>
> >> --
>
> >> /daleif (remove RTFSIGNATURE from email address)
>
> >> LaTeX FAQ:      http://www.tex.ac.uk/faq
> >> LaTeX book:    http://www.imf.au.dk/system/latex/bog/  (in Danish)

> >> Remember to post minimal examples, see URL belowhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxamplhttp://www.min...

andreas

unread,
Jun 9, 2008, 9:53:00 AM6/9/08
to
On Jun 9, 9:47 am, andreas <ahaselbac...@gmail.com> wrote:
> On Jun 9, 9:41 am, Lars Madsen <dal...@RTFSIGNATUREimf.au.dk> wrote:
>
> > have you considered using amsart instead, it has already been heavily edited as
> > to reduce space
>
> No, I will take a look.

It seems to me that I will have to customize the class quite a bit to
conform to the proposal guidelines...

Ulrike Fischer

unread,
Jun 9, 2008, 9:58:49 AM6/9/08
to
Am Mon, 9 Jun 2008 06:47:09 -0700 (PDT) schrieb andreas:

> > >     \setlength{\abovedisplayskip}{3pt plus 0pt minus 1pt}%
> > >     \setlength{\abovedisplayshortskip}{0pt plus 0pt minus 3pt}%
> > >     \setlength{\belowdisplayskip}{3pt plus 0pt minus 1pt}%
> > >     \setlength{\belowdisplayshortskip}{3pt plus 0pt minus 1pt}}%

>> no good, they are already set and used at this point, place the length setting
>> in the preamble instead
>>
>
> I've tried that, setting the lengths there makes no difference
> whatsoever.

The skips are defined and set throught the \normalsize-command. In your
case you find it in size12.clo. So you should do copy the original
definition between \makeatletter/\makeatother in your preamble and
change the values there:


\makeatletter
\renewcommand\normalsize{%
\@setfontsize\normalsize\@xiipt{14.5}%
\abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@
\abovedisplayshortskip \z@ \@plus3\p@
\belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
\belowdisplayskip \abovedisplayskip
\let\@listi\@listI}
\makeatother

--
Ulrike Fischer

andreas

unread,
Jun 9, 2008, 10:08:33 AM6/9/08
to

That did it - thanks again, Ulrike.

> --
> Ulrike Fischer

0 new messages