2

MWE

\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}

It takes Missing \endcsname inserted error. And in .log file,

! Missing \endcsname inserted. \relax l.20 ...ncludegraphics[scale=.3]{example-image-a}} & \Large{ONE} & \multirow...

? ! Emergency stop. \relax l.20 ...ncludegraphics[scale=.3]{example-image-a}} & \Large{ONE} & \multirow... End of file on the terminal!

What will I do?

0

1 Answer 1

6

turkish babel redefines = but you can locally turn this off:

\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}
3
  • Ow, did you discovered this now or you had already known it?
    – Sigur
    Feb 19, 2015 at 15:16
  • 1
    @Sigur both:-) I just discovered it, but I knew it before Feb 19, 2015 at 15:17
  • @DavidCarlisle, Perfect working. [CLOSED]
    – Özgür
    Feb 19, 2015 at 15:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .