诗节结尾处的问题 - 诗节包

诗节结尾处的问题 - 诗节包

我正在学习 LaTeX,但在宏方面遇到了问题\\!

例如当我写:

    Comme un soleil couchant dans un ciel nébuleux. \\!

这是我在 pdf 上得到的内容:

    Comme un soleil couchant dans un ciel nébuleux.
    !

有人能告诉我我做错了什么吗?

答案1

这是一个建议,但我不确定这在任何情况下是否有效:

用于\shorthandoff{!}禁用法语字体的特殊含义!(无论其含义是什么)

如果需要的话,可以稍后使用 再次启用它\shorthandon{!}

\documentclass{article}

\usepackage{verse}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}

\begin{document}

\shorthandoff{!}
\poemlines{1}
\begin{verse}
Comme un soleil couchant dans un ciel nébuleux. \\
Comme un soleil couchant dans un ciel nébuleux. \\!
Comme un soleil couchant dans un ciel nébuleux. \\
Comme un soleil couchant dans un ciel nébuleux. \\!
\end{verse}

\end{document}

在此处输入图片描述

相关内容