WinEdt ⇒ Winedt 6 XeTeX and Font otf
Winedt 6 XeTeX and Font otf
I am to publish a book, and the editor requires that I use Garamont Pro Font, he provides me the .otf files. I know that with XeTex, there is a possibility to convert the files in tfm.
My questions are :
1- How do I include my .otf file with Winedt ?
2- Do I need to convert the .otf in .tfm ?
3- How Do I configure the font Garamond Pro once installed in Winedt?
Thanks in advance.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Winedt 6 XeTeX and Font otf
Here's a minimal example:
Code: Select all
\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX,Numbers=OldStyle}
\setmainfont{Adobe Garamond Pro}
\usepackage{lipsum}
\begin{document}
Dashes: -, --, ---; -, –, —
Ligatures: fi, ffi, ft, fl, Th
Numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
\lipsum[1-2]
\end{document}
Re: Winedt 6 XeTeX and Font otf
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Winedt 6 XeTeX and Font otf
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10