I am trying to figure out how to get my figure on my document and have no error message. When I use english babel, there is no problem, however when I use the turkish babel, I get the errors as shown below. I need to use the turkish babel for hyphenation. avl.jpg is attached. Do you have any idea why? Thanks for the help in advance
I use Texniccenter and the Miktex
! Missing \endcsname inserted.
<to be read again>
\relax
l.24 ...raphics[width=0.5\textwidth]{avl.jpg}
! Extra \endcsname.
<recently read> \endcsname
l.24 ...raphics[width=0.5\textwidth]{pics/avl.jpg}
I'm ignoring this, since I wasn't doing a \csname.
Code: Select all
\documentclass{article}
\usepackage[latin5]{inputenc}
%\usepackage[english]{babel}
\usepackage[turkish]{babel}
\usepackage{graphicx}
\usepackage[left=4cm, right=2.5cm, top=2.5cm, bottom=2.5cm%, includefoot, headheight=13.6pt
]{geometry}
\renewcommand{\rmdefault}{phv} % Arial
\renewcommand{\sfdefault}{phv} % Arial %added by turan
\begin{document}
\section{MTRN}
\LaTeXe{} 'de Türkçe metin.
Bugün de Devletler Hukukunun başlıca kişileri bağımsız devletler olmakla beraber,bunların yanı sıra yetkileri sınırlı devletler, devlet sayılmayan topluluklar vardır.
\begin{figure}[h]
\centering
\includegraphics[width=0.5\textwidth]{pics/avl.jpg}
\caption{deneme}
\label{fig:avl}
\end{figure}
Değerlendirme merkezleri ise, işgörenin performansı ve iş yapış şekli ile ilgili olarak örgüt içinde kendisine bir geri bildirim sağlar. İşgörenlerin performansı karşılaştırılır ve kariyer gelişimi için uygun eğitimler belirlenir.
\end{document}