Generalquote paragraphs with inconsistent spacing

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

quote paragraphs with inconsistent spacing

Post by Stefan Kottwitz »

webhead wrote:Anointed is one, I'll have to look up the others.
For instance \hyphenation{Ano-in-ted} didn't raise an error when I tried that. Could you show a small mimimal example that produces this hyphenation error? Perhaps there's something different in your code.

Stefan
LaTeX.org admin

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

webhead
Posts: 26
Joined: Sat Jul 19, 2008 5:29 pm

quote paragraphs with inconsistent spacing

Post by webhead »

This example gives errors on hyphenation, and also the scriptsize problem when there's no hyphenation problem:

Code: Select all

\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\hyphenation{pro-jects,lang-uage,ano-in-ted}
\begin{document}
\blindtext
\begin{quote}
	\scriptsize
	{\blindtext
	
	 \blindtext}
	
	\scriptsize{1,2,3}This should be normal size.
	

\end{quote}
\blindtext
\end{document}
ADDED: The hyphen problem seems to only appear when there is more than one word in the list. I must be doing something wrong.
Keep to the Code.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: quote paragraphs with inconsistent spacing

Post by Stefan Kottwitz »

Separate the words inside \hyphenation by spaces.

Stefan
LaTeX.org admin
webhead
Posts: 26
Joined: Sat Jul 19, 2008 5:29 pm

Re: quote paragraphs with inconsistent spacing

Post by webhead »

Thanks, that works. The link you gave earlier had a comma in the list, so that's what I was using.

So about scriptsize: am I using it wrong, or should it be only affecting what's between the braces?
Keep to the Code.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: quote paragraphs with inconsistent spacing

Post by Stefan Kottwitz »

Yes, the braces limit the scope of that command.

Stefan
LaTeX.org admin
webhead
Posts: 26
Joined: Sat Jul 19, 2008 5:29 pm

quote paragraphs with inconsistent spacing

Post by webhead »

Code: Select all

\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
\begin{document}

This should be normal size.\scriptsize {This should be script size.} This should be normal size.

\end{document}
I get only the first part normal size; does it make the third part normal when you run it?
Keep to the Code.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

quote paragraphs with inconsistent spacing

Post by Stefan Kottwitz »

The command has to be inside the braces, then it's scope will be limited:

Code: Select all

{\scriptsize This should be script size.}
Stefan
LaTeX.org admin
webhead
Posts: 26
Joined: Sat Jul 19, 2008 5:29 pm

Re: quote paragraphs with inconsistent spacing

Post by webhead »

Thanks!
8-)
Keep to the Code.
Post Reply