I'm using xymatrix in the xypic package to draw commutative diagrams and I would like for the math in the arrow labels to use the same font size as the math in the rest of the document. Is there an easy way to accomplish this? I've tried various tex commands for locally changing the font size but these don't seem to help. For example,
\documentclass[11pt,letterpaper, oneside]{book}
\usepackage{amsmath}
\usepackage{xypic}
\begin{document}
\xymatrixcolsep{5pc}\xymatrixrowsep{5pc}\xymatrix{
X \ar[d]_{\pi} \ar[rd]^f \\
X/\sim \ar[r]_{\xoversim{f}} & Y
}
\end{document}
produces symbols on the arrow labels that are considerably smaller than the other math symbols in the document. This is understandable since one uses subscript and superscript notation to indicate the labels but results in labels that are difficult to read.
\documentclass
and the appropriate packages so that those trying to help don't have to recreate it. Also, would be good to see what you tried so far.\ar[r]^{\textstyle f}