Re: Vertical spacing in algorithm2e seems very uneven



snnopy67 <snoopy.67.z@xxxxxxxxxxxxxx> wrote:

You've tampered with \parskip, it seems. Don't.

Thanks a lot for your quick answer!

You are right in that the class file I have to use seems to redefine
\parskip in various places.
(The class file is egpubl.cls from Eurographics.)

So, what can I do?
I think I can't change the class file ...

Best regards,
Gabriel.

After loading that class I don't get any uneven space, please
send a minimal example, if the following doesn't work.

Try defining a personalized environment where you set a zero \parskip:

\newenvironment{myalgorithm}
{\setlength{\parskip}{0pt}\begin{algorithm}}
{\end{algorithm}}

There's no need to undo the assignment, since it is in a group.

Ciao
Enrico
.



Relevant Pages

  • Re: Changing font size of table notes in threeparttable
    ... > Donald Arseneau wrote: ... I guess there's something else in my class file or document file ... Could this from my class file be the cause: ... But do you redefine \small? ...
    (comp.text.tex)
  • Re: Vertical spacing in algorithm2e seems very uneven
    ... You are right in that the class file I have to use seems to redefine ... (The class file is egpubl.cls from Eurographics.) ... Best regards, ...
    (comp.text.tex)
  • Need help understanding an error that Im getting in Eclipse
    ... I'm trying to import a .class file located in a directory called c:\eckel1. ... properties and then Java Build Path/Libraries/Add Class Folder... ... Cannot nest 'Assignment/eckel1' inside 'Assignment'. ... BTW, I've done the same thing in JCreator (that is, added a path to the same ...
    (comp.lang.java.softwaretools)
  • How to use an external class file in eclipse
    ... I have a problem when I am working on my assignment under eclipse. ... I need an external class to do some tasks which is ... Could someone please tell me how to use the class file? ...
    (comp.lang.java.help)
  • Re: Need help understanding an error that Im getting in Eclipse
    ... > (Keep in mind that my project is called Assignment) ... > BTW, I've done the same thing in JCreator (that is, added a path to the ... > .class file that I'd like to import), and it works fine in JCreator. ...
    (comp.lang.java.softwaretools)