I am trying to convert my LaTeX thesis template from english to german. With a little help from my friends in this forum I could complete the task pretty well.
However, there is one problem that I was not able to solve.
I am using XeTeX, so I can set Verdana as the default font. Polyglossia is used to set up the german language. But there seems to be a conflict between polyglossia and any equation .
When I compile the document it gets suck without an error message:
When i remove the equation or the polyglossia package everything works fine....
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
(./Test3.toc (/usr/local/texlive/2010/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsfonts/umsb.fd))
Code: Select all
\documentclass[10pt]{article}
%\usepackage[applemac]{inputenc}
\usepackage[a4paper,left=3.5cm,right=2.5cm,top=2.7cm,bottom=2.7cm,footskip=1.2cm,headsep=0.7cm,headheight=0.5cm]{geometry}
\usepackage{draftwatermark}%Draft watermark
\usepackage{amssymb} %Symbol collection
\usepackage{amsmath} %list of equation
\providecommand{\e}[1]{\ensuremath{\times 10^{#1}}} %Scientific Notation
\usepackage[titles,subfigure]{tocloft}
\usepackage{subfigure} %multiple figurs
\usepackage{float}
\usepackage{caption} %caption for equations
\DeclareCaptionType{mycapequ}[][Formelverzeichnis] %declare list of equation
\captionsetup[mycapequ]{name=Equation,within=section,labelformat=simple}
\usepackage{calc}
\usepackage{mathspec}%Verdana font in math mode and text mode
%\usepackage{fontspec} %Verdana font just in text mode
\defaultfontfeatures{Mapping=text-text}
\setsansfont{Verdana}
\renewcommand*{\familydefault}{\sfdefault}
\setmathfont(Greek,Digits,Latin){Verdana}
\setmathrm{Verdana}
\usepackage{polyglossia}%Deutsche Sprache, [ngerman] {babel} LaTex
\setdefaultlanguage{german}
\usepackage{graphicx}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\title{Diplomarbeit\\ ---\\
DRAFT: \today}
\author{Me}
\date{\today}
\begin{document}
\tableofcontents
\section{Test 1}
$F_{smax}=cL+\tan \phi F_n$
\begin{mycapequ}[H]
% \begin{equation*}
% $F_{smax}=cL+\tan \phi F_n$
% \end{equation*}
\caption{Mohr Coulomb Shear Strength} \label{equ:coulombs}
\end{mycapequ}
\end{document}
This is never printed
Thanks