1

im trying to get rid of the vertical space between environments, for example:

\documentclass[12pt,a4paper]{article}
\usepackage[spanish]{babel}
\usepackage{ragged2e}

\begin{document}
    \begin{justify}
        Something
    \end{justify}
    \begin{justify}
        Something else
    \end{justify}
\end{document}

enter image description here

I would like it to be like

Something
Something else

Right next below

I've tried some methods but unsuccessfully

2
  • Welcome to TeX SX! A solution, if any, depends on the environment. What is it?
    – Bernard
    Feb 18, 2016 at 23:24
  • Do you need to use two environments?
    – Werner
    Feb 18, 2016 at 23:24

1 Answer 1

1

Just like the difference between \centering and \begin{center} the environment form is a display list that adds space, and you want the command form

\documentclass[12pt,a4paper]{article}
\usepackage[spanish]{babel}
\usepackage{ragged2e}

\begin{document}

{\justifying
        Something

}{\justifying
        Something else

}
\end{document}
0

You must log in to answer this question.

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