TeX - LaTeX Asked on February 22, 2021
Starting from this code where I have used xy
package:
documentclass[a4paper,12pt]{article}
usepackage{amssymb}
usepackage[all,cmtip]{xy}
begin{document}
xymatrix@!0{
& alpha ar@{-}[rr]ar@{-}'[d][dd]
& & beta D ar@{-}[dd]
\
gamma ar@{-}[ur]ar@{-}[rr]ar@{-}[dd]
& & delta A ar@{-}[ur]ar@{-}[dd]
\
& ax ar@{-}'[r][rr]
& & bxximu
\
Gamma_r(f(x,y)) ar@{-}[rr]ar@{-}[ur]
& & lambda P ar@{-}[ur]
}
end{document}
looking this image taken in this question,
the labels seem to be rotated, put in a frontal perspective. Is it possible to do this with the xy
package instead of tikz-cd
?
With the extension Rotate and Scale extension by Ross Moore you can also achieve a similar output. Therefore, load the option xyoption{rotate}
and add the argument [@!<number>]
. For further details, see p. 29 of Reference manual
documentclass[a4paper,12pt]{article}
usepackage{amssymb}
usepackage[all,cmtip]{xy}
xyoption{rotate}
begin{document}
defangle{50}
xymatrix@!0{
& *+[@!angle]{alpha} ar@{-}[rr]ar@{-}'[d][dd]
& & *+[@!angle]{beta D} ar@{-}[dd]
\
gamma ar@{-}[ur]ar@{-}[rr]ar@{-}[dd]
& & delta A ar@{-}[ur]ar@{-}[dd]
\
& *+=[@!angle]{ax} ar@{-}'[r][rr]
& & *+=[@!angle]{bxximu}
\
Gamma_r(f(x,y)) ar@{-}[rr]ar@{-}[ur]
& & lambda P ar@{-}[ur]
}
end{document}
The answer of David Carlisle to Rotating labels in xypic shows you a possible solution, that is, using for example the rotatebox
command of the graphicx
package.
documentclass[a4paper,12pt]{article}
usepackage{amssymb}
usepackage{graphicx}
usepackage[all,cmtip]{xy}
begin{document}
defangle{50}
xymatrix@!0{
& rotatebox[origin=c]{angle}{$alpha$} ar@{-}[rr]ar@{-}'[d][dd]
& & rotatebox[origin=c]{angle}{$beta D$} ar@{-}[dd]
\
gamma ar@{-}[ur]ar@{-}[rr]ar@{-}[dd]
& & delta A ar@{-}[ur]ar@{-}[dd]
\
& rotatebox[origin=c]{angle}{ax} ar@{-}'[r][rr]
& & rotatebox[origin=c]{angle}{$bxximu$}
\
Gamma_r(f(x,y)) ar@{-}[rr]ar@{-}[ur]
& & lambda P ar@{-}[ur]
}
end{document}
Correct answer by Ñako on February 22, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP