我尝试了上述代码以便按输入的方式打印,但我需要普通字体而不是打字机字体。有人可以指导我吗
答案1
你可以用表格来做。这完全复制了你的图像
\documentclass{article}
\begin{document}
\begin{tabular}{@{}l@{ = }ll}
E & electric field & [V/m]\\
s & integration path & [m]\\
V & potential in a point & [V]\\
U & voltage between electrodes & [V]
\end{tabular}
\end{document}
无论如何,我会使用siunitx
包并像那样做(请记住方括号通常表示物理尺寸):
\documentclass{article}
\usepackage{siunitx}
\begin{document}
\begin{tabular}{@{}>{$}c<{$}@{ = }ls[per-mode=symbol]}
E & electric field & \volt\per\meter \\
s & integration path & \meter \\
V & potential in a point & \volt \\
U & voltage between electrodes & \volt
\end{tabular}
\end{document}