Skip to content

\begin{verbatim} generates deprecated \tt #44

@brunom

Description

@brunom

The following .lhs

\documentclass{scrbook}
%include lhs2TeX.fmt
\begin{document}
\begin{verbatim}
foo
\end{verbatim}
\end{document}

when processed by

lhs2TeX --poly scratch.lhs -o scratch.tex && pdflatex scratch.tex

generates the warning

Class scrbook Warning: Usage of deprecated font command `\tt'!
(scrbook)              You should note, that in 1994 font command `\tt' has
(scrbook)              been defined for compatiblitiy to Script 2.0 only.
(scrbook)              Now, after two decades of LaTeX2e and NFSS2, you
(scrbook)              shouldn't use such commands any longer and within
(scrbook)              KOMA-Script usage of `\tt' is definitely deprecated.
(scrbook)              See `fntguide.pdf' for more information about
(scrbook)              recommended font commands.
(scrbook)              Note also, that KOMA-Script will remove the definition
(scrbook)              of `\tt' anytime until release of about version 3.20.
(scrbook)              But for now, KOMA-Script will replace deprecated `\tt'
(scrbook)              by `\normalfont \ttfamily ' on input line 97.

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