Adjust vertical spaces with \lineskip instead of \parskipAdd tags
10 posts
• Page 1 of 1
Adjust vertical spaces with \lineskip instead of \parskipHello everyone and sorry for the complicated title, didn't know how to say it better.
My problem: I wrote a class file for a scientific journal using a two-column layout. But testing showed that there is a problem with the adjustment of vertical space as the spaces between paragraphs sometimes simply get too large. Different settings for \parskip (e.g. \setlength{\parskip}{0.1ex \@plus.01ex \@minus.005ex}) didn't help. If I insert
I hope someone has a solution. Thanks in advance, Jan
Re: Adjust vertical spaces with \lineskip instead of \parskipHi Jan,
you could set \beselineskip with glue, for example:
Perhaps try to vary \lineskiplimit (dimen) and \lineskip (glue) too. Stefan LaTeX Community Administrator
Re: Adjust vertical spaces with \lineskip instead of \parskipI have already tested \baslineskip and tried the other two but there was no effect in the document.
I had some success using for example
but I appreciate to use something like
but the use of decimal numbers or 0s leads to bad results (large paragraph skips, uneven bottomline of text). Anybody has an idea why? Regards, Jan
Re: Adjust vertical spaces with \lineskip instead of \parskipHi Jan,
Perhaps you could show a minimal working example for the board reader to reproduce/test it. Stefan LaTeX Community Administrator
Re: Adjust vertical spaces with \lineskip instead of \parskipAlready tested that.
Hmm, seems to work when simply using it in a document but not in the class file. I have another question regarding a problem with different references of figure and figure* environments. Should I post it in another thread? Regards, Jan
Re: Adjust vertical spaces with \lineskip instead of \parskip
Yes, feel free to open a new thread with an appropriate title, that makes it easier to find the topic later, especially by other people looking for information concerning similar problems. Stefan LaTeX Community Administrator
Re: Adjust vertical spaces with \lineskip instead of \parskipQuick follow-up:
Stefan suggested the following code:
Where is there an explanation of this syntax?
I have the latex companion and have found the setlength reference (p.855), but this is not explained as far as I could tell. cheers,
Re: Adjust vertical spaces with \lineskip instead of \parskipHi,
you will find explanation for instance in "TeX by Topic", the systematic tex reference manual by Victor Eijkhout, freely available online in pdf format. See chapter 8, Dimension and Glue, especially 8.3 More about glue. Or take the TeXbook by Donald Knuth of course. You may find shorter explanations by using a search engine for tex and glue. Above ist just a length of 1pt that may be stretched to 2pt or shrinked to 0.5pt. Stefan LaTeX Community Administrator
Re: Adjust vertical spaces with \lineskip instead of \parskipPerfect, I'll grab these ebooks and get to reading!
cheers,
|





