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

Does anyone know how to resize the names of entries which appear as vertices inside \xymatrix? I have huge commuative cubes with more then 40 inner or outer vertices and when these names become too large then one cannot distinguish the edges of diagrams between them...

share|improve this question
Welcome to TeX.sx! Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. A tip: You can use backticks ` to mark your inline code as I did in my edit. – Kurt Oct 26 '12 at 13:29

here's an approach that's rather a hack, as it must be applied manually to every vertex.



This diagram has normal-sized labels.
  V_1 \ar[d]_\tau \ar[r]^{\rho_1(g) } & V_1 \ar[d]^\tau \\
  V_2             \ar[r]^{\rho_2(g) } & V_2

This diagram has ``smallified'' labels, hard coded.
  \text{\small$V_1$} \ar[d]_{\text{\small$\tau$}} \ar[r]^{\text{\small$\rho_1(g)$} }
    & \text{\small$V_1$} \ar[d]^{\text{\small$\tau$}} \\
  \text{\small$V_2$}  \ar[r]^{\text{\small$\rho_2(g)$} }
    & \text{\small$V_2$}

This diagram uses a macro to shrink the labels.
  \smxylabel{V_1} \ar[d]_{\smxylabel{\tau}} \ar[r]^{\smxylabel{\rho_1(g)} }
   & \smxylabel{V_1} \ar[d]^{\smxylabel{\tau}} \\
  \smxylabel{V_2}  \ar[r]^{\smxylabel{\rho_2(g)} }
   & \smxylabel{V_2}

output of example code

edit: the original poster asks whether it's possible to use \objectbox. i'm not familiar with that command, and have never used it, but it's definitely available in xypic.

the way it's defined appears to correspond reasonably well to the concept of my hack. so i think it's worth a try.

share|improve this answer
Thank you for your answer very much! It improves a solution of my problem. Do you know may I also use size modifiers using \objectbox? – Igor Bakovic Oct 26 '12 at 19:45

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.