Hello all,
How can I use the fonts Franklin Gothic Book and Franklin Gothic Heavy? I use Linux.
Thanks
Fonts & Character Sets ⇒ Franklin Gothic (with Linux)?
-
- Posts: 22
- Joined: Fri May 18, 2007 6:48 pm
Franklin Gothic (with Linux)?
Last edited by sombrancelha on Wed Jun 10, 2009 11:54 pm, edited 1 time in total.
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Franklin Gothic (with Linux)?
If you have Franklin Gothic installed as system font, you should use the XeTeX typesetting system in combination with the fontspec package. It allows direct access to Truetype (TTF) and Opentype (OTF) fonts.
Best regards
Thorsten
Best regards
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
-
- Posts: 22
- Joined: Fri May 18, 2007 6:48 pm
Franklin Gothic (with Linux)?
Thanks for the quick reply.
However, I'm having problems using charachters such as ã,é and ú.
I googled for support for unicode, and it says all you have to do is use utf-8, but for some reason it does not work. Building through the terminal (xelatex teste.tex) gives
This is the file I'm trying to build:
However, I'm having problems using charachters such as ã,é and ú.
I googled for support for unicode, and it says all you have to do is use utf-8, but for some reason it does not work. Building through the terminal (xelatex teste.tex) gives
Code: Select all
! Package inputenc Error: Unicode char \u8:á\enddocument not set up for use with LaTeX.
Code: Select all
\documentclass[12pt]{revtex4}
\usepackage[brazil]{babel}
\usepackage[utf8]{inputenc}
\usepackage{ae}
\usepackage{color,graphicx}
\usepackage{indentfirst}
\usepackage{fontspec}
\font\textfont="Franklin Gothic Demi"
\begin{document}
\textfont aaá
\end{document}
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Franklin Gothic (with Linux)?
Replace inputenc by xunicode and abandon the ae package. Take also a look at xltxtra and study the manuals of all the involved packages thoroughly.
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
-
- Posts: 22
- Joined: Fri May 18, 2007 6:48 pm
Franklin Gothic (with Linux)?
Thank you for your help, localghost. It's working.