这让我疯了……
我需要写出一个明确的加号,如(q,1,+1)。
但是 LaTeX 只是吞掉了“+”符号......
\documentclass{article}
\usepackage{amsmath, amssymb, fourier, mathrsfs}
\usepackage{lmodern, fourier}
\usepackage{dcolumn}
\begin{document}
\begin{tabular}{>{\(}l<{\)}*{3}{|>{\(}c<{\)}}}
\multicolumn{1}{c|}{\boldmath\(q\)\unboldmath} &
\multicolumn{1}{c|}{\boldmath\(0\)\unboldmath} &
\multicolumn{1}{c|}{\boldmath\(1\)\unboldmath} &
\multicolumn{1}{c|}{\boldmath\(b\)\unboldmath} \\
\hline
q_0 & (q_0, 0, +1) & (q_0, 1, +1) & (q_1. b, -1) \\
\hline
\end{tabular}
\end{document}
答案1
正是 Fourier 包吞掉了你的 +,你才收到警告
Missing character: There is no in font lmsy10!
\documentclass{article}
\usepackage{amsmath, amssymb,
%fourier,
mathrsfs
}
\usepackage{lmodern, fourier}
%%% OK
\usepackage{dcolumn}
\begin{document}
\begin{tabular}{>{\(}l<{\)}*{3}{|>{\(}c<{\)}}}
\multicolumn{1}{c|}{\boldmath\(q\)} &
\multicolumn{1}{c|}{\boldmath\(0\)} &
\multicolumn{1}{c|}{\boldmath\(1\)} &
\multicolumn{1}{c|}{\boldmath\(b\)} \\
\hline
q_0 & (q_0, 0, +1) & (q_0, 1, +1) & (q_1. b, -1) \\
\hline
\end{tabular}
\end{document}