General ⇒ quote paragraphs with inconsistent spacing
quote paragraphs with inconsistent spacing
I have a document with several quotes, and the last paragraph in the quote is always double-spaced. If there's only one paragraph it is also double-spaced. The problem occurs whether I use quote or quotation. The text editor I use is TextWrangler (Mac), a free version of BBEdit.
Also, on occasion a word will stick out beyond the right margin, as if it didn't know how to hyphenate it. Is there something I can tweak for that?
Thanks in advance for any help.
Also, on occasion a word will stick out beyond the right margin, as if it didn't know how to hyphenate it. Is there something I can tweak for that?
Thanks in advance for any help.
Keep to the Code.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
quote paragraphs with inconsistent spacing
Hi webhead,
the problem should be independent of the editor used. Could you post a minimal working example that shows this unwanted behaviour? Because when I used the quote environment the spacing used to be correct, for instance in this short example:
If some words cannot be hyphenated you could use the \hyphenation command.
Stefan
the problem should be independent of the editor used. Could you post a minimal working example that shows this unwanted behaviour? Because when I used the quote environment the spacing used to be correct, for instance in this short example:
Code: Select all
\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin{quote}
\blindtext
\end{quote}
\blindtext
\end{document}
Stefan
LaTeX.org admin
Re: quote paragraphs with inconsistent spacing
Ok, attached is the file. I think it has something to do with using scriptsize.
- Attachments
-
- quoteprob.pdf
- quote spacing problem
- (10.27 KiB) Downloaded 232 times
Keep to the Code.
quote paragraphs with inconsistent spacing
This also produces the problem:
Code: Select all
\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin{quote}
\scriptsize
{\blindtext
\blindtext}
\normalsize
\end{quote}
\blindtext
\end{document}
Keep to the Code.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: quote paragraphs with inconsistent spacing
The \normalsize command affects the spacing. You could move it to the next paragraph. But probably you could remove \normalsize, because the effect of \scriptsize is limited to the quote environment.
Stefan
Stefan
LaTeX.org admin
Re: quote paragraphs with inconsistent spacing
Yes, moving it down fixes the problem, thanks!
The reason I was putting it in at all was because it didn't go back to normal after the ending brace, but seems to work in the one case I removed it now. So I'll start removing those and see if the problem of not ending scriptsize returns.
Also, for the hyphens, I keep getting the error "not a character" in many cases, even in ordinary words. Any ideas?
The reason I was putting it in at all was because it didn't go back to normal after the ending brace, but seems to work in the one case I removed it now. So I'll start removing those and see if the problem of not ending scriptsize returns.
Also, for the hyphens, I keep getting the error "not a character" in many cases, even in ordinary words. Any ideas?
Keep to the Code.
quote paragraphs with inconsistent spacing
It seems that scriptsize lasts for the whole paragraph, is that right? So then I have to use normalsize for sentence fragments?
For example,
"This should be normal size" is still scriptsize.
For example,
Code: Select all
\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin{quote}
\scriptsize
{\blindtext
\blindtext}
\scriptsize{1,2,3}This should be normal size.
\end{quote}
\blindtext
\end{document}
Last edited by webhead on Sat Jul 19, 2008 7:29 pm, edited 1 time in total.
Keep to the Code.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: quote paragraphs with inconsistent spacing
Which words are causing this error message?
Stefan
Stefan
LaTeX.org admin
quote paragraphs with inconsistent spacing
Anointed is one, I'll have to look up the others.Stefan_K wrote:Which words are causing this error message?
Stefan
ADDED: This causes the error too:
Code: Select all
\hyphenation{pro-jects,lang-uage}
Last edited by webhead on Sat Jul 19, 2008 7:31 pm, edited 1 time in total.
Keep to the Code.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
quote paragraphs with inconsistent spacing
\scriptsize lasts until the next size changing command or until the end of the environment/group. You can change the size of a single word inside a paragraph if you want.webhead wrote:It seems that scriptsize lasts for the whole paragraph, is that right? So then I have to use normalsize for sentence fragments?
Stefan
LaTeX.org admin