Hallo,
also bei mir sieht ein XeLaTeX-Dokuments mit der Schrift Linux Libertine in etwa so aus:
Code:
% Folgendes gibt an, dass mit xelatex kompiliert werden soll, dadurch enfällt die Auswahl
% des Compilers. Das Zeug hinter xelatex ist für die korrekte Darstellung von TikZ-Grafiken.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%!TEX TS-program = xelatex
%!TEX TS-options = -shell-escape -output-driver="xdvipdfmx -q -E"
%!TEX encoding = UTF-8 Unicode
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[...]{...}
\usepackage{fourier} % für die Matheschrift
\usepackage[no-math]{fontspec}
\usepackage{xunicode, xltxtra}
\setmainfont[%
Mapping=tex-text,
%Letters=SmallCaps, % Kapitälchen
%Letters=Uppercase, % Versalien
%Letters=UppercasSmallCaps, % Großbuchstaben als Kapitälchen
Variant=01, % für "normale" Ä, Ö und Ü
%Variant=02, % für kalligraphierte K und R
%Variant=03, % für Ersetzung von ß/ẞ durch ss/SS
Ligatures=NoCommon, % für keine Ligaturen
%Ligatures=Common, % für Standard-Ligaturen
%Ligatures=Historical, % für st und ct Ligaturen
%Numbers=OldStyle, % für Minuskelziffern
Numbers=Monospaced, % gleiche Breite z.B. für Tabellen
%Numbers=Proportional, % für Fließtext
%Numbers=SlashedZero, % durchgestrichene Null
]{Linux Libertine}
\iffalse % mit iftrue Mathe auf Libertine umstellen (fold)
\makeatletter
\DeclareSymbolFont{rmcustom}{EU1}\rmdefault\mddefault\updefault
\DeclareSymbolFont{itcustom}{EU1}\rmdefault\mddefault\itdefault
\renewcommand{\operator@font}{\mathgroup\symrmcustom}
\SetMathAlphabet\mathrm{normal}{EU1}\rmdefault\mddefault\updefault
\SetMathAlphabet\mathit{normal}{EU1}\rmdefault\mddefault\itdefault
\SetMathAlphabet\mathbf{normal}{EU1}\rmdefault\bfdefault\updefault
\DeclareMathSymbol{a} {\mathalpha}{itcustom}{`a}
\DeclareMathSymbol{b} {\mathalpha}{itcustom}{`b}
\DeclareMathSymbol{c} {\mathalpha}{itcustom}{`c}
\DeclareMathSymbol{d} {\mathalpha}{itcustom}{`d}
\DeclareMathSymbol{e} {\mathalpha}{itcustom}{`e}
\DeclareMathSymbol{f} {\mathalpha}{itcustom}{`f}
\DeclareMathSymbol{g} {\mathalpha}{itcustom}{`g}
\DeclareMathSymbol{h} {\mathalpha}{itcustom}{`h}
\DeclareMathSymbol{i} {\mathalpha}{itcustom}{`i}
\DeclareMathSymbol{j} {\mathalpha}{itcustom}{`j}
\DeclareMathSymbol{k} {\mathalpha}{itcustom}{`k}
\DeclareMathSymbol{l} {\mathalpha}{itcustom}{`l}
\DeclareMathSymbol{m} {\mathalpha}{itcustom}{`m}
\DeclareMathSymbol{n} {\mathalpha}{itcustom}{`n}
\DeclareMathSymbol{o} {\mathalpha}{itcustom}{`o}
\DeclareMathSymbol{p} {\mathalpha}{itcustom}{`p}
\DeclareMathSymbol{q} {\mathalpha}{itcustom}{`q}
\DeclareMathSymbol{r} {\mathalpha}{itcustom}{`r}
\DeclareMathSymbol{s} {\mathalpha}{itcustom}{`s}
\DeclareMathSymbol{t} {\mathalpha}{itcustom}{`t}
\DeclareMathSymbol{u} {\mathalpha}{itcustom}{`u}
\DeclareMathSymbol{v} {\mathalpha}{itcustom}{`v}
\DeclareMathSymbol{w} {\mathalpha}{itcustom}{`w}
\DeclareMathSymbol{x} {\mathalpha}{itcustom}{`x}
\DeclareMathSymbol{y} {\mathalpha}{itcustom}{`y}
\DeclareMathSymbol{z} {\mathalpha}{itcustom}{`z}
\DeclareMathSymbol{A} {\mathalpha}{itcustom}{`A}
\DeclareMathSymbol{B} {\mathalpha}{itcustom}{`B}
\DeclareMathSymbol{C} {\mathalpha}{itcustom}{`C}
\DeclareMathSymbol{D} {\mathalpha}{itcustom}{`D}
\DeclareMathSymbol{E} {\mathalpha}{itcustom}{`E}
\DeclareMathSymbol{F} {\mathalpha}{itcustom}{`F}
\DeclareMathSymbol{G} {\mathalpha}{itcustom}{`G}
\DeclareMathSymbol{H} {\mathalpha}{itcustom}{`H}
\DeclareMathSymbol{I} {\mathalpha}{itcustom}{`I}
\DeclareMathSymbol{J} {\mathalpha}{itcustom}{`J}
\DeclareMathSymbol{K} {\mathalpha}{itcustom}{`K}
\DeclareMathSymbol{L} {\mathalpha}{itcustom}{`L}
\DeclareMathSymbol{M} {\mathalpha}{itcustom}{`M}
\DeclareMathSymbol{N} {\mathalpha}{itcustom}{`N}
\DeclareMathSymbol{O} {\mathalpha}{itcustom}{`O}
\DeclareMathSymbol{P} {\mathalpha}{itcustom}{`P}
\DeclareMathSymbol{Q} {\mathalpha}{itcustom}{`Q}
\DeclareMathSymbol{R} {\mathalpha}{itcustom}{`R}
\DeclareMathSymbol{S} {\mathalpha}{itcustom}{`S}
\DeclareMathSymbol{T} {\mathalpha}{itcustom}{`T}
\DeclareMathSymbol{U} {\mathalpha}{itcustom}{`U}
\DeclareMathSymbol{V} {\mathalpha}{itcustom}{`V}
\DeclareMathSymbol{W} {\mathalpha}{itcustom}{`W}
\DeclareMathSymbol{X} {\mathalpha}{itcustom}{`X}
\DeclareMathSymbol{Y} {\mathalpha}{itcustom}{`Y}
\DeclareMathSymbol{Z} {\mathalpha}{itcustom}{`Z}
\DeclareMathSymbol{0} {\mathalpha}{rmcustom}{`0}
\DeclareMathSymbol{1} {\mathalpha}{rmcustom}{`1}
\DeclareMathSymbol{2} {\mathalpha}{rmcustom}{`2}
\DeclareMathSymbol{3} {\mathalpha}{rmcustom}{`3}
\DeclareMathSymbol{4} {\mathalpha}{rmcustom}{`4}
\DeclareMathSymbol{5} {\mathalpha}{rmcustom}{`5}
\DeclareMathSymbol{6} {\mathalpha}{rmcustom}{`6}
\DeclareMathSymbol{7} {\mathalpha}{rmcustom}{`7}
\DeclareMathSymbol{8} {\mathalpha}{rmcustom}{`8}
\DeclareMathSymbol{9} {\mathalpha}{rmcustom}{`9}
\DeclareMathSymbol{!} {\mathclose}{rmcustom}{`!}
\DeclareMathSymbol{,} {\mathpunct}{rmcustom}{`,}
\DeclareMathSymbol{.} {\mathord}{rmcustom}{`.}
\DeclareMathSymbol{:} {\mathrel}{rmcustom}{`:}
\DeclareMathSymbol{;} {\mathpunct}{rmcustom}{`;}
\DeclareMathSymbol{?} {\mathclose}{rmcustom}{`?}
\DeclareMathSymbol{=} {\mathrel}{rmcustom}{`=}
\DeclareMathSymbol{<} {\mathrel}{rmcustom}{`<}
\DeclareMathSymbol{>} {\mathrel}{rmcustom}{`>}
\XeTeXmathchardef\alpha="7 \symitcustom "03B1
\XeTeXmathchardef\beta="7 \symitcustom "03B2
\XeTeXmathchardef\gamma="7 \symitcustom "03B3
\XeTeXmathchardef\delta="7 \symitcustom "03B4
\XeTeXmathchardef\epsilon="7 \symitcustom "03B5
\XeTeXmathchardef\theta="7 \symitcustom "03B8
\XeTeXmathchardef\vartheta="7 \symitcustom "03D1
\XeTeXmathchardef\kappa="7 \symitcustom "03BA
\XeTeXmathchardef\varkappa="7 \symitcustom "03F
\XeTeXmathchardef\rho="7 \symitcustom "03C1
\XeTeXmathchardef\phi="7 \symitcustom "03C6
\XeTeXmathchardef\varphi="7 \symitcustom "03D5
\XeTeXmathchardef\zeta="7 \symitcustom "03B6
\XeTeXmathchardef\eta="7 \symitcustom "03B7
\XeTeXmathchardef\iota="7 \symitcustom "03B9
\XeTeXmathchardef\lambda="7 \symitcustom "03BB
\XeTeXmathchardef\mu="7 \symitcustom "03BC
\XeTeXmathchardef\nu="7 \symitcustom "03BD
\XeTeXmathchardef\xi="7 \symitcustom "03BE
\XeTeXmathchardef\pi="7 \symitcustom "03C0
\XeTeXmathchardef\varpi="7 \symitcustom "03D6
\XeTeXmathchardef\sigma="7 \symitcustom "03C3
\XeTeXmathchardef\varsigma="7 \symitcustom "03C2
\XeTeXmathchardef\tau="7 \symitcustom "03C4
\XeTeXmathchardef\chi="7 \symitcustom "03C7
\XeTeXmathchardef\psi="7 \symitcustom "03C8
\XeTeXmathchardef\omega="7 \symitcustom "03C9
\XeTeXmathchardef\upalpha="7 \symrmcustom "03B1
\XeTeXmathchardef\upbeta="7 \symrmcustom "03B2
\XeTeXmathchardef\upgamma="7 \symrmcustom "03B3
\XeTeXmathchardef\updelta="7 \symrmcustom "03B4
\XeTeXmathchardef\upepsilon="7 \symrmcustom "03B5
\XeTeXmathchardef\uptheta="7 \symrmcustom "03B8
\XeTeXmathchardef\upvartheta="7 \symrmcustom "03D1
\XeTeXmathchardef\upkappa="7 \symrmcustom "03BA
\XeTeXmathchardef\upvarkappa="7 \symrmcustom "03F
\XeTeXmathchardef\uprho="7 \symrmcustom "03C1
\XeTeXmathchardef\upphi="7 \symrmcustom "03C6
\XeTeXmathchardef\upvarphi="7 \symrmcustom "03D5
\XeTeXmathchardef\upzeta="7 \symrmcustom "03B6
\XeTeXmathchardef\upeta="7 \symrmcustom "03B7
\XeTeXmathchardef\upiota="7 \symrmcustom "03B9
\XeTeXmathchardef\uplambda="7 \symrmcustom "03BB
\XeTeXmathchardef\upmu="7 \symrmcustom "03BC
\XeTeXmathchardef\upnu="7 \symrmcustom "03BD
\XeTeXmathchardef\upxi="7 \symrmcustom "03BE
\XeTeXmathchardef\uppi="7 \symrmcustom "03C0
\XeTeXmathchardef\upvarpi="7 \symrmcustom "03D6
\XeTeXmathchardef\upsigma="7 \symrmcustom "03C3
\XeTeXmathchardef\upvarsigma="7 \symrmcustom "03C2
\XeTeXmathchardef\uptau="7 \symrmcustom "03C4
\XeTeXmathchardef\upchi="7 \symrmcustom "03C7
\XeTeXmathchardef\uppsi="7 \symrmcustom "03C8
\XeTeXmathchardef\upomega="7 \symrmcustom "03C9
\XeTeXmathchardef\partial="0 \symitcustom "2202
\XeTeXmathchardef\imath="0 \symitcustom "0131
\XeTeXmathchardef\jmath="0 \symitcustom "0237
\XeTeXmathchardef\dagger="0 \symrmcustom "2020
\XeTeXmathchardef\ddagger="0 \symrmcustom "2021
\XeTeXmathchardef\Diff="0 \symrmcustom "2206 % slim \Delta for differences
%\XeTeXmathchardef\micro="0 \symrmcustom "00B5 % upright \mu for units
\XeTeXmathchardef\Gamma="0 \symrmcustom "0393
\XeTeXmathchardef\Delta="0 \symrmcustom "0394
\XeTeXmathchardef\Theta="0 \symrmcustom "0398
\XeTeXmathchardef\Lambda="0 \symrmcustom "039B
\XeTeXmathchardef\Xi="0 \symrmcustom "039E
\XeTeXmathchardef\Pi="0 \symrmcustom "03A0
\XeTeXmathchardef\Sigma="0 \symrmcustom "03A3
\XeTeXmathchardef\Phi="0 \symrmcustom "03A6
\XeTeXmathchardef\Psi="0 \symrmcustom "03A8
\XeTeXmathchardef\Omega="0 \symrmcustom "03A9
\makeatother
\fi % (end)
\usepackage[...]{...}
\begin{document}
...
\end{document}
Zum Thema Matheschrift auf Libertine (oder irgendwas anderes) umstellen (der ganze Kram zwischen \iffalse und \fi) schau mal hier.
Generell zum Thema Schriften mit XeLaTeX kannst du dir mal die Dokumente über Libertine mit Xe(La)TeX durchlesen.
Für deine gewünschten Schriften musst du nur den mainfont anpassen und die Optionen richtig setzen. Es wird wahrscheinlich andere geben als bei Libertine. Dazu hilft dir aber bestimmt google weiter. Ansonsten mal ohne Optionen ausprobieren.
Ach ja, ich setze auf einem Mac mit TeXLive08 und TeXShop. Ich hoffe aber, dass es bei dir unter Windoof auch klappt.
Edit: Hier noch dein gewünschtes MB:
Code:
% Folgendes gibt an, dass mit xelatex kompiliert werden soll, dadurch enfällt die Auswahl
% des Compilers. Das Zeug hinter xelatex ist für die korrekte Darstellung von TikZ-Grafiken.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%!TEX TS-program = xelatex
%!TEX TS-options = -shell-escape -output-driver="xdvipdfmx -q -E"
%!TEX encoding = UTF-8 Unicode
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[]{scrartcl}
\usepackage{fourier} % für die Matheschrift
\usepackage[no-math]{fontspec}
\usepackage{xunicode, xltxtra}
\setmainfont[%
Mapping=tex-text,
]{Verdana}
\begin{document}
Test $\sqrt{x^2}$
\end{document}
Gruß und viel Erfolg!
Lesezeichen