Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is there a way to make superscripts larger? Here is a minimal working example.

\documentclass[12pt]{amsart}
\usepackage{amssymb}
\usepackage[all]{xy}    

\begin{document}
\xymatrix{A \\ B\ar@{}[u]^{\circlearrowleft} }
\end{document}

and I would like the \circlearrowleft to be larger. The following, for example, doesn't work:

\xymatrix{A \\ B\ar@{}[u]^{
    \begin{Huge}
      \circlearrowleft
    \end{Huge}
} }
share|improve this question
    
An easy scaling technique for resizing symbols is via graphicx: \usepackage{graphicx}...\scalebox{2}{$\circlearrowleft$} will double the size of \circlearrowleft. –  Werner Dec 28 '11 at 22:59
    
While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. –  Peter Grill Dec 28 '11 at 22:59
    
@PeterGrill: Thanks! I added a MWE. –  David Zureick-Brown Dec 28 '11 at 23:02
    
@Werner: Awesome! Thanks! –  David Zureick-Brown Dec 28 '11 at 23:04
add comment

2 Answers

up vote 3 down vote accepted

Scaling is possible on a "factor" basis via graphicx's \scalebox{<num>}{<stuff>} or "length/dimension" basis via \resizebox{<width>}{<height>}{<stuff>}. Here is a minimal example showing the former:

enter image description here

\documentclass[12pt]{amsart}
\usepackage{graphicx}% http://ctan.org/pkg/graphicx
\usepackage{amssymb}
\usepackage[all]{xy}

\begin{document}
\begin{minipage}{0.2\linewidth}
\xymatrix{A \\ B\ar@{}[u]^{\circlearrowleft} }
\end{minipage} \quad
\begin{minipage}{0.2\linewidth}
\xymatrix{A \\ B\ar@{}[u]^{\scalebox{2}{$\circlearrowleft$}} }
\end{minipage}

\end{document}

Since both \scalebox and \resizebox resets the contents to text mode, you have to switch back to math mode using $...$.

share|improve this answer
add comment

A quick way is using \Huge etc. inside \mbox:

...^{\mbox{\Huge$\circlearrowleft$}}

Complete example:

\documentclass{article}
\usepackage[all]{xy}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\xymatrix{
  {} & M = H^1_{\text{cris}}(J_C, Z_p) \ar[dr]  & \\
  J_C\ar@{-->}[ru] \ar@{-->}[rd] & &  H^1_{\text{dR}}(J_C, F_p) \\
  & \{J_C[p^n]\}_n \ar@{-->}[uu] & V^{-1}\colon df \mapsto
  \frac{\text{``}d(f^p)\text{"}}{p}\ar@{}[u]^{\mbox{\Huge$\circlearrowleft$}}
}
\end{document}

xypic diagram

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.