我必须在学校作业中写一份数学符号列表,例如 N、R、并号、不等于号和其他一些符号。我知道所有命令,但如何将它们放入我的文件中,并在它们之间留出空格并居中,而不会收到错误消息?
只是初学者
答案1
听起来你正在做类似的事情综合 LATEX 符号列表.如果你看看来源对于该文件,他们的表格格式如下(Negated Harpoons
第 81 页的表格复制到此处):
\begin{symtable}[MNS]{\MNS\ Negated Harpoons}
\index{harpoons}
\index{restrictions}
\label{mns-nharpoons}
\begin{tabular}{*3{ll}}
\K[\MNSndownharpoonccw]\ndownharpoonccw$^*$ & \K[\MNSnneswharpoons]\nneswharpoons & \K[\MNSnseharpooncw]\nseharpooncw \\
\K[\MNSndownharpooncw]\ndownharpooncw$^*$ & \K[\MNSnneswharpoonsenw]\nneswharpoonsenw & \K[\MNSnsenwharpoons]\nsenwharpoons \\
\K[\MNSndownupharpoons]\ndownupharpoons & \K[\MNSnnwharpoonccw]\nnwharpoonccw & \K[\MNSnswharpoonccw]\nswharpoonccw \\
\K[\MNSnleftharpoonccw]\nleftharpoonccw$^*$ & \K[\MNSnnwharpooncw]\nnwharpooncw & \K[\MNSnswharpooncw]\nswharpooncw \\
\K[\MNSnleftharpooncw]\nleftharpooncw$^*$ & \K[\MNSnnwseharpoonnesw]\nnwseharpoonnesw & \K[\MNSnswneharpoons]\nswneharpoons \\
\K[\MNSnleftrightharpoondownup]\nleftrightharpoondownup & \K[\MNSnnwseharpoons]\nnwseharpoons & \K[\MNSnupdownharpoonleftright]\nupdownharpoonleftright \\
\K[\MNSnleftrightharpoons]\nleftrightharpoons & \K[\MNSnnwseharpoonswne]\nnwseharpoonswne & \K[\MNSnupdownharpoonrightleft]\nupdownharpoonrightleft \\
\K[\MNSnleftrightharpoonupdown]\nleftrightharpoonupdown & \K[\MNSnrightharpoonccw]\nrightharpoonccw$^*$ & \K[\MNSnupdownharpoons]\nupdownharpoons \\
\K[\MNSnneharpoonccw]\nneharpoonccw & \K[\MNSnrightharpooncw]\nrightharpooncw$^*$ & \K[\MNSnupharpoonccw]\nupharpoonccw$^*$ \\
\K[\MNSnneharpooncw]\nneharpooncw & \K[\MNSnrightleftharpoons]\nrightleftharpoons & \K[\MNSnupharpooncw]\nupharpooncw$^*$ \\
\K[\MNSnneswharpoonnwse]\nneswharpoonnwse & \K[\MNSnseharpoonccw]\nseharpoonccw & \\
\end{tabular}
\bigskip
\begin{tablenote}[*]
Where marked, the ``\verb|ccw|'' suffix can be replaced with
``\verb|up|'' and the ``\verb|cw|'' suffix can be replaced with
``\verb|down|''. (In addition, \cmdI[\MNSnupharpooncw]{\nupharpooncw}
can be written as \cmdI[\MNSnupharpooncw]{\nrestriction}.)
\end{tablenote}
\end{symtable}
如果直接复制它,它将无法编译(它们定义了一些自定义的东西),但它应该给您一个良好的构建点。