Text FormattingSetting MinionPro as Sans serif

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
User avatar
hariharanb
Posts: 12
Joined: Mon Jun 28, 2010 10:48 am

Setting MinionPro as Sans serif

Post by hariharanb »

Hello,

Is it possible to set "Minion Pro" font as "Sans-serif" for one particular document?
Masters in Technology, Software Engineering
International Institute of Information Technology - Bangalore, India

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Setting MinionPro as Sans serif

Post by Montag »

Do you mean you want to use the Minion Pro font also for headers or do you mean the whole document set in sans serif, as in using Myriad Pro for the entire document? :)
For the first case, take a look: http://www.latex-community.org/forum/vi ... =48&t=8483. For the second case, use

Code: Select all

%\renewcommand{\familydefault}{\sfdefault}
if you loaded Myriad.
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
User avatar
hariharanb
Posts: 12
Joined: Mon Jun 28, 2010 10:48 am

Re: Setting MinionPro as Sans serif

Post by hariharanb »

No no, Setting "Minion Pro" for Sections and "Latin Modern" for Body.
Masters in Technology, Software Engineering
International Institute of Information Technology - Bangalore, India
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Re: Setting MinionPro as Sans serif

Post by Montag »

Holy cow, I sincerely hope you will get no help whatsoever for applying this concept. :shock:
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
User avatar
hariharanb
Posts: 12
Joined: Mon Jun 28, 2010 10:48 am

Re: Setting MinionPro as Sans serif

Post by hariharanb »

Hehe, I realized it was stupid of me to ask. But I don't have that much of knowledge as I started working with LaTeX only 6 months back. A lot of learning needs to be done.

Anyways, thank you for your reply :-)
Masters in Technology, Software Engineering
International Institute of Information Technology - Bangalore, India
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Setting MinionPro as Sans serif

Post by Montag »

Well... another try: I guess the problem doesn't really lie in you being a beginner, it's maybe you don't know the right terms.
Do you actually want the LM Sans for the text and the Minion Pro for the headers? :)
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Setting MinionPro as Sans serif

Post by frabjous »

Well, it depends on what font family name MinionPro is using on your system, and that in turn depends on how you installed Minion Pro. Assuming it's the "Berry" designation pmn, you could use:

\renewcommand{\sfdefault}{pmn}

but it might also be something like:

\renewcommand{\sfdefault}{MinionPro-OsF}


But no, please, don’t typeset a document with Minion Pro titles and Latin Modern body text. That does sound horrifyingly ugly.
User avatar
hariharanb
Posts: 12
Joined: Mon Jun 28, 2010 10:48 am

Re: Setting MinionPro as Sans serif

Post by hariharanb »

@ Enrico: This came out of mere curiosity. Just wanted to try and see how it looks like.

Here is what I am trying to do. I took the file article.cls and modified its contents and saved it as different name.

\normalfont
as
\usefont{T1}{MinionPro}{m}{n}\selectfont

Thanks to idea given by:
Gerd Neugebauer (http://extex.org)
Even gerd advised me not to do it as it would result in an ugly looking document. Curiosity got the better of me I guess.


@ frabjous: Point taken, sir.
Masters in Technology, Software Engineering
International Institute of Information Technology - Bangalore, India
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

Re: Setting MinionPro as Sans serif

Post by sgp »

I think with XeLaTeX it is pretty easy to change fonts. i am still a beginner, but this is what i found out.

i used this command to change fonts,
\setsansfont{Minion Pro}

before doing this, you need to download the fontspec files from the ctan site, and use this,
\usepackage{fontspec}
Post Reply