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.

2 Answers2

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.

cfr
  • 198,882
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

egreg
  • 1,121,712
  • 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? – Diego D. R. Rivera Sep 27 '16 at 06: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 Sep 27 '16 at 07:17