为什么我的大写希腊字母默认是斜体?

为什么我的大写希腊字母默认是斜体?

在阅读我的文档时,我注意到文档上的大写希腊字母以斜体显示。但是,我不知道为什么会发生这种情况,我想改变这种情况。

这是一个最小的工作示例,其中包括了我文档序言中出现的所有包:

\documentclass[11pt,a4paper,twoside]{article}
\pagenumbering{gobble}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}

\usepackage[left=2cm,right=2cm,top=2.5cm,bottom=2.5cm]{geometry}

\usepackage{afterpage}

\newcommand\blankpage{%
    \null
    \thispagestyle{empty}%
    \addtocounter{page}{-1}%
    \newpage}

\usepackage{blindtext}
\usepackage[nottoc,numbib]{tocbibind}
\usepackage{amsmath}
\usepackage{float}
\usepackage{booktabs}
\usepackage{amsfonts}
\usepackage{xcolor}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{mathtools}
\usepackage{tikz-cd}
\usepackage[overload]{empheq}
\usepackage[mathscr]{eucal}
\usepackage{cite}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{tikz-cd}
\usepackage{centernot}
\usepackage{stmaryrd}
\usepackage{bm}
\usepackage{enumitem}

\makeatletter
\newcommand*\rel@kern[1]{\kern#1\dimexpr\macc@kerna}
\newcommand*\widebar[1]{%
    \begingroup
    \def\mathaccent##1##2{%
        \rel@kern{0.8}%
        \overline{\rel@kern{-0.8}\macc@nucleus\rel@kern{0.2}}%
        \rel@kern{-0.2}%
    }%
    \macc@depth\@ne
    \let\math@bgroup\@empty \let\math@egroup\macc@set@skewchar
    \mathsurround\z@ \frozen@everymath{\mathgroup\macc@group\relax}%
    \macc@set@skewchar\relax
    \let\mathaccentV\macc@nested@a
    \macc@nested@a\relax111{#1}%
    \endgroup
}
\makeatother

\makeatletter
\renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{%
    \hskip -\arraycolsep
    \let\@ifnextchar\new@ifnextchar
    \array{#1}}
\makeatother

\usepackage{fixmath} % for \mathbold
\usepackage{scalerel}
\newlength\bshft
\bshft=.18pt\relax
\def\fakebold#1{\ThisStyle{\ooalign{$\SavedStyle#1$\cr%
            \kern-\bshft$\SavedStyle#1$\cr%
            \kern\bshft$\SavedStyle#1$}}}

\usepackage{tikz} % Para pictures
\usetikzlibrary{babel}
\usetikzlibrary{decorations.markings,arrows} %decoracion en tikz
\usetikzlibrary{shadows,arrows,positioning,shapes.geometric}
\usetikzlibrary{decorations,decorations.markings}
\usepackage{pgfplots}
\usetikzlibrary{intersections, pgfplots.fillbetween}
\usetikzlibrary {arrows.meta}

\usepackage{etoolbox}
\usetikzlibrary{optics}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}

\usepackage[cmtip,all]{xy}
\newcommand{\longsquiggly}{\xymatrix{{}\ar@{~>}[r]&{}}}

\renewenvironment{proof}%
{\noindent{\em Demostración. }\nopagebreak}%
{\hfill\linebreak[2]\hspace*{\fill}$\Box$\\[6pt]}

\DeclareFontFamily{U}{MnSymbolC}{}
\DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n}
\DeclareFontShape{U}{MnSymbolC}{m}{n}{
    <-6>  MnSymbolC5
    <6-7>  MnSymbolC6
    <7-8>  MnSymbolC7
    <8-9>  MnSymbolC8
    <9-10> MnSymbolC9
    <10-12> MnSymbolC10
    <12->   MnSymbolC12}{}
\DeclareMathSymbol{\intprod}{\mathbin}{MnSyC}{'270}

\begin{document}
$\Omega$
\end{document}

提前感谢您的回答。

答案1

该问题似乎是由引起的\usepackage{fixmath},一旦你评论该行,欧米茄就直立了。

相关内容