Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Normaly I use ClassicThesis with the eulermath option. When I started to use vectors, I redefined the standard command as

\renewcommand{\vec}{\mathbf}

The problem is that that the letter written whit mathbf is completely different to the letter written in eulermath. How can I fix this problem?

This is a MWS:

\documentclass[%
    10pt,%
    a4paper,%
    onside,%
    headinclude,%
    footinclude,%
    BCOR5mm,%
    captions=tableheading]%
        {scrartcl}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage[french]{babel}

\usepackage{amsmath}

\renewcommand{\vec}{\mathbf}

\usepackage[%
    nochapters,%
    beramono,%
    eulermath,%
    pdfspacing,%
    listings]%
        {classicthesis}

\author{Author}
\title{Test}
\date{}

\begin{document}

\maketitle

As you can see, there is a big difference:
\[
   a \neq \vec{a}
\]

\end{document}
share|improve this question
1  
You get bold Euler with \mathbold: Section 4.1.3 in the documentation of eulervm. –  egreg Oct 4 '12 at 21:55

2 Answers 2

up vote 7 down vote accepted

The eulermath option loads the eulervm package, which distinguishes the standard \mathbf command from its own command \mathbold which uses Euler Bold.

So the answer is

\renewcommand{\vec}{\mathbold}

If you want a redefinition that's independent of the eulermath option, you can say

\ifthenelse{\boolean{@eulermath}}
  {\renewcommand{\vec}{\mathbold}}
  {\renewcommand{\vec}{\mathbf}}

enter image description here

Sorry for the non spaced colon, but I can't stand it. :)

share|improve this answer
    
Thank you! =). (The spaced colon is obtained with french option in babel package... ;) ). –  R. M. Oct 5 '12 at 6:00

enter image description here

\mathbf is the math access for the text bold font.

If you load bm package after the euler fonts are set up you can use \bm as shown above .

\documentclass[%
    10pt,%
    a4paper,%
    onside,%
    headinclude,%
    footinclude,%
    BCOR5mm,%
    captions=tableheading]%
        {scrartcl}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage[french]{babel}


\usepackage{amsmath}

\renewcommand{\vec}{\mathbf}

\usepackage[%
    nochapters,%
    beramono,%
    eulermath,%
    pdfspacing,%
    listings]%
        {classicthesis}

\usepackage{bm}
\author{Author}
\title{Test}
\date{}

\begin{document}

\maketitle



As you can see, there is a big difference:
\[
   a \neq \vec{a} \bm{a}
\]

\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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