请问如何将表格内汉字改为黑体?

2019-10-07 20:29发布

\documentclass{report} \usepackage{ctex} \begin{document} \begin{table}[h] \begin{tabular}{llc}...

\documentclass{report} \usepackage{ctex} \begin{document} \begin{table}[h] \begin{tabular}{llc} \rule{0pt}{15pt} 元器件&型号/规格&数量\\ \rule{0pt}{15pt} 碳膜电阻&RT-1/6W-12$\Omega$&1\\ \end{tabular} \end{table} \end{document}
2条回答
```tex \documentclass{ctexrep} \usepackage{siunitx} \begin{document} \begin{table}[h] \begin{tabular}{llc} \multicolumn{1}{l}{\bfseries 元器件} & \multicolumn{1}{l}{\bfseries 型号/规格} & \multicolumn{1}{c}{\bfseries 数量}\\ 碳膜电阻 & RT-1/\SI{6}{\watt}-\SI{12}{\ohm} & 1\\ \end{tabular} \end{table} \end{document} ``` ![](https://wenda.latexstudio.net/data/attach/191007/OMCgtZvc.png)

一周热门 更多>