Hi,
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.
WinEdt ⇒ Winedt 6 XeTeX and Font otf
Winedt 6 XeTeX and Font otf
Last edited by gwada74 on Sun Dec 26, 2010 3:42 pm, edited 1 time in total.
Winedt 6 XeTeX and Font otf
With XeTeX you can use all .otf and .ttf fonts which are installed on your system directly, without conversion. The usage is explained in fontspec documentation.
Here's a minimal example:
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
thank you very much, that is very helpful !
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Winedt 6 XeTeX and Font otf
Now that the problem seems to be solved, please be so kind and mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules. Otherwise please tell us what is missing. Please keep that in mind for the future so that further reminders will not be necessary.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1