![逐字模式下的乳胶点符号](https://linux22.com/image/412131/%E9%80%90%E5%AD%97%E6%A8%A1%E5%BC%8F%E4%B8%8B%E7%9A%84%E4%B9%B3%E8%83%B6%E7%82%B9%E7%AC%A6%E5%8F%B7.png)
答案1
你实际上不需要verbatim
,但你可以使用它。
\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}
使用旧版本的 LaTeX(2019 之前),您想要添加\usepackage{textcomp}
。