TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been using tikz-cd package to produce diagrams however I'm not finding a way to use displayed math within it. My point is that when I use the product sign for instance inside of it, it simply shows as it were inline. I'm using the following commands:

     \begin{tikzcd}[row sep=huge, column sep=huge, text height=1.5ex, text depth=0.25ex]
          \prod_{i=1}^{p} \arrow{r}{i} \arrow[bend right=50]{rr}{T} & \mathcal{M} \arrow{r}{\pi} & \otimes_{i=1}^{p}V_i

However both the normal product sign and the tensor product sign appear as inline. Is there any way to show those signs as they appear in the displaymath mode?

share|improve this question
up vote 3 down vote accepted

You can use \displaystyle\prod and \bigotimes\limits; I also used a shorten length for the curved arrow to prevent overlapping:



     \begin{tikzcd}[row sep=huge, column sep=huge, text height=1.5ex, text depth=0.25ex]
          \displaystyle\prod_{i=1}^{p} \arrow{r}{i} \arrow[bend right=50,shorten >=10pt]{rr}{T} & \mathcal{M} \arrow{r}{\pi} & \bigotimes\limits_{i=1}^{p}V_i


enter image description here

share|improve this answer
Thanks very much @GonzaloMedina ! – user1620696 Apr 28 '13 at 0:39
Is there a neat option or workarround in tikz-cd to make it work for all diagrams? – Cristos A. Ruiz Mar 7 '15 at 16:30

\displaystyle and \limits will probably do what you want.

Try, for example, $\displaystyle \sum_{i=0}^{n}\limits a_i$.

share|improve this answer
Hi @user12677, it worked just for \prod, for \otimes it doesn't work. Is any workaround? Thanks very much. – user1620696 Apr 28 '13 at 0:19
Try \bigotimes – Kevin Apr 28 '13 at 8:19

Your Answer


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.