I have a tikz-cd diagram which does not want to sit in the middle of the page. I figured out it is because the names of the nodes are to long, because if I replace them all with X, then everything is fine.
\documentclass[a4paper, 11pt]{article}
\usepackage[a4paper,margin=1.0in]{geometry}
\usepackage{tikz-cd}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
Does not look centered...
[
\begin{tikzcd}
...\arrow[r] & {H_{k+1}(\mathbb R^n \times \mathbb R, H_-)} \arrow[r] & {H_{k+1}(\mathbb R^n\times \mathbb R, H_+\cup H_-)}\ar[out=-20, in=160]{dll} \
H_k(H_+\cup H_-, H_-) \arrow[r] &H_k(\mathbb R^n \times \mathbb R, H_-)\arrow[r] &... \end{tikzcd}
]
This looks much better:
[
\begin{tikzcd}
X\arrow[r] & {X} \arrow[r] & {X}\ar[out=-20, in=160]{dll} \
X \arrow[r] &X\arrow[r] &X \end{tikzcd}
]
\end{document}
View: https://www.overleaf.com/read/vyjykbkstykp
What can I do to shift my diagram into the middle of the page?
(What I have tried: different environments and adding empty nodes on the right hand side).
overlayoption proposed by daleif, I suggest also you do\newcommand{\RR}{\mathbb{R}}in the preamble and use\RRinstead of\mathbb R(which, by the way, should be\mathbb{R}) and avoid useless braces around the diagram nodes. Also...should be\dotsb. – egreg Mar 23 '21 at 11:11