Home > fourier > Using utopia and another roman font in (pdf)LaTeX

# Using utopia and another roman font in (pdf)LaTeX

January 23Hits:2

I need to create a document with Utopia (Fourier package) as the default font. However, at a certain point I need to change the default roman font to say for e.g. CM-Roman. At this point reverting back to utopia makes the text seem thicker and broader.

The MWE below illustrates my problem.

\documentclass[12pt, a4paper, draft]{article} \usepackage{fourier} \newcommand{\ffont}[2]{      \fontencoding{#1}      \fontfamily{#2}      \selectfont }  \begin{document}  Fourier-Utopia\\ The quick brown fox jumps over the lazy dog.\\  \ffont{OT1}{cmr} Compuer Modern Roman\\ The quick brown fox jumps over the lazy dog.\\  \ffont{T1}{put} Fourier-Utopia Again\\ The quick brown fox jumps over the lazy dog.\\  \end{document} 


This seems to happen only with the Utopia Font. Can anyone let me know the correct way to achieve this please.

Thanks

make the font change local with putting it into {...}

\documentclass[12pt, a4paper, draft]{article}
\usepackage{fourier}
\newcommand{\ffont}[2]{%
\fontencoding{#1}
\fontfamily{#2}
\selectfont}

\begin{document}

Fourier-Utopia\\
The quick brown fox jumps over the lazy dog.

{\ffont{OT1}{cmr}
Compuer Modern Roman\\
The quick brown fox jumps over the lazy dog.}

Fourier-Utopia Again\\
The quick brown fox jumps over the lazy dog.

\end{document}



the correct setting for fouriers roman font is \ffont{T1}{futs}

Tags:fourier

## Related Articles

• ### Using utopia and another roman font in (pdf)LaTeXJanuary 23

I need to create a document with Utopia (Fourier package) as the default font. However, at a certain point I need to change the default roman font to say for e.g. CM-Roman. At this point reverting back to utopia makes the text seem thicker and broade

• ### Error with pdf latex output "The font 'Roman' contains bad /Widths" September 20

I have a paper written in latex with few figures. The figures were drawn with the powerpoint and converted to pdf and included in the latex source. When I generate the pdf form latex, and open it in Acrobat , I get an error "The font 'Roman' contains

• ### LyX, How to use more than the thirteen Roman fonts listed under Document Settings Fonts?December 13

I noticed that LyX 2.0.6 has a very limited selection of Roman (Serif) fonts listed under the Document Settings Fonts dropdown menu. I'd like to be able to use any of the LaTeX fonts that come with my TeXLive or MIKTeX installation, that came bundled

• ### XeTex - Times New Roman font for Romanian characters ș, ț, Ș and ȚDecember 13

I have downloaded the Times New Roman font and put it into .local/fonts where it should be (my OS is Fedora 17 and I use TexLive 2012). It is recognized by LibreOffice and LyX. LibreOffice displays correctly the Romanian characters ș,ț,Ș,Ț and even c

• ### "Interactive PDF, Latex and Article of the Future" with opentype/truetype fonts and unicodeMay 2

I'm looking for a way to get popup references when hovering with the mouse cursor over the references in my papers. I looked around on this forum and found this question and hpesoj626's answer very useful: Interactive PDF, Latex and Article of the Fu

• ### Ghostscript renders embedded fonts in pdf poorly (all jaggy)August 16

Ghostscript doesn't render embedded fonts in pdf's properly. e.g. http://vegro.nl/cmsfiles/ConsumentenAssortiment/Brochure/10.axd The characters of the logo on the right top ('Thermrad') are all jagged. If I open the file in Adobe Reader, no problem

• ### How to embed fonts into PDFDecember 9

I have a pdf file, and I want to know if I can embed/subset all its fonts into PDF file itself? Is there any tool supporting this operation? --------------Solutions------------- You can export PDFs from InDesign with the fonts embedded, but that's as

• ### polyglossia and minted - The current roman font does not contain the Hebrew script!December 24

Trying to use minted with Hebrew as the default language with polyglossia: \documentclass{article} \usepackage{minted} \usepackage{polyglossia} \setdefaultlanguage[calendar=hebrew, numerals=arabic]{hebrew} \setotherlanguage{english} \newfontfamily\he

• ### Mathematica embeds some fonts in PDF, some not January 24

Upon exporting a Mathematica graphics expression as a PDF, Mathematica does not seem to embed any nonstandard fonts used. When you open the resulting PDF document with a PDF viewer, all the text items are rendered with standard fonts instead. Is ther

• ### Times new roman font?August 19

I want this font: But everything I've tried makes ugly pseudo-times new roman font in comparison. What I've tried based on the research I've done so far; \usepackage{mathptmx} \usepackage{times} I use Windows 7. --------------Solutions------------- C

• ### Forcing roman font in LaTeXSeptember 18

I am using a LaTeX template from my university to typeset my thesis. I am making references to R and I have defined a new command with: \newcommand{\R}{R} in order to get the roman "R". The formatting of the thesis means that chapter titles are

• ### How to change the spacing in latexit for Times New Roman font?November 1

I've successfully changed the font used in Latexit (equation creator) to Times New Roman by changing the engine to xelatex and by adding this to my preamble: \usepackage{mathspec}  \usepackage{xunicode}  \usepackage{xltxtra} \setmainfont{Times New Ro

• ### Installing Times New Roman fontNovember 1

How can I install the Times New Roman font? This video illustrates what I want to do, but I do not have the same options - I'm running Ubuntu 12.10. I have also tried running the following from the terminal: sudo apt-get install msttcorefonts sudo ap

• ### Liberation Mono: The current roman font does not contain the Cyrillic script!January 12

Ok, so the problem is next, I use Liberation fonts in my XeLaTeX document: \setmainfont{Liberation Serif} \setsansfont{Liberation Sans} \setmonofont{Liberation Mono} \setmainlanguage{ukrainian} \setotherlanguage{english} And Liberation Serif as well

• ### Migration from Computer Modern to Times New Roman fontsJuly 23

I had typed my LaTeX article using Computer Modern fonts. Now I want Times New Roman and double spacing. I'm getting so many errors regarding font packages. Please help. \documentclass[11pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]

• ### Times New Roman Font in pdfLatex April 21

This question already has an answer here: How do I make my document use the Times font, both for the text and the math? 6 answers I need to set main font of my document using Times New Roman font. But I just found one solution that is to compile docu

• ### Times New Roman font with TeXnicCenterJune 9

I'm new to LaTeX and trying to write my rapport with TeXnicCenter. I want to use the times new roman font, but i don't know why it does not works with me. This the beginning of my code : \documentclass[12pt,french]{report} \usepackage{times} \usepack

• ### Content editor issue with Times New Roman fontsJanuary 21

I have an issue with Content Editor - for my template I need to use Times New Roman font, but when I add it to table tag style property it rips off everything and returns table tag like this: table cellspacing="0" cellpadding="0" borde

• ### Free, screen-suited roman font to match Unifraktur MaguntiaMarch 30

I am currently creating a documentation for UnifrakturMaguntia, a font on which I worked in the last years in my freetime. This documentation will be rendered in two versions, one that is primarily set in blackletter and one that is primarily set in

• ### Pictures from Inkscapes pdf+LaTeX export positioned wrong in nodesNovember 9

Sometimes I use Inkscape to add some graphical elements and text to my pictures. Inkscape allows to export this as pdf+LaTeX, where the pdf contains the picture and all graphical elements and the LaTeX file contains the text. One can then \input{late