0

I need to get the regular \mathbb style (the resulting one only using \amsfonts) and the kpfonts' \mathfrak style using the package fourier.

Thanks.

1
  • 1
    Welcome to TeX SX! In my opinion, you shouldn't: they don't fit well together.
    – Bernard
    Commented Sep 23, 2016 at 2:17

2 Answers 2

1

You can; whether you should is a matter of opinion.

\documentclass{article}
\usepackage{fourier}

\DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
\makeatletter
\DeclareSymbolFontAlphabet{\math@bb}{AMSb}
% see http://tex.stackexchange.com/a/254979/
\AtBeginDocument{\protected\def\mathbb{\math@bb}} 
\makeatother
\DeclareMathAlphabet{\mathfrak}{U}{jkpmia}{m}{it}
\SetMathAlphabet{\mathfrak}{bold}{U}{jkpmia}{bx}{it}

\begin{document}

$A+\mathbb{A}+\mathfrak{A}$

\end{document}

enter image description here

2
  • When I use the MnSymbol package the command \mathcal{P} shows a nice P, but when I remove that package, \mathcal{P} shows a very ugly P (in my opinion) thanks to fourier. How can I get the normal P whitout MnSymbol using the \mathcal{P} command? Commented Sep 27, 2016 at 6:16
  • @DiegoD.R.Rivera You should be aware that MnSymbol changes all math symbols. There's no ”normal“ P, so it's quite unclear what you want to achieve. In any case, it is a brand new question.
    – egreg
    Commented Sep 27, 2016 at 7:17
1

You shouldn't and I wouldn't, but technically you could.

\usepackage{amssymb}
\usepackage{fourier}
\DeclareSymbolFontAlphabet{\math@bb}{AMSb}

This is entirely untested since you didn't provide a minimal working example - or, indeed, any code at all - to work from. So you must be happy adapting it to your local requirements.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .