I'm trying to change the font in one text, but it only applied to math mode. I want it in everything. Adding \usepackage{gfsartemisia-euler} should do the trick. The preamble as it is now:

\documentclass[b1]{sciposter}
%\usepackage{epsfig}
\usepackage{amsmath, amssymb, amsfonts, amsthm, euscript}               
\usepackage{multicol}
\usepackage[latin1]{inputenc} 
\usepackage[brazil]{babel}    
%\usepackage{fancyhdr}
\usepackage{gfsartemisia-euler, dsfont}
\usepackage[T1]{fontenc} 
%\usepackage{latexsym} 
\usepackage{indentfirst}
\usepackage{enumerate}
\usepackage{subfig, float, caption}
\usepackage{graphicx}
\begin{document}
Test.
\end{document}

I don't know what I should add or remove for it to work. I have another text which has the font applied to everything, here is the preamble:

 \documentclass[a4paper, 12pt]{article}
      \usepackage{amsmath, amssymb, amsfonts, amsthm, euscript}
      \usepackage[brazil]{babel}
      \usepackage[utf8]{inputenc}
      \usepackage{indentfirst}
      \usepackage{multicol}
      \usepackage{gfsartemisia-euler, dsfont}
      \usepackage{graphicx}
      \usepackage[T1]{fontenc}
      \usepackage{stackrel}
      \usepackage{cancel}
      \usepackage{enumerate}
      \usepackage{subfig, float, caption}
      \usepackage{shadethm}
      \usepackage[dvipsnames]{xcolor}
      \usepackage{thmtools}
      \begin{document}
      Test.
      \end{document}

Some time ago, I had some trouble with that last preamble because I had forgotten to remove the \usepackage{mathrsfs} or something like it. Maybe the problem is because of the document class?

  • \usepackage{gfsartemisia} – egreg Sep 5 '15 at 22:30
  • I already have \usepackage{gfsartemisia-euler} there. Also, separating \usepackage{gfsartemisia-euler, dsfont} into two didn't work. Changing gfsartemisia-euler to gfsartemisia only didn't work either. – Ivo Terek Sep 5 '15 at 22:33
  • @egreg Why? gfsartemisia-euler seems to work fine. ;) – cfr Sep 5 '15 at 23:50
up vote 4 down vote accepted

The class switches the default font to sans, the font package sets only the serif font. If you want to use serif for a poster, you can switch it back:

\documentclass[b1]{sciposter}
\usepackage[T1]{fontenc}
\usepackage{gfsartemisia-euler}
\renewcommand\familydefault\rmdefault
\begin{document}
Test.
\end{document}

custom serif

  • I knew it was something about the class! Thanks. It works. – Ivo Terek Sep 5 '15 at 23:51
  • 1
    @IvoTerek Yep! Beamer does the same. It is common for classes intended for use in presentations and displays, where sans is often recommended. – cfr Sep 5 '15 at 23:54

enter image description here

\documentclass[b1]{sciposter}
\usepackage{amsmath, amssymb, amsfonts, amsthm, euscript}
\usepackage{amsmath}           
\usepackage{multicol}
\usepackage[latin1]{inputenc} 
\usepackage[brazil]{babel}    
\usepackage{indentfirst}
\usepackage{enumerate}
\usepackage{subfig, float, caption, kantlipsum}
\usepackage{graphicx}
\renewcommand{\familydefault}{\rmdefault}
\usepackage{gfsartemisia-euler}
\usepackage[T1]{fontenc}
\begin{document}
\Large
\kant[1-2]

\begin{equation}
e^{At}=\\ 
\left[
\begin{array}{ccc}
3e^{-t}-3e^{-2t}+e^{-3t} & \dfrac{5}{2}e^{-t}-4e^{-2t}+\dfrac{3}{2}e^{-3t} & \dfrac{1}{2}e^{-t}-e^{-2t}+\dfrac{1}{2}e^{-3t} \\[1em]
-3e^{-t}+6e^{-2t}-3e^{-3t} & \dfrac{-5}{2}e^{-t}+8e^{-2t}-\dfrac{9}{2}e^{-3t} & \dfrac{-1}{2}e^{-t}+2e^{-2t}-\dfrac{3}{2}e^{-3t} \\[1em]
3e^{-t}-12e^{-2t}+9e^{-3t} & \dfrac{5}{2}e^{-t}-16e^{-2t}+\dfrac{27}{2}e^{-3t} & \dfrac{1}{2}e^{-t}-4e^{-2t}+\dfrac{9}{2}e^{-3t} 
\end{array} 
\right]
\end{equation}

\end{document}

The standard for sciposter is to use the sans-serif font as default, so you should add your font preceded by \renewcommand{\familydefault}{\rmdefault} as follows:

\renewcommand{\familydefault}{\rmdefault}
\usepackage{gfsartemisia-euler}
\usepackage[T1]{fontenc}
  • Doesn't matter whether it precedes it or not. – cfr Sep 5 '15 at 23:55
  • @cfr Yes, it's only a matter of preference. – AboAmmar Sep 5 '15 at 23:57

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.