hello, I was trying to change the headings using \setbeamerfont{title}{shape=\scshape,series=\bfseries} but as I use the command \renewcommand{\rmdefault}{rm} it seems to undo what I did before.
Also, I would like to combine serif text with sans-serif math. Is there a way to do it?
Thanks a lot for your help!
Ignacio
\documentclass[serif ,mathsansserif ,professionalfont]{beamer}
\usepackage{amsfonts}
\usepackage{beamerprosper}
\usepackage{mathptmx}
\usepackage{palatino}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{lmodern}
\usepackage{hyperref}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{color}
\usepackage{amsmath}
\usepackage{mathpazo}
\usepackage{hyperref}
\usepackage{multimedia}
\usepackage{amssymb}
\usepackage{amscd}
\usepackage[longnamesfirst]{natbib}
\usepackage{epstopdf}
\usepackage{floatflt}
\usepackage{ifthen}
\usepackage{pgfmath}
\usepackage{tikz,ifthen}
\mode<presentation>
{\usefonttheme{serif} % structureitalicserif,structureitalicserif
\usetheme{Boadilla}
\setbeamercovered{transparent}
}
\setbeamerfont{frametitle}{shape=\scshape,series=\bfseries}
\setbeamerfont{title}{shape=\scshape,series=\bfseries}
\renewcommand{\rmdefault}{rm}
Text Formatting ⇒ beamer font
NEW: TikZ book now 40% off at Amazon.com for a short time.

beamer font
Please read this description of what a minimal working example should look like.
What are you hoping to accomplish with:
? That command makes little sense to me.
In general, your preamble makes little sense with regard to fonts. First you load mathptmx, which sets the fonts to Times. Then you load palatino, which sets it to Palatino. Then you load lmodern, which sets it to Latin Modern. Then you load mathpazo, which is a different way of loading Palatino. No wonder your document is confused about fonts! You also load certain packages like ifthen more than once. Try to keep your preamble clean.
What fonts do you actually want?
in your preamble instead of \usefonttheme{serif} should give you serif text with sans serif math.
What are you hoping to accomplish with:
Code: Select all
\renewcommand{\rmdefault}{rm}
In general, your preamble makes little sense with regard to fonts. First you load mathptmx, which sets the fonts to Times. Then you load palatino, which sets it to Palatino. Then you load lmodern, which sets it to Latin Modern. Then you load mathpazo, which is a different way of loading Palatino. No wonder your document is confused about fonts! You also load certain packages like ifthen more than once. Try to keep your preamble clean.
What fonts do you actually want?
Using the command:Also, I would like to combine serif text with sans-serif math. Is there a way to do it?
Code: Select all
\usefonttheme[stillsansserifmath]{serif}
Re: beamer font
Thanks, I was very confused indeed. I kept lmodern as the package for font. I think this package creates conflict when I do \setbeamerfont{frametitle}{shape=\scshape,series=\bfseries}.If I use palatino instead, the transformation takes place.
I think I realise now that the command \renewcommand{\rmdefault}{rm}
was useless because this was already exectued by some of the packages. Is there any way to select some particular font among the lmodern? ,i.e. instead of using rm, e.g. using crm10.
Thanks again.
\documentclass[]{beamer}
\usepackage{amsfonts}
\usepackage{beamerprosper}
%\usepackage{palatino}
\usepackage{lmodern}
\mode<presentation>
{\usefonttheme[stillsansserifmath]{serif} % structureitalicserif,structureitalicserif
\usetheme{Boadilla}
\setbeamercovered{transparent}}
\setbeamerfont{frametitle}{shape=\scshape,series=\bfseries}
\begin{document}
\begin{frame}
\frametitle{Frame Title}
This is a slide
\end{frame}
\end{document}
I think I realise now that the command \renewcommand{\rmdefault}{rm}
was useless because this was already exectued by some of the packages. Is there any way to select some particular font among the lmodern? ,i.e. instead of using rm, e.g. using crm10.
Thanks again.
\documentclass[]{beamer}
\usepackage{amsfonts}
\usepackage{beamerprosper}
%\usepackage{palatino}
\usepackage{lmodern}
\mode<presentation>
{\usefonttheme[stillsansserifmath]{serif} % structureitalicserif,structureitalicserif
\usetheme{Boadilla}
\setbeamercovered{transparent}}
\setbeamerfont{frametitle}{shape=\scshape,series=\bfseries}
\begin{document}
\begin{frame}
\frametitle{Frame Title}
This is a slide
\end{frame}
\end{document}
beamer font
If you want Computer Modern, not Latin Modern, you shouldn't load the lmodern package at all.
This works for me:
This works for me:
Code: Select all
Code, edit and compile here:
\documentclass{beamer}\usepackage{amsfonts}\usepackage{beamerprosper}\usepackage[T1]{fontenc}\mode<presentation>{\usefonttheme[stillsansserifmath]{serif} % structureitalicserif,structureitalicserif\usetheme{Boadilla}\setbeamercovered{transparent}}\setbeamerfont{frametitle}{shape=\scshape,series=\bfseries}\begin{document}\begin{frame}\frametitle{Frame Title}This is a slide\end{frame}\end{document}
Re: beamer font
Thanks, that works but I like more the Latin Modern kind of letter...
How can I select a particular kind of letter in this familiy?
thanks.
How can I select a particular kind of letter in this familiy?
thanks.