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.

I am trying to format some large commutative diagrams (using the \xymatrix command) that involve colimits, and I would like to have the indexing information for the colimits appear underneath the word "colim" rather than as a subscript of "colim" (to save space).

I have a command $\DeclareMathOperator*{\mocolim}{colim}$ which solves this problem for ordinary displayed equations (inside the equation environment, say). In other words, the command $\begin{equation} \mocolim_{n\rightarrow \infty} f(n) \end{equation}$ puts the symbols $n\rightarrow \infty$ underneath the word colim.

However, if I use the same command inside \xymatrix, the subscript $n\rightarrow \infty$ is displayed as a subscript, down and to the right of the word colim (just as would happen in ordinary mathmode).

How can I fix this?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Entries in \xymatrix are typeset in \textstyle mode, so the "solution" would be to say

\mocolim\limits_{n\rightarrow \infty}

but this may have adverse effects on vertical alignment of entries.

share|improve this answer
    
Thanks! I probably knew this at some point long ago... –  Dan Ramras Feb 21 '12 at 0:16

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.