Skip to content

Incorrect wrapping of \verb #119

@fabawi

Description

@fabawi

Perhaps related to #104 , but the splitting of \verb+...+ occurs for commands contained within the + symbols anyway. As far as I can tell, this only happens when \verb contains a command or an environment:

In case of double column layout, tables which do not fit in single column width should be set to full text width. For this, you need to use \verb+\begin{table*}+ \verb+...+ \verb+\end{table*}+ instead of \verb+\begin{table}+ \verb+...+ \verb+\end{table}+ environment. Lengthy tables which do not fit in textwidth should be set as rotated table. For this, you need to use \verb+\begin{sidewaystable}+ \verb+...+ \verb+\end{sidewaystable}+ instead of \verb+\begin{table*}+ \verb+...+ \verb+\end{table*}+ environment. This environment puts tables rotated to single column width. For tables rotated to double column width, use \verb+\begin{sidewaystable*}+ \verb+...+ \verb+\end{sidewaystable*}+.

Which becomes:

In case of double column layout, tables which do not fit in single
column width should be set to full text width. For this, you need to use \verb+
\begin{table*}+ \verb+...+ \verb+
\end{table*}+ instead of \verb+
\begin{table}+ \verb+...+ \verb+
\end{table}+ environment. Lengthy tables which do not fit in
textwidth should be set as rotated table. For this, you need to use \verb+
\begin{sidewaystable}+ \verb+...+ \verb+
\end{sidewaystable}+ instead of \verb+
\begin{table*}+ \verb+...+ \verb+
\end{table*}+ environment. This environment puts tables rotated to
single column width. For tables rotated to double column width, use \verb+
\begin{sidewaystable*}+ \verb+...+ \verb+
\end{sidewaystable*}+.

This results in the following error:

\verb ended by end of line.

NOTE: I used the following Springer template sample (sn-article.tex) in case you'd want to test it on other instances.

Very useful tool by the way, thanks for providing it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions