0

I have two paragraphs; one in spanish and the other in english. The problem is that the english paragraph has more line spacing than the other (I would like that both have the line spacing of the spanish one):

enter image description here

Here is the MWE:

\documentclass[a5paper, 11pt]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[spanish,es-tabla]{babel}
\usepackage{hyperref}
\hypersetup{
    colorlinks=true,
    linkcolor=black,
    filecolor=magenta,      
    urlcolor=blue,
  }

\begin{document}

{\footnotesize \setlength{\parindent}{0pt} Copyleft: Esta obra es
  libre; puede redistribuirla o modificarla de acuerdo con los
  términos de la Licencia Arte Libre
  \url{https://artlibre.org/licence/lal/en/}.

  Copyleft: This is a free work; you can copy, distribute, and modify
  it under the terms of the Free Art License
  \url{https://artlibre.org/licence/lal/en/}.  }

\end{document}
0

1 Answer 1

3

You need to end the paragraph by using \par before closing the group associated to \footnotesize.

Related question: Temporarily increase line spacing

The following code will produce the intended output:

\documentclass[a5paper,11pt]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[spanish,es-tabla]{babel}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=black,
filecolor=magenta,
urlcolor=blue,
}

\begin{document}

{\footnotesize\setlength{\parindent}{0pt}
  Copyleft: Esta obra es libre; puede redistribuirla o modificarla de
  acuerdo con los términos de la Licencia Arte Libre
  \url{https://artlibre.org/licence/lal/en/}.

  Copyleft: This is a free work; you can copy, distribute, and modify
  it under the terms of the Free Art License
  \url{https://artlibre.org/licence/lal/en/}.\par}

\end{document}

Output

2
  • 2
    yes or like the first paragraoh, just leave a blank line rather than \par (I'd use \par in package code and a blanl line in a document) Feb 17, 2022 at 16:41
  • @Rui Antunes: Thanks! Works great! Feb 17, 2022 at 18:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .