General ⇒ Line spacing problem
Line spacing problem
I justified a quote to the right, preceding a verse which is flushed to the left. The problem is that no matter what I do, Latex will not put double space between the quote and the verse.
This is the code I used:
\addcontentsline{toc}{chapter}{\bf Siempre \dotfill}
\chapter*{Siempre}
\begin{raggedleft}
``Siempre llega mi mano\\
mas tarde que otra mano\\
que se mezcla a la m\'ia\\
y forman una mano''\\
\\
Dicotom\'ia Incruenta\\
Oliverio Girondo\\
\end{raggedleft}
\\
\\
\\
Siempre llega mi cuerpo\\
al cuerpo que te habita\\
antes de haber llegado\\
y en el preciso instante\\
en el que me presencias\\
reaparezco de negro\\
visitando tu cuarto\\
cargado de recuerdos\\
This is the code I used:
\addcontentsline{toc}{chapter}{\bf Siempre \dotfill}
\chapter*{Siempre}
\begin{raggedleft}
``Siempre llega mi mano\\
mas tarde que otra mano\\
que se mezcla a la m\'ia\\
y forman una mano''\\
\\
Dicotom\'ia Incruenta\\
Oliverio Girondo\\
\end{raggedleft}
\\
\\
\\
Siempre llega mi cuerpo\\
al cuerpo que te habita\\
antes de haber llegado\\
y en el preciso instante\\
en el que me presencias\\
reaparezco de negro\\
visitando tu cuarto\\
cargado de recuerdos\\
- Attachments
-
- siempre-sample.tiff (72.48 KiB) Viewed 5441 times
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
Line spacing problem
Hi Vikthor,
\\ marks an end of line, don't use it to produce vertical space. A better way would be \vspace, for instance
or just some other length.
Stefan
\\ marks an end of line, don't use it to produce vertical space. A better way would be \vspace, for instance
Code: Select all
\vspace{\baselineskip}
Stefan
LaTeX.org admin
Re: Line spacing problem
Hi Stefan,
Thank you, it work!
Thank you, it work!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Line spacing problem
Some additional information. Obviously you want to start chapters with a quote, called epigraph. Perhaps the epigraph package can help you in placing and formatting this quote.
Best regards
Thorsten¹
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Line spacing problem
Hi Vikthor,
some additional recommendations (most of them included in the code below). The \bf command you are using is superfluous and, most important, is obsolete (refer to l2tabu for details):
some additional recommendations (most of them included in the code below). The \bf command you are using is superfluous and, most important, is obsolete (refer to l2tabu for details):
Code: Select all
l\documentclass{book}
\begin{document}
\tableofcontents
\addcontentsline{toc}{chapter}{Siempre \dotfill}
\chapter*{Siempre}
\begin{raggedleft}
``Siempre llega mi mano\\
mas tarde que otra mano\\
que se mezcla a la m\'ia\\
y forman una mano''\\[1em]%to add some space between the poem and its name and author
Dicotom\'ia Incruenta\\
Oliverio Girondo\\
\end{raggedleft}
\vspace{2\baselineskip}%to add some vertical space
%use \noindent to prevent undesired indentations
\noindent Siempre llega mi cuerpo\\
al cuerpo que te habita\\
antes de haber llegado\vspace{\baselineskip}%to add some vertical space
\noindent y en el preciso instante\\
en el que me presencias\\
reaparezco de negro\\
visitando tu cuarto\\
cargado de recuerdos
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Line spacing problem
Hi Thorsten and Medina,
Thanks for your help. My knowledge of Latex is at best amateurish and certainly rudimentary. My approach is basically that of try and error-- I try commands until I obtain a desire visual effect. For instance I wanted to start my preface with a left flushed quote. Check what I did to get that effect.
\addcontentsline{toc}{preface}{\bf Pr\'ologo \dotfill}
\chapter*{Pr\'ologo}
\begin{raggedleft}
\emph{Me estremeci\'o la mujer\\
que pari\'o once hijos\\
en el tiempo de la harina\\
y un quilo de pan\\
y los mir\'o endurerce\\
mascando caritos\\
me estremeci\'o\\
por que era mi abuela ademas}\vspace{\baselineskip}
\emph{Me estremecieron mujeres\\
que la historia not\'o entre laureles\\
y otras desconocidas gigantes\\
que no hay libro que las aguante}\vspace{\baselineskip}
\emph{Me han estremecido\\
un mont\'on de mujeres\\
mujeres de fuego\\
mujeres de nieve}\vspace{\baselineskip}
\emph{Me han estremecido\\
un mont\'on de mujeres\\
mujeres de fuego\\
mujeres de nieve}\vspace{\baselineskip
Silvio Rodr\'iguez\\
Mujeres\\
\end{raggedleft}
\vspace{\baselineskip}
Thanks for your help. My knowledge of Latex is at best amateurish and certainly rudimentary. My approach is basically that of try and error-- I try commands until I obtain a desire visual effect. For instance I wanted to start my preface with a left flushed quote. Check what I did to get that effect.
\addcontentsline{toc}{preface}{\bf Pr\'ologo \dotfill}
\chapter*{Pr\'ologo}
\begin{raggedleft}
\emph{Me estremeci\'o la mujer\\
que pari\'o once hijos\\
en el tiempo de la harina\\
y un quilo de pan\\
y los mir\'o endurerce\\
mascando caritos\\
me estremeci\'o\\
por que era mi abuela ademas}\vspace{\baselineskip}
\emph{Me estremecieron mujeres\\
que la historia not\'o entre laureles\\
y otras desconocidas gigantes\\
que no hay libro que las aguante}\vspace{\baselineskip}
\emph{Me han estremecido\\
un mont\'on de mujeres\\
mujeres de fuego\\
mujeres de nieve}\vspace{\baselineskip}
\emph{Me han estremecido\\
un mont\'on de mujeres\\
mujeres de fuego\\
mujeres de nieve}\vspace{\baselineskip
Silvio Rodr\'iguez\\
Mujeres\\
\end{raggedleft}
\vspace{\baselineskip}
- Attachments
-
- prologo.tiff (83.05 KiB) Viewed 5337 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Line spacing problem
Have you already thought about using the verse environment? It makes typesetting of such structures much easier. Consider the following example.
Put the verse environment with its contents wherever you want. The text will be a little bit indented, but ragged to the left.
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[spanish]{babel}
\usepackage{txfonts}
\parindent0em
\begin{document}
\begin{verse}
\itshape
Me estremeci\'o la mujer\\
que pari\'o once hijos\\
en el tiempo de la harina\\
y un quilo de pan\\
y los mir\'o endurerce\\
mascando caritos\\
me estremeci\'o\\
por que era mi abuela ademas
Me estremecieron mujeres\\
que la historia not\'o entre laureles\\
y otras desconocidas gigantes\\
que no hay libro que las aguante
Me han estremecido\\
un mont\'on de mujeres\\
mujeres de fuego\\
mujeres de nieve
Me han estremecido\\
un mont\'on de mujeres\\
mujeres de fuego\\
mujeres de nieve
% \medskip
\upshape
Silvio Rodr\'iguez\\
Mujeres\\
\end{verse}
\end{document}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Line spacing problem
Hi Vikthor,
as localghost initially suggested, the epigraph package could be useful too:
P.S.: I took the liberty of changing some words in the lyrics that you posted: "anot\'o" intead of "not\'o" and "carijos" instead of "caritos". I think that those are the original words used by Silvio.
as localghost initially suggested, the epigraph package could be useful too:
Code: Select all
\documentclass[12pt,a4paper]{report}
\usepackage{epigraph}
\renewcommand\textflush{flushright}%the justification of the text
\setlength\epigraphwidth{6cm}%the width of the epigraph
\begin{document}
\tableofcontents
\chapter*{Pr\'ologo}
\addcontentsline{toc}{preface}{\bf Pr\'ologo \dotfill}
\addtocontents{toc}{\addvspace{10pt}}%add some vertical space before the next entry
%of the ToC
\epigraph{\itshape Me estremeci\'o la mujer\\
que pari\'o once hijos\\
en el tiempo de la harina\\
y un quilo de pan\\
y los mir\'o endurerce\\
mascando carijos\\
me estremeci\'o\\
por que era mi abuela adem\'as\vspace{\baselineskip}
Me estremecieron mujeres\\
que la historia anot\'o entre laureles\\
y otras desconocidas gigantes\\
que no hay libro que las aguante\vspace{\baselineskip}
Me han estremecido\\
un mont\'on de mujeres\\
mujeres de fuego\\
mujeres de nieve\vspace{\baselineskip}
Me han estremecido\\
un mont\'on de mujeres\\
mujeres de fuego\\
mujeres de nieve}{%
Silvio Rodr\'iguez\\
Mujeres}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Line spacing problem
Hi there,
Thanks for the input. I will look into it. About the verse environment, I just don't like the initial indentation that comes with it. Medina, thanks for the grammatical correction I have not proof read my work yet
Thanks for the input. I will look into it. About the verse environment, I just don't like the initial indentation that comes with it. Medina, thanks for the grammatical correction I have not proof read my work yet
