I am trying to transform my english master thesis template into german. However, I am encountering some serious problems.
Since I have to use Verdana as the default font, I am forced to use XeTeX with mathspec and fontspec. I tried to convert my template into german with the polyglossia package but this results in the "Option clash for package fontspec." error.
It works when I exclude the mathspec package.
Here is the working code with the \usepackage{mathspec} and \setmathfont(Greek,Digits,Latin){Verdana} excluded.
Adding them to the code result in the error:
Code: Select all
Code, edit and compile here:
\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{polyglossia}%Deutsche Sprache, [ngerman] {babel} LaTex\setdefaultlanguage{german}\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}[][List of equations] %declare list of equation\captionsetup[mycapequ]{name=Equation,within=section,labelformat=simple}\usepackage{calc}\usepackage{natbib}\usepackage{fancyhdr} %header and footer setup\pagestyle{fancy}\rhead{\leftmark}\chead{}%Middle top\lhead{}%Left top\rfoot{\thepage}\cfoot{}\lfoot{Krzysztof Wilczek}\renewcommand{\footrulewidth}{0.4pt}\renewcommand{\baselinestretch}{1.25} %Zeilenabstand\setcounter{secnumdepth}{4} %subsubsections numbering and toc\setcounter{tocdepth}{4}\numberwithin{equation}{section}\numberwithin{table}{section}\numberwithin{figure}{section}
Thanks for your help.