提问于:
浏览数:
2449
```tex
\documentclass[a4paper,UTF8,twoside]{article}
\usepackage{upgreek}
\usepackage{tikz-cd}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage[margin=20mm]{geometry}
\usepackage[colorlinks=true]{hyperref}
\def\ds{\displaystyle}
\def\ve{\varepsilon}
\newcommand{\mcF}{\mathcal{F}}
\newcommand{\mcS}{\mathcal{S}}
\newcommand{\mrdy}{\,\mathrm{d}y}
\newcommand{\mre}{\mathrm{e}}
\newcommand{\mri}{\mathrm{i}}
\newcommand{\mrpv}{\mathrm{p.v.}}
\newcommand{\mrsgn}{\mathrm{sgn}}
\newcommand{\swhat}{\ \widehat{}}
\begin{document}
\begin{tikzcd}
\underbrace{Q_t*f}_{{\color{red}A}}\arrow[r]\arrow[d, "\mcF"']
&\underbrace{\overset{{\color{red}\begin{smallmatrix} Mf\\ \|{\triangle}\\ \end{smallmatrix}}}{\dfrac{1}{\uppi}\mrpv\left(\dfrac{1}{x}*f\right)}}_{{\color{red}B}}\arrow[d, "\mcF"'] \arrow[r, equal]
&\dfrac{1}{\uppi}\lim\limits_{s\to 0}{\ds\int_{|y|>\ve}}\dfrac{1}{y}f(x-y)\mrdy\\
-\mri\mrsgn(\xi)\mre^{-2\uppi\mri|\xi|}\arrow[r, "\mcS'"]
&\underbrace{\left(\dfrac{1}{\uppi}\mrpv\dfrac{1}{x}\right)\swhat}_{{\color{red}C}}\arrow[r, equal, red]
&{\color{red}\mri\mrsgn(\xi)}
\end{tikzcd}
\begin{tikzcd}[column sep=tiny]
\underbrace{Q_t*f}_{{\color{red}A}}\arrow[r]\arrow[d, "\mcF"']
&\underbrace{\overset{{\color{red}\begin{smallmatrix} Mf\\ \|{\triangle}\\ \end{smallmatrix}}}{\dfrac{1}{\uppi}\mrpv\left(\dfrac{1}{x}*f\right)}}_{{\color{red}B}}\arrow[d, "\mcF"'] \arrow[r, equal]
&\dfrac{1}{\uppi}\lim\limits_{s\to 0}{\ds\int_{|y|>\ve}}\dfrac{1}{y}f(x-y)\mrdy\\
-\mri\mrsgn(\xi)\mre^{-2\uppi\mri|\xi|}\arrow[r, "\mcS'"]
&\underbrace{\left(\dfrac{1}{\uppi}\mrpv\dfrac{1}{x}\right)\swhat}_{{\color{red}C}}\arrow[r, equal, red]
&{\color{red}\mri\mrsgn(\xi)}
\end{tikzcd}
\end{document}
```
第二行的等号过长,请问如何使得第三列左对齐?
2 回答
1
为 `tikzcd` 环境的可选参数中使用 `/tikz/column 3/.append style={anchor=base west}`。参考回答 https://tex.stackexchange.com/a/289304
完整例子
```tex
\documentclass[a4paper,UTF8,twoside]{article}
\usepackage{upgreek}
\usepackage{tikz-cd}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage[margin=20mm]{geometry}
\usepackage[colorlinks=true]{hyperref}
\def\ds{\displaystyle}
\def\ve{\varepsilon}
\newcommand{\mcF}{\mathcal{F}}
\newcommand{\mcS}{\mathcal{S}}
\newcommand{\mrdy}{\,\mathrm{d}y}
\newcommand{\mre}{\mathrm{e}}
\newcommand{\mri}{\mathrm{i}}
\newcommand{\mrpv}{\mathrm{p.v.}}
\newcommand{\mrsgn}{\mathrm{sgn}}
\newcommand{\swhat}{\ \widehat{}}
\begin{document}
\begin{tikzcd}[/tikz/column 3/.append style={anchor=base west}]
\underbrace{Q_t*f}_{{\color{red}A}}\arrow[r]\arrow[d, "\mcF"'] & \underbrace{\overset{{\color{red}\begin{smallmatrix} Mf\\ \|{\triangle}\\ \end{smallmatrix}}}{\dfrac{1}{\uppi}\mrpv\left(\dfrac{1}{x}*f\right)}}_{{\color{red}B}}\arrow[d, "\mcF"'] \arrow[r, equal]
&\dfrac{1}{\uppi}\lim\limits_{s\to 0}{\ds\int_{|y|>\ve}}\dfrac{1}{y}f(x-y)\mrdy\\
-\mri\mrsgn(\xi)\mre^{-2\uppi\mri|\xi|}\arrow[r, "\mcS'"]
&\underbrace{\left(\dfrac{1}{\uppi}\mrpv\dfrac{1}{x}\right)\swhat}_{{\color{red}C}}\arrow[r, equal, red]
& {\color{red}\mri\mrsgn(\xi)}
\end{tikzcd}
\end{document}
```
![](https://pics.latexstudio.net/data/images/202004/316841f351fe7c5.png)
-
谢谢! – Mso1124 2020-04-09 20:03 回复
1
改动在21行,参考`pgfmanual` sec 20.3.3 Cell Styles and Options中的
```tex
/tikz/row <row> column <column>
```
改动如下:
```tex
\documentclass[border=2cm]{standalone}
\usepackage{upgreek}
\usepackage{tikz-cd}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage[margin=20mm]{geometry}
\usepackage[colorlinks=true]{hyperref}
\def\ds{\displaystyle}
\def\ve{\varepsilon}
\newcommand{\mcF}{\mathcal{F}}
\newcommand{\mcS}{\mathcal{S}}
\newcommand{\mrdy}{\,\mathrm{d}y}
\newcommand{\mre}{\mathrm{e}}
\newcommand{\mri}{\mathrm{i}}
\newcommand{\mrpv}{\mathrm{p.v.}}
\newcommand{\mrsgn}{\mathrm{sgn}}
\newcommand{\swhat}{\ \widehat{}}
\begin{document}
\begin{tikzcd}[
/tikz/column 3/.append style={anchor=base west},
]
\underbrace{Q_t*f}_{{\color{red}A}}\arrow[r]\arrow[d, "\mcF"']
&\underbrace{\overset{{\color{red}\begin{smallmatrix} Mf\\ \|{\triangle}\\ \end{smallmatrix}}}{\dfrac{1}{\uppi}\mrpv\left(\dfrac{1}{x}*f\right)}}_{{\color{red}B}}\arrow[d, "\mcF"'] \arrow[r, equal]
&\dfrac{1}{\uppi}\lim\limits_{s\to 0}{\ds\int_{|y|>\ve}}\dfrac{1}{y}f(x-y)\mrdy\\
-\mri\mrsgn(\xi)\mre^{-2\uppi\mri|\xi|}\arrow[r, "\mcS'"]
&\underbrace{\left(\dfrac{1}{\uppi}\mrpv\dfrac{1}{x}\right)\swhat}_{{\color{red}C}}\arrow[r, equal, red]
&{\color{red}\mri\mrsgn(\xi)}
\end{tikzcd}
\begin{tikzcd}[column sep=tiny]
\underbrace{Q_t*f}_{{\color{red}A}}\arrow[r]\arrow[d, "\mcF"']
&\underbrace{\overset{{\color{red}\begin{smallmatrix} Mf\\ \|{\triangle}\\ \end{smallmatrix}}}{\dfrac{1}{\uppi}\mrpv\left(\dfrac{1}{x}*f\right)}}_{{\color{red}B}}\arrow[d, "\mcF"'] \arrow[r, equal]
&\dfrac{1}{\uppi}\lim\limits_{s\to 0}{\ds\int_{|y|>\ve}}\dfrac{1}{y}f(x-y)\mrdy\\
-\mri\mrsgn(\xi)\mre^{-2\uppi\mri|\xi|}\arrow[r, "\mcS'"]
&\underbrace{\left(\dfrac{1}{\uppi}\mrpv\dfrac{1}{x}\right)\swhat}_{{\color{red}C}}\arrow[r, equal, red]
&{\color{red}\mri\mrsgn(\xi)}
\end{tikzcd}
\end{document}
```
你的回答
请登录后回答
你的回答将会帮助更多人,请务必认真回答问题。