TransWikia.com

Long exact sequence too long

TeX - LaTeX Asked by Jpw5567 on January 15, 2021

Is there any way to fit the following long exact sequence in normal text width without making it too ugly?

documentclass{amsart}
usepackage{tikz-cd}
begin{document}
[begin{tikzcd}[column sep = tiny]
 cdots arrow[r] &H_{k + 1}(X^{(n)}, X^{(n - 1)}) arrow[r] & H_k(X^{(n - 1)}, A) arrow[r]  &  H_k(X^{(n)}, A)arrow[r] & H_k(X^{(n)}, X^{(n - 1)}) arrow[r]& cdots 
end{tikzcd}]
end{document}

I have thought about breaking it into two lines, but the length of the arrow at the end (the ones that come out from "cdots") is way too short.

documentclass[draft]{amsart}
usepackage{tikz-cd}
begin{document}
 [begin{tikzcd}[column sep = tiny, row sep = tiny]
 cdots arrow[r] &H_{k + 1}(X^{(n)}, X^{(n - 1)}) arrow[r] & H_k(X^{(n - 1)}, A) arrow[r]  & {}
 arrow[r] & H_k(X^{(n)}, A)arrow[r] & H_k(X^{(n)}, X^{(n - 1)}) arrow[r]& cdots
end{tikzcd}]
end{document}

Ideally I would want to shink the above sequence enough so that it would looks good in the numerate environment.

I am looking for an answer using tikz-cd, which I assume is the package most textbooks use, but I would happily accept an answer not using tikz-cd if it produce better effects.

One Answer

As you don't need any alignment points here I'm not sure a CD notation helps, I split it over two lines just using multline

enter image description here

documentclass{amsart}

begin{document}

noindent Xdotfill X

begin{multline*}
 cdots rightarrow H_{k + 1}(X^{(n)}, X^{(n - 1)}) rightarrow H_k(X^{(n - 1)}, A) rightarrow
  H_k(X^{(n)}, A)rightarrow H_k(X^{(n)}, X^{(n - 1)}) rightarrow cdots 
end{multline*}
end{document}

Correct answer by David Carlisle on January 15, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP