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

"soft verbatim"

15 views
Skip to first unread message

me

unread,
Jul 26, 2011, 8:11:48 AM7/26/11
to
Hi guys,

In my text, I have \parskip set to 20pt, but sometimes I'd like to
start new paragraphs right after the last one (on the next line,
without empty line), How would I go arround this?

Right now I'm using \\ and then \indent if appropiate, which sometimes
it's also not, but I find tedious having to do this each time.

All I tried so far leads me to break \par, so I was just wondering if
there's exist some aid to this?

The ideal thing would cause a new paraphraph to take place on the next
line (ignoring \parskip) if `\n' is seen just once, or go for the
normal behaviour if seen twice, as usual.

Any clues?

Regards,

me

unread,
Jul 26, 2011, 8:12:03 AM7/26/11
to

Enrico Gregorio

unread,
Jul 26, 2011, 8:30:35 AM7/26/11
to
me <ecost...@gmail.com> wrote:

Never use a non zero indent with a non zero parskip. If you prefer
to have vertical space between paragraphs, there's no reason why
a paragraph shouldn't be separated from the preceding one.

There's no such thing as a "semiparagraph": this will only confuse
your readers. What about a "semiparagraph" ending at the bottom
of the page?

IMO, though, a non zero parskip is a useful convention for
commercial letters, not for typographically sound texts.

Ciao
Enrico

me

unread,
Jul 26, 2011, 8:47:35 AM7/26/11
to
Thanks for you answer. This isn't actually my text but someone else's.

I guess it's a matter of styles, though. I do myself use non-idented
paragraphs but only if the first on a chapter or so, the rest are all
with some skip and indentation.

Semi-paragaphs as you call them are quite common in spanish
literature, some times you get skips, sometimes not. Most of times you
get indentation whether with skip or not, but sometimes you just
don't.

On 26 jul, 13:30, Enrico Gregorio <Facile.da.trov...@in.rete.it>
wrote:

Enrico Gregorio

unread,
Jul 26, 2011, 9:01:49 AM7/26/11
to
me <ecost...@gmail.com> wrote:

> Thanks for you answer. This isn't actually my text but someone else's.

Please, don't top post: on Usenet it's preferred to see the relevant
part of the message before the (partial) answer.

> I guess it's a matter of styles, though. I do myself use non-idented
> paragraphs but only if the first on a chapter or so, the rest are all
> with some skip and indentation.

I don't: always indent and no space. Some paragraphs can be non
indented if they have a label (a theorem, for instance) or if
they are the first after a title.

> Semi-paragaphs as you call them are quite common in spanish
> literature, some times you get skips, sometimes not. Most of times you
> get indentation whether with skip or not, but sometimes you just
> don't.

Can you point to an authoritative source? A book from an important
publisher, for example.

Ciao
Enrico

me

unread,
Jul 26, 2011, 10:54:48 AM7/26/11
to
On 26 jul, 14:01, Enrico Gregorio <Facile.da.trov...@in.rete.it>
wrote:

Sorry,

Yes, Mario Vargas Llosa for example.

Bye,

Javier Bezos

unread,
Jul 26, 2011, 11:02:27 AM7/26/11
to
El 26/07/2011 16:54, me escribi�:

> Yes, Mario Vargas Llosa for example.

Does Vargas Llosa typeset his books? :-)

Javier
-----------------------------
http://www.tex-tipografia.com

Enrico Gregorio

unread,
Jul 26, 2011, 12:04:43 PM7/26/11
to
me <ecost...@gmail.com> wrote:

<http://books.google.com/books?id=cr-5fNt9va8C&printsec=frontcover&dq=ma
rio+vargas+llosa&hl=en&ei=luQuToWPFc-eOvCs5X4&sa=X&oi=book_result&ct=res
ult&resnum=4&ved=0CEEQ6AEwAw#v=onepage&q&f=false>

<http://books.google.com/books?id=-PleAH1ffusC&printsec=frontcover&dq=ma
rio+vargas+llosa&hl=en&ei=DuUuTvnGB47pOc_G6X4&sa=X&oi=book_result&ct=res
ult&resnum=3&ved=0CD0Q6AEwAg#v=onepage&q&f=false>

Normal indent and no spacing.

Ciao
Enrico

Donald Arseneau

unread,
Jul 26, 2011, 4:44:12 PM7/26/11
to
me <ecost...@gmail.com> writes:

> In my text, I have \parskip set to 20pt, but sometimes I'd like to
> start new paragraphs right after the last one (on the next line,
> without empty line), How would I go arround this?
>
> Right now I'm using \\ and then \indent if appropiate, which sometimes
> it's also not, but I find tedious having to do this each time.

I think the \indent would be appropriate almost always.
Tedious to type \\\indent? How many of them are there?
Maybe that should be the ordinary paragraph (\par) and
the ones with major breaks get something typed (like
\bigskip).

> The ideal thing would cause a new paraphraph to take place on the next
> line (ignoring \parskip) if `\n' is seen just once, or go for the
> normal behaviour if seen twice, as usual.

Do you mean a macro \n or a line-end?

That is certainly possible, but I bet there are lots of
single line-ends where you don't really want a \par command.


Donald Arseneau as...@triumf.ca

me

unread,
Jul 26, 2011, 6:21:21 PM7/26/11
to
On 26 jul, 21:44, Donald Arseneau <a...@triumf.ca> wrote:

> me <ecosta....@gmail.com> writes:
> > In my text, I have \parskip set to 20pt, but sometimes I'd like to
> > start new paragraphs right after the last one (on the next line,
> > without empty line), How would I go arround this?
>
> > Right now I'm using \\ and then \indent if appropiate, which sometimes
> > it's also not, but I find tedious having to do this each time.
>
> I think the \indent would be appropriate almost always.
> Tedious to type \\\indent?  How many of them are there?
> Maybe that should be the ordinary paragraph (\par) and
> the ones with major breaks get something typed (like
> \bigskip).

Yes, \indent it's almost always present, and as per typing `\\\indent'
is tedious because I'd get to use it a lot among the 600 pages the
document has.

The ratio between normal paragraphs (with skip), and those without it,
it's about 50-50, so the less commands I could write for each, the
better.

>
> > The ideal thing would cause a new paraphraph to take place on the next
> > line (ignoring \parskip) if `\n' is seen just once, or go for the
> > normal behaviour if seen twice, as usual.
>
> Do you mean a macro \n or a line-end?
>

Actually a line-end.

> That is certainly possible, but I bet there are lots of
> single line-ends where you don't really want a \par command.
>

By studying the text I came to that conclusion, that a strict use of
the end-line char would save me a lot of work. Still, for those cases
where non-wanted things could be reverted temporally or something.

> Donald Arseneau                          a...@triumf.ca

Peter Flynn

unread,
Jul 26, 2011, 8:32:40 PM7/26/11
to

\par\vspace{-\parskip}

But far better would be to identify *why* the author wants this
(continuation of a train of thought, perhaps), and create an
appropriately-named macro for it.

///Peter

Donald Arseneau

unread,
Jul 27, 2011, 6:04:53 AM7/27/11
to
me <ecost...@gmail.com> writes:


OK then, try this. \useeol and \noeol are the switches.

\begingroup
\makeatletter
\obeylines %
\xdef\EOL{\noexpand\protect\expandafter\noexpand\csname \string
\space\endcsname}%
\expandafter\gdef\csname \string
\space\endcsname{\ifvmode \addvspace{\medskipamount}\fi \par}%
\gdef\useeol{\obeylines \let ^^M=\EOL}%
\endgroup

\def\noeol{\catcode 13=5 }

Donald Arseneau as...@triumf.ca

jfh

unread,
Jul 27, 2011, 8:00:47 PM7/27/11
to
On Jul 27, 10:21 am, me <ecosta....@gmail.com> wrote:
>
> Yes, \indent it's almost always present, and as per typing `\\\indent'
> is tedious because I'd get to use it a lot among the 600 pages the
> document has.

One way to save your fingers and avoid defining a new command is to
type something that never appears in the document (perhaps ##) and
when you reach the end do a global change of ## to \\\indent which is
quick and easy with a text editor.

John Harper

me

unread,
Jul 28, 2011, 7:48:36 AM7/28/11
to
On 27 jul, 11:04, Donald Arseneau <a...@triumf.ca> wrote:
> Donald Arseneau                          a...@triumf.ca

Thanks so much Donald!,

useeol and noeol doesn't work for me if used as is, or if remove white
spaces between sequences. But I'll study it in depth and try to use it
a starting point.

Thanks again for you time and help,

me

unread,
Jul 28, 2011, 11:52:51 AM7/28/11
to
On 27 jul, 11:04, Donald Arseneau <a...@triumf.ca> wrote:
> Donald Arseneau                          a...@triumf.ca

Thanks Donald!

It doesn't work for me, tough, either as is or stripping it off white-
spaces. But I'm more or less understanding the logic behind it, and I
hope I can leave it working.

Thanks again for you help and you time.

Regards,

Donald Arseneau

unread,
Jul 30, 2011, 3:09:33 AM7/30/11
to
me <ecost...@gmail.com> writes:

> On 27 jul, 11:04, Donald Arseneau <a...@triumf.ca> wrote:
> >
> > > > That is certainly possible, but I bet there are lots of
> > > > single line-ends where you don't really want a \par command.
> >
> > > By studying the text I came to that conclusion, that a strict use of
> > > the end-line char would save me a lot of work. Still, for those cases
> > > where non-wanted things could be reverted temporally or something.
> >
> > OK then, try this. � \useeol and \noeol are the switches.
>

> It doesn't work for me, tough, either as is or stripping it off white-
> spaces.

Oh oh, too bad. I don't know what you mean by "stripping it off white-
spaces"... and I can't be sure I know what you mean by "It doesn't work
for me"!

This test document works.

Since you seem to be using google-groups, be sure to "view original
format" before copying it into a test document! Google mangles the
text.

\documentclass{article}

\begingroup
\makeatletter
\obeylines %
\xdef\EOL{\noexpand\protect\expandafter\noexpand\csname \string
\space\endcsname}%
\expandafter\gdef\csname \string
\space\endcsname{\ifvmode \addvspace{\medskipamount}\fi \par}%
\gdef\useeol{\obeylines \let ^^M=\EOL}%
\endgroup

\def\noeol{\catcode 13=5 }

\begin{document}

\section{FooBar One}

That is certainly possible, but I bet there are lots of single line-ends where you don't really want a \textbackslash par command.
Here is a test By studying the text I came to that conclusion, that a strict use of the end-line char would save me a lot of work. Still, for those cases where non-wanted things could be reverted temporally or something.

That is certainly possible, but I bet there are lots of single line-ends where you don't really want a \textbackslash par command.
Here is a test By studying the text I came to that conclusion, that a strict use of the end-line char would save me a lot of work. Still, for those cases where non-wanted things could be reverted temporally or something.

\useeol%
%
\section{FooBar Two}% Use comments to hide extra line-ends.
That is certainly possible, but I bet there are lots of single line-ends where you don't really want a \textbackslash par command.
Here is a test By studying the text I came to that conclusion, that a strict use of the end-line char would save me a lot of work. Still, for those cases where non-wanted things could be reverted temporally or something.

That is certainly possible, but I bet there are lots of single line-ends where you don't really want a \textbackslash par command.
Here is a test By studying the text I came to that conclusion, that a strict use of the end-line char would save me a lot of work. Still, for those cases where non-wanted things could be reverted temporally or something.

\noeol
That is certainly possible, but I bet there are lots of single line-ends where you don't really want a \textbackslash par command.
Here is a test By studying the text I came to that conclusion, that a strict use of the end-line char would save me a lot of work. Still, for those cases where non-wanted things could be reverted temporally or something.

\end{document}

Donald Arseneau as...@triumf.ca

Guenter Milde

unread,
Aug 24, 2011, 10:02:23 AM8/24/11
to
On 2011-07-26, me wrote:
> Thanks for you answer. This isn't actually my text but someone else's.

> I guess it's a matter of styles, though. I do myself use non-idented
> paragraphs but only if the first on a chapter or so, the rest are all
> with some skip and indentation.

> Semi-paragaphs as you call them are quite common in spanish
> literature, some times you get skips, sometimes not. Most of times you
> get indentation whether with skip or not, but sometimes you just
> don't.

I see it the other way round: instead of paragaphs and semi-paragaphs,
I'd structure the source with paragraphs (indented, no vskip) and
"transitions" or "breaks" (ornamental line, three stars or just a space).
These "breaks" can be seen like a sub(sub)section without heading, hence
the next paragraph should not be indented. "Breaks" are quite common in
German prose, however the paragraph/break ratio is rather 95/5 instead of
50/50.

The example below defines a \transition macro to implement such a break.

Günter


% By default, the `transition element`_ is rendered as a horizontal line.
%
% In novels, often the form of three stars or some ornamental is used.
% A simple vertical space is also common.
%
% An article about several variants implemented in LaTeX is available at
% http://www.tug.org/pracjourn/2005-4/walden/ .
%
% The `memoir` class defines a ``\fancybreak`` macro, that includes some
% provision for page breaks and suppresses the indentation of the following
% paragraph. It takes one argument, the characters marking the break.
%
% The following macro is a somewhat simplified version without
% a starred version and with 1/2 baselineskip above and below.
% ::

\providecommand{\fancybreak}[1]{\par
\penalty -100
\vskip 0.5\baselineskip
\noindent\parbox{\linewidth}{\centering #1}\null
\penalty -20
%% \vskip -\onelineskip
\vskip 0.5\baselineskip
\@afterindentfalse
\@afterheading}

% Now use this definition to configure ``DUtransition``::

\newcommand{\startransition}{\fancybreak{*\quad*\quad*}}
\newcommand{\transition}{\fancybreak{}}

% .. _transition element:
% http://docutils.sourceforge.net/docs/user/rst/quickref.html#transitions

0 new messages