so I have a problem, I need to put in a dot symbol between my equations in verbatim mode. For some reason it does not work in verbatim mode, but I surely need my equations in verbatim. So do you guys know how to solve it?
here is are the screenshots
so I have a problem, I need to put in a dot symbol between my equations in verbatim mode. For some reason it does not work in verbatim mode, but I surely need my equations in verbatim. So do you guys know how to solve it?
here is are the screenshots
You don't really need verbatim, but you can use it.
\documentclass{article}
\begin{document}
\begin{flushleft}\ttfamily
\%\%Sinusse \\
y1 = x1·sin(w·t); \\
y2 = x2·sin(3w·t); \\
y3 = x3·sin(5w·t); \\
y4 = x4·sin(7w·t); \\
y5 = x5·sin(9w·t); \\
y6 = x6·sin(11w·t); \\
\end{flushleft}
\begin{verbatim}
%%Sinusse
y1 = x1·sin(w·t);
y2 = x2·sin(3w·t);
y3 = x3·sin(5w·t);
y4 = x4·sin(7w·t);
y5 = x5·sin(9w·t);
y6 = x6·sin(11w·t);
\end{verbatim}
\end{document}
With an older version of LaTeX (pre 2019), you want to add \usepackage{textcomp}.
verbatim? I don't think so. – egreg Apr 20 '20 at 19:53