I am working with several theorem environments defined by me, for example
\newtheorem{Th}{Теорема}[chapter]
\newtheorem{Tv}[Th]{Твърдение}
(the words are in Bulgarian, but it doesn't matter). In all these theorems and the proof environments I need to use both \cite and \ref.
What I want is an uniform rule that makes everything in \cite or \ref with normal text in all theorem environments. I don't want to use \textup or similar every time.
I am well aware of this and this posts but they don't resolve this issue globally.
Here is a working example that would work for me if resolved.
\documentclass{report}
\usepackage[cp1251]{inputenc}
\usepackage[bulgarian]{babel}
\usepackage{sidecap}
\usepackage{graphicx}
\usepackage{amsmath,amssymb,latexsym,eucal}
\usepackage{mathrsfs}
\usepackage{amsfonts}
\usepackage{wrapfig}
\usepackage{amscd}
\usepackage{appendix}
\usepackage[all]{xy}
\usepackage{xcolor}
\usepackage{hyperref}
\hypersetup{
colorlinks,
linkcolor={blue!90!black},
citecolor={blue!60!black},
urlcolor={blue!90!black}
}
\usepackage{epstopdf}
\usepackage{multirow}
\usepackage{float}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{matrix,arrows,decorations.pathmorphing}
\usetikzlibrary{3d,calc}
\usepackage{pgfplots}
\newtheorem{Th}{Theorem}[chapter]
\newtheorem{Tv}[Th]{Proposition}
\begin{document}
\begin{Th}\label{myProp}
The equation
\begin{equation}\label{myEq}
x^2y+e^z-\sin{t} = 0.
\end{equation}
has a solution.
\end{Th}
\begin{Th}\cite{X}
The solutions for the equation defined in Proposition \ref{myProp} are
\[
\ldots
\]
\end{Th}
\begin{thebibliography}{999}\itemsep=-.2pc
\bibitem{X} Author X. Paper Y. Year Z.
\end{thebibliography}
\end{document}
\makeatletter \def\@cite#1#2{\textup{[{#1\if@tempswa , #2\fi}])} \makeatother
(sorry for the mashed-together code. i don't like to post answers unless i'm sure the code works.) this modifies code fromlatex.ltx
. if it works, i'll look up the definition of\ref
.