[texhax] Using TTF, OTF and T1 fonts
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Tue Apr 12 18:14:34 CEST 2011
Am 12.04.2011 17:57, schrieb Boris Veytsman:
> HV> I have no problem in running this file with
>
> HV> lualatex -shell-escape
> Aha! But this means that you cannot use Linux Libertine font *inside*
> your pstricks pictures, right? This is not a complete solution.
\listfiles
\documentclass{article}
\usepackage{ifluatex}
\usepackage{auto-pst-pdf}
\ifluatex
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\else
\usepackage[T1]{fontenc}
\usepackage{libertine}
\usepackage{pstricks-add}
...
\fi
Herbert
More information about the texhax
mailing list