平均能量损失
\documentclass[a4paper,11pt,twocolumn]{report}
\usepackage[left=2cm,right=2cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage[turkish]{babel}
\usepackage[svgnames]{xcolor}
%\usepackage{verbatim}
\begin{document}
\onecolumn
\begin{table}[h]
\begin{center}
\begin{tabular}{lcr}
\multirow{6}{*}{\includegraphics[scale=.3]{example-image-a}} & \Large{ONE} & \multirow{6}{*}{\includegraphics[scale=.3]{example-image-b}}\\
& \Large{TWO} &\\
& \Large{THREE} &\\
& &\\
& \Large{FOUR} &\\
& \Large{FIVE} &\\
\end{tabular}
\end{center}
\end{table}
\end{document}
它会产生Missing \endcsname inserted
错误。在.log
文件中,
! 缺少 \endcsname 插入。\relax l.20 ...ncludegraphics[scale=.3]{example-image-a}} & \Large{ONE} & \multirow...
?! 紧急停止。\relax l.20 ...ncludegraphics[scale=.3]{example-image-a}} & \Large{ONE} & \multirow... 终端上的文件结束!
我该怎么办?
答案1
土耳其 babel 重新定义=
但你可以在本地关闭它:
\documentclass[a4paper,11pt,twocolumn]{report}
\usepackage[left=2cm,right=2cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage[turkish]{babel}
\usepackage[svgnames]{xcolor}
%\usepackage{verbatim}
\begin{document}
\onecolumn
\begin{table}[h]
\begin{center}\shorthandoff{=}
\begin{tabular}{lcr}
\multirow{6}{*}{\includegraphics[scale=.3]{example-image-a}} &
\Large ONE &
\multirow{6}{*}{\includegraphics[scale=.3]{example-image-b}}\\
& \Large TWO &\\
& \Large THREE &\\
& &\\
& \Large FOUR &\\
& \Large FIVE &\\
\end{tabular}
\end{center}
\end{table}
\end{document}