2

I am having the same problem in memoir as JSBձոգչ. This question had been posted before, but unfortunately the solution proposed by the asker himself seemed to be a minor tweak and did not resolve the problem (besides, I cannot change the font to something else because I am using the standard CM). Let me quote this:

I'm having a problem where lines which are almost long enough to cause the verse environment to break a line are creating an unwanted blank line. It seems as if the environment is breaking the line, but doesn’t actually have anything to put on that line.

Here is my MWE of the problem I got while typesetting a verse in Macedonian (babel has no Macedonian hyphenation rules, so I am using Russian ones):

\documentclass[11pt]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[paper=a4paper, showframe]{geometry}
\usepackage[russian]{babel}
\usepackage{microtype}

\begin{document}
\begin{verse}
Tаа мозаична креација, Вавилон сака да го состави, \\*
секојдневно ја пишува светската историја "--- познавајќи исклучиво кинески, \\
работи на природен пергамент користејќи камен, \\
сликовно писмо со клинест примес \\*
и арапски акцент со јапонска мускулна моторика. 
\end{verse}
\end{document}

Wrong empty line

This is likely to be a bug, so I do not want to change the \textwidth or other general parameters just for the sake of this occurrence (otherwise everything else will shift, which I do not want to happen).

Any help would be appreciated!

1 Answer 1

3

Hmm it shouldn't be needed but you can add \nobreak before the \\ to avoid the double linebreak. You only need to add one, but I add one everywhere here to show it is safe to add even if the line is not exactly full.

\documentclass[11pt]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[paper=a4paper, showframe]{geometry}
\usepackage[russian]{babel}
\usepackage{microtype}

\begin{document}
\begin{verse}
Tаа мозаична креација, Вавилон сака да го состави,\nobreak\\*
секојдневно ја пишува светската историја "--- познавајќи исклучиво кинески,\nobreak\\
работи на природен пергамент користејќи камен,\nobreak\\
сликовно писмо со клинест примес\nobreak\\*
и арапски акцент со јапонска мускулна моторика. 
\end{verse}
\end{document}

I think this is a bug in memoir which could be fixed using the definition as below

\documentclass[11pt]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[paper=a4paper, showframe]{geometry}
\usepackage[russian]{babel}
\usepackage{microtype}

\makeatletter
\renewcommand*{\@vslnumright}{%
  \nobreak%<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  \hfill\rlap{%\kern\vrightskip\kern\rightmargin%
              \kern\memRTLvrightskip\kern\rightmargin%
              \vlvnumfont\getthelinenumber{poemline}{memfvsline}}}
\makeatother
\begin{document}

\begin{verse}
Tаа мозаична креација, Вавилон сака да го состави,\\*
секојдневно ја пишува светската историја "--- познавајќи исклучиво кинески,\\
работи на природен пергамент користејќи камен,\\
сликовно писмо со клинест примес\\*
и арапски акцент со јапонска мускулна моторика. 
\end{verse}
\end{document}
2

You must log in to answer this question.

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