Is it possible to auto-wrap in the verbatim package? Currently, my code doesn't work. It looks weird.
\documentclass[twocolumn]{ltxdoc}
\usepackage{amsmath}
\documentclass[twocolumn]{ltxdoc}
\usepackage{amsmath}
\usepackage{verbatim}
\usepackage{lipsum}
\usepackage[margin=1in]{geometry}
\begin{document}
\begin{verbatim}
cypher1 = MATCH (c:Product)-[r1:requiredProcess]->(d:Process) where c.ProductName = 'Product1' WITH COUNT(DISTINCT(d)) as number RETURN 'Process Number:'
\end{verbatim}
\end{document}
\texttt{cypher1 = MATCH (c:Product)-[r1:requiredProcess]->(d:Process) where c.ProductName = 'Product1' WITH COUNT(DISTINCT(d)) as number RETURN 'Process Number:'}would seem more natural – David Carlisle Nov 01 '22 at 00:42listingsorminted, both can automatically wrap lines – samcarter_is_at_topanswers.xyz Jan 16 '23 at 15:42