Text FormattingFrutiger Font in portable LaTeX System

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
MrRed
Posts: 6
Joined: Mon Nov 07, 2011 12:24 am

Frutiger Font in portable LaTeX System

Post by MrRed »

Hello, I've been trying to use Frutiger font cause it is required as font for my thesis. The LaTeX system I am using is a portable LaTeX version and the command line for the Frutiger font is:

Code: Select all

%frutiger font
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{frutiger}
    [2007/04/02 v2.1 Style file for Linotype Frutiger]

\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
\DeclareOption{lining}{\renewcommand*{\rmdefault}{lfrx}}
\DeclareOption{oldstyle}{\renewcommand*{\rmdefault}{lfrj}}
\ExecuteOptions{oldstyle}
\ProcessOptions\relax
%%
%% End of file 'frutiger.sty'
The problem is i cant use bold font (\bf or anything else), is there any way else that i can use bold font?

One other problem is that in my list of figures I keep getting numbers (1, 2, ...) instead of getting Figure 1, Figure 2, ...

how can i change it?
thank you :)
Last edited by localghost on Mon Nov 07, 2011 10:56 am, edited 1 time in total.

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Frutiger Font in portable LaTeX System

Post by localghost »

MrRed wrote:[…] One other problem is that in my list of figures I keep getting numbers (1, 2, ...) instead of getting Figure 1, Figure 2, ... […]
This is another topic and therefore should be discussed in a new thread.


Best regards and welcome to the board
Thorsten
MrRed
Posts: 6
Joined: Mon Nov 07, 2011 12:24 am

Re: Frutiger Font in portable LaTeX System

Post by MrRed »

Sure thing Thorsten, I will post my second question in LOF topic.
About my first question, the frutiger font, can you give me any hint or do you have any suggestion on why i cant get bold font even when i write \bf

thank you
sincerely
Red
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Frutiger Font in portable LaTeX System

Post by localghost »

MrRed wrote:[…] About my first question, the frutiger font, can you give me any hint or do you have any suggestion on why i cant get bold font even when i write \bf […]
I assume that you already have the right font metrics for use with (PDF)LaTeX because the package alone is useless. As far as I know Frutiger is a commercial font. Since I don't have it present (and I'm not going to buy it) I don't know what to do. You should try the LaTeX2e commands \textbf{…} or \bfseries instead of obsolete LaTeX2.09 syntax.
MrRed
Posts: 6
Joined: Mon Nov 07, 2011 12:24 am

Re: Frutiger Font in portable LaTeX System

Post by MrRed »

I tried \textbf{…} and \bfseries, didnt work out :(
what do you mean by "the right font metrics for use with (PDF)LaTeX" ?
thank you for your help!
Sincerely
Red
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Frutiger Font in portable LaTeX System

Post by localghost »

MrRed wrote:[…] what do you mean by "the right font metrics for use with (PDF)LaTeX" ? […]
PDFLaTeX needs special font files (e. g. *.afm, *.tfm, …). The package you mentioned in your initial post needs these files. If the needed files are incomplete, you might not obtain all series, families and shapes of the font. Check the log file for irregularities.
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Frutiger Font in portable LaTeX System

Post by Montag »

This is an interesting one. What exactly is your LaTeX system? You didn't specify that information, if I'm not mistaken. And as Thorsten says, you need those special font files for PDFLaTeX (and other processors, AFAIK) unless you intend to use XeLaTeX.

A look on Walter Schmidt's page could help, maybe you can use some of his files? But since I only know about this page and haven't used any of his files so far, I can't give you any more advice than that.

Maybe you should also read up on "font installations" in LaTeX on TUG's Font Installation page first. :)
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
MrRed
Posts: 6
Joined: Mon Nov 07, 2011 12:24 am

Re: Frutiger Font in portable LaTeX System

Post by MrRed »

Well im using pdflatex+makeindex+bibtex and this is my code:

\documentclass[a4paper,12pt,oneside]{scrartcl}
\usepackage{vmargin}
\setpapersize{A4}
\setmargins{3.5cm}% left edge
{1.5cm}% top edge
{14.7cm}% text width
{23.42cm}% text hight
{14pt}% header hight
{1cm}% header distance
{0pt}% footer hight
{2cm}% footer distance

\usepackage{enumerate}
\usepackage{scrpage} %header and footer using the options for the KOMA script
\renewcommand{\headfont}{\footnotesize\sffamily} % font for the header
\renewcommand{\pnumfont}{\footnotesize\sffamily} % font for the pagenumbers

\defpagestyle{cb}{%
(\textwidth,0pt)% sets the border line above the header
{\pagemark\hfill\headmark\hfill}% doublesided, left page
{\hfill\headmark\hfill\pagemark}% doublesided, right page
{\hfill\headmark\hfill\pagemark}% onesided
(\textwidth,1pt)}% sets the border line below the header
%
{(\textwidth,1pt)% sets the border line above the footer
{{\it Master Thesis}\hfill Mr Red}% doublesided, left page
{Mr Red\hfill{\it Master Thesis}}% doublesided, right page
{Mr Red\hfill{\it Master Thesis}} % one sided printing
(\textwidth,0pt)% sets the border line below the footer
}

\usepackage{amsmath}
\usepackage[ngerman, english]{babel}
\usepackage{acronym}
\usepackage{color}

%********** Footnotes **********
\renewcommand{\footnoterule}{\rule{5cm}{0.2mm} \vspace{0.3cm}} %increases the distance of footnotes from the text
\deffootnote[1em]{1em}{1em}{\textsuperscript{\normalfont\thefootnotemark}} %some moe formattion on footnotes
\usepackage[numbers,sort,square]{natbib}

\usepackage{amsmath}
\usepackage{multirow}
\usepackage{textcomp}

\pagestyle{plain} % on headers or footers on the first page
\usepackage{float}
\usepackage{graphicx}
\usepackage{sectsty}
\usepackage{natbib}


%frutiger font
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{frutiger}
[2007/04/02 v2.1 Style file for Linotype Frutiger]

\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
\DeclareOption{lining}{\renewcommand*{\rmdefault}{lfrx}}
\DeclareOption{oldstyle}{\renewcommand*{\rmdefault}{lfrj}}
\ExecuteOptions{oldstyle}
\ProcessOptions\relax
%%
%% End of file 'frutiger.sty'

\begin{document}
\bibliographystyle{ieeetr}



blablablabla
\end{document}



can someone please tell me how can i get fonts (bold font) using the frutiger package, because until now I cant get any font doesnt matter which command i use (from \bf to \textbf to \bfseries)
I really appreciate your help
sincerely
Red
MrRed
Posts: 6
Joined: Mon Nov 07, 2011 12:24 am

Re: Frutiger Font in portable LaTeX System

Post by MrRed »

and i keep getting this error:

LaTeX Warning: You have requested package `',
but the package provides `frutiger'
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Frutiger Font in portable LaTeX System

Post by Montag »

Why would you put this into the preamble?
%frutiger font
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{frutiger}
[2007/04/02 v2.1 Style file for Linotype Frutiger]

\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
\DeclareOption{lining}{\renewcommand*{\rmdefault}{lfrx}}
\DeclareOption{oldstyle}{\renewcommand*{\rmdefault}{lfrj}}
\ExecuteOptions{oldstyle}
\ProcessOptions\relax
%%
%% End of file 'frutiger.sty'
Seems like you really have to read up on how to use the preamble.
Also, you still haven't supplied us with the necessary details.
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
Post Reply