[tex-live] what to do if I want to use different paragraph separation
Zdenek Wagner
zdenek.wagner at gmail.com
Mon Oct 26 17:07:50 CET 2015
2015-10-26 16:54 GMT+01:00 Matej Kosik <
5764c029b688c1c0d24a2e97cd764f at gmail.com>:
> Hi,
>
> On 10/26/2015 03:04 PM, David Carlisle wrote:
> > Note tex-live list is for issues relating to the texlive distribution,
> > not for help with tex questions,
>
> I did not know that. I am sorry. Next time, I'll look for a different
> place.
>
> > but anyway you could use
> > \usepackage{parskip}
> > which tries to hide some of the "hiddden" paragraphs from the
> > effects of increasing \parskip.
>
> Unfortunatelly, one of the side-effect of the "parskip" package seem to be
> that the vertical space around \paragraph is also doubled :-(
>
The sectioning commands also start a new paragraph, both for the title and
for the first paragraph below the title. With the exception of \chapter all
of them are implemented via \@startsection. The dimensions (various spaces)
cannot be set to a negative value in order to compensate \parskip because
negative values have different meaning (it is described even in Czech in
CSTUG bulletin in one part of my "LaTeXová kuchařka"). You have to redefine
\@startsection to set \parskip to zero temporarily (if the parskip package
does not do that).
>
> I am not sure if this is known and not easily unfixable or unknown and
> fixable.
>
> >
> > David
> >
>
Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
> >
> > On 26 October 2015 at 13:57, Matej Kosik
> > <5764c029b688c1c0d24a2e97cd764f at gmail.com> wrote:
> >> Dear all,
> >>
> >> Normally, empty line in the *.tex file indicates that we want to start
> a new paragraph.
> >> In the standard LaTeX classes (article, book, ...), a new paragraphs
> are indicated by indentation.
> >>
> >> What is the best solution when, instead of indentation, I want to
> indicate the beginning of a new paragraph
> >> by a vertical space in between of adjacent paragraphs?
> >>
> >> When I try this:
> >>
> >> \setlength\parindent{0cm}
> >> \setlength\parskip{.5em}
> >>
> >> the paragraphs are separated in the desired way,
> >> but changing those variables affects typesetting of other elements
> which consequently look horrible.
> >> - there is now a excess space between itemized list and the surrounding
> text
> >> - there is now an excess space between individual elements of the
> itemized list.
> >>
> >> If I want to change the paragraph separation but keep everything else
> unchanged, what should I do?
> >>
> >> Somewhere on StackExchange, the advice read "you need to define your
> own LaTeX class".
> >> Is this true?
> >> If yes, didn't somebody already did this in some class?
> >>
> >> Thanks you in advance for any tips that might help.
> >> --
> >> Matej
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20151026/448fc0da/attachment.html>
More information about the tex-live
mailing list