\overset{+}{\mathrm{b}} falsche Darstellung

Formelsatz für Mathematik, Naturwissenschaften und Technik


Romaxx

\overset{+}{\mathrm{b}} falsche Darstellung

Beitrag von Romaxx »

Hallo zusammen,

ich erhalte für
\overset{+}{\mathrm{b}}
die kursive Version, obwohl mir das internet sagt, das es damit keine probleme geben sollte.

Hier mein Quellcode:

\documentclass[twoside,11pt]{article}

% Any additional packages needed should be included after jmlr2e.
% Note that jmlr2e.sty includes epsfig, amssymb, natbib and graphicx,
% and defines many common macros, such as 'proof' and 'example'.
%
% It also sets the bibliographystyle to plainnat; for more information on
% natbib citation styles, see the natbib documentation, a copy of which
% is archived at http://www.jmlr.org/format/natbib.pdf

\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{jmlr2e}
\usepackage{lineno}
\usepackage{multirow}
\usepackage{color}
\usepackage{hyperref}
\usepackage{scrextend}
\usepackage[overload]{empheq}
\usepackage{cleveref} 
\usepackage{filecontents}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{lscape}
\usepackage{mathtools}
\usepackage{latexsym}
\usepackage{amsmath}
\usepackage{breqn}
\usepackage{subfig}
\usepackage{pgf}
\usepackage{tikz}
\usepackage{textgreek}
\usepackage{upgreek}
\usetikzlibrary{arrows,shapes,snakes,automata,backgrounds,petri}
\newtheorem{defi}{Definition}

% Definitions of handy macros can go here
\newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}}
\newcommand{\eqrefb}[1]{(\ref*{#1})}
\newcommand{\dataset}{{\cal D}}
\newcommand{\fracpartial}[2]{\frac{\partial #1}{\partial  #2}}
\newcommand*{\LargerCdot}{\raisebox{-0.25ex}{\scalebox{1.2}{$\cdot$}}}
\DeclareMathAlphabet\mathbfcal{OMS}{cmsy}{b}{n}

\begin{document}
$\overset{+}{\mathrm{b}}$
\end{document}

Romaxx

Beitrag von Romaxx »

Es scheint ein problem mit \usepackage[overload]{empheq} zu geben..

Romaxx

Beitrag von Romaxx »

Hm, oder auch nicht.. scheint an etwas anderem zu liegen

Romaxx

Beitrag von Romaxx »

Ich habe es jetzt auf diesen Fall reduziert:
\documentclass[twoside,11pt]{article}

% Any additional packages needed should be included after jmlr2e.
% Note that jmlr2e.sty includes epsfig, amssymb, natbib and graphicx,
% and defines many common macros, such as 'proof' and 'example'.
%
% It also sets the bibliographystyle to plainnat; for more information on
% natbib citation styles, see the natbib documentation, a copy of which
% is archived at http://www.jmlr.org/format/natbib.pdf

\usepackage{amsmath}
\usepackage{breqn}

\begin{document}
$\overset{+}{\mathrm{b}}$
\end{document}
Ohne \usepackage{breqn} funktioniert alles normal.
Gibt es hierzu eine Lösung?

markusv
Forum-Meister
Forum-Meister
Beiträge: 947
Registriert: Do 3. Sep 2015, 17:20
Wohnort: Leipzig

Beitrag von markusv »

Romaxx hat geschrieben:Ohne \usepackage{breqn} funktioniert alles normal.
Gibt es hierzu eine Lösung?
Klar: lass breqn weg.

Noch besser: schmeiß die Vorlage in den Papierkorb und baue sie neu auf, mit den Paketen, welche du wirklich brauchst.

Benötigst du tatsächlich breqn, kannst du, wenn du amsmath lädst, auch \text{b} nutzen. Scheint zumindest im Beispiel zu funktionieren:
\documentclass{article}
\usepackage{amsmath}
\usepackage{breqn}
\begin{document}
$\overset{+}{\text{b}}$ 
\end{document}
Wäre Microsoft Word für das Schreiben von Büchern entwickelt worden,
würde es Microsoft Book heißen.

Unkomplizierte und schnelle LaTeX-Hilfe, bspw. Erstellung von Vorlagen und Bewerbungen:
Help-LaTeX@web.de

Romaxx

Beitrag von Romaxx »

Gesagt, getan.
Funktioniert auch ohne :wink:

Antworten