提问于:
浏览数:
1806
## 需求
将表头部分文字加粗
![](https://pics.latexstudio.net/data/images/202004/e13491247c59f98.jpg)
## 问题
使用\textbf命令报错
## MWE
```tex
\documentclass[UTF8]{ctexart}
\usepackage[headheight=13pt,top=2.3cm,bottom=2cm,left=3cm,right=2cm]{geometry}
\usepackage{diagbox}
\usepackage{multirow}
\begin{document}
\begin{table}
\begin{center}
\begin{tabular}{|c|m{2.5cm}<{\centering}|m{2.5cm}<{\centering}|m{2.4cm}<{\centering}|m{2.4cm}<{\centering}|}
\hline
\multirow{2}*{\diagbox[width=6.7cm]{工况条件}{分析方法}} & \multicolumn{2}{c|}{自动搜索法(最小安全系数法)} &\multirow{2}{*}{强度折减法}&\multirow{2}{*}{控制标准}\\
\cline{2-3}
& \textbf{Bishop} & \textbf{M-P} & & \\
\hline
\songti\zihao{-5}\color{black}工况二:岸坡饱和重度+桥梁荷载+暴雨工况&\songti\zihao{-5}\color{black}1.431&\songti\zihao{-5}\color{black}1.442&\songti\zihao{-5}\color{black}1.420&\songti\zihao{-5}\color{black}1.350\\
\hline
\end{tabular}
\end{center}
\end{table}
\end{document}
```