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

When writing diagrams with XY-Pic, fractions appear as if they were math enclosed in $$. Example:


The actual diagram I am working at is of course more complicated, and these fractions appear too cramped. How can I enforce the fraction to appear as in displayed math, that is, as in \[ \frac{d_1}{d_2} \]?

share|improve this question
up vote 2 down vote accepted

You should use \dfrac instead of \frac. This macro is available using the package \usepackage{amsmath}.

There is as well a macro \tfrac available.

The letter d stays for \displaystyle, and t for \textstyle.

share|improve this answer

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.