Any reason why? Is this regarded as a bug? Otherwise, how can
one solve the problem (except by making a different paragraph,
which is not possible under some conditions)?
------------------------------------------------------------------
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
{\Large
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
}
{\Large
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
}
{\Large
\begin{itemize}
\item foo
\end{itemize}
}
{\Large
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
}
{\Large
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
}
\end{document}
------------------------------------------------------------------
TIA for any information,
--
Vincent Lef�vre <vin...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Ar�naire project (LIP, ENS-Lyon)
> With the example below, the second "blah blah blah" paragraph
> (actually, part of the itemize paragraph, I suppose) has its
> baselineskip modified by the itemize, i.e. the space between
> its lines is larger than the one for the other paragraphs.
>
> Any reason why?
itemize inserts a \par. You would get the same effect if you used
{\Large
\par abc
}
What you are seeing is the normal baselineskip for \Large fontsize.
In all other paragraphs you don't get it because you are closing the
group around \Large before ending the paragraph.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
{\Large
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
\par
}
{\Large
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
}
\end{document}
--
Ulrike Fischer
Actually, I get _smaller_ baselines for the second paragraph.
Perhaps there were linebreaks introduced by google or perhaps
the OP copy-pasted wrong, but every paragraph except the second
had a blank line before the end of the group. I also see a blank line
between the second paragraph and the itemize (though outside the
group) so the \par coming from from the itemive environment would
not cause large baselineskips.
> blah blah blah blah blah blah blah blah blah blah blah blah
> \par
>
> }
A \par _or_ a blank line will suffice, one doesn't need both.
Again, perhaps google group inserted something.
Dan
With google groups you can always click on Show Original.
Indeed there are no blank lines inside the braces. There are
blank lines after the first and third paragraphs (outside the
braces) to end the paragraphs with normalsize baselines.
Yes, the itemize ends the preceding paragraph when \Large
is in effect so you get the right baselines for once. The other
cases are mistakes.
Donald Arseneau
> itemize inserts a \par. You would get the same effect if you used
> {\Large
> \par abc
> }
That's strange, because on the example I was given, inserting
a blank line was yieding a compilation error (I don't have the
source, but this was because of a macro related to text coloring
that couldn't be done across paragraphs). And itemize was used
inside this macro, but there were no compilation errors with it.
You say that, but in fact the correct sequence is
1. click on "More options"
2. click on "Show original".
I avoid google groups when I can help it and I certainly would
have clicked on "Show original" in this case if it had been
visible.
Dan
Does anyone know why in the world random blank lines would
get inserted around braces in google? I can't think of any good
reason for it, or even any bad one...
Dan
>> itemize inserts a \par. You would get the same effect if you used
>> {\Large
>> \par abc
>> }
> That's strange, because on the example I was given, inserting
> a blank line was yieding a compilation error (I don't have the
> source, but this was because of a macro related to text coloring
> that couldn't be done across paragraphs). And itemize was used
> inside this macro, but there were no compilation errors with it.
The question is if the \par is "visible" when reading the argument:
\documentclass{article}
\begin{document}
\newcommand\mypar{\par}
%\textbf{abc\par cde} % \par gives error
%\textbf{abc
%
%cde} %blank line gives error
\textbf{abc\mypar cde} %works
\end{document}
(But is is not good style to insert a \par in this way. Better use a
switch like \bfseries instead.)
--
Ulrike Fischer
So I see Google inserted two blank lines: one after the
real qoted text (">") and one after the fake-quoted
lines ("}"), but NOT one before the first fake-quoted
line.