## 编译环境
操作系统
* [ X] Windows 7/8/10
* [ ] macOS
* [ ] Linux
`若需勾选,请把[ ]改成[x]`
Tex发行版
* [X ] TexLive ...
## 编译环境
操作系统
* [ X] Windows 7/8/10
* [ ] macOS
* [ ] Linux
`若需勾选,请把[ ]改成[x]`
Tex发行版
* [X ] TexLive `年份`
* [ ] MikTeX `版本号`
* [ ] CTeX
`若需勾选,请把[ ]改成[x]`
## 我的问题
我有两个问题,希望得到各位大神的帮助。
1. 我希望能够在beamer展示稿里的表格里加入红框
```
\begin{table}[H]
\centering
\caption{T }
\resizebox{0.95\columnwidth}{!}{
\begin{tabular}{lcccccccc}
\toprule
& (1) & (2) & (3) & (4) & (5)& (6)& (7)& (8)\\
\midrule
\textbf{Second Stage } & \multicolumn{8}{c}{Dependent variable: X} \\
& \multicolumn{4}{c}{XXXXXXX} & \multicolumn{4}{c}{YYYYYYYYY} \\
\cmidrule(r){2-5} \cmidrule(r){6-9}
Above cutoff &\marktopleft{a1}-0.520$^{**}$ & -0.475$^{**}$ & -0.498$^{**}$ & -0.485$^{**}$ & -0.345$^{*}$ & -0.295 & -0.303$^{*}$ & -0.304$^{*}$ \\
& [0.246] & [0.215] & [0.212] & [0.215] & [0.208] & [0.190] & [0.181] & [0.176] \markbottomright{a1}{red} \\
Male & & -0.087$^{***}$ & -0.051$^{**}$ & -0.051$^{**}$ & & -0.100$^{***}$ & -0.059$^{*}$ & -0.059$^{*}$ \\
& & [0.021] & [0.016] & [0.017] & & [0.023] & [0.019] & [0.019] \\
\bottomrule
\end{tabular}
}
\end{table}
\uncover<1->{\tikz[overlay,remember picture,inner sep=1.5 pt]
\node[draw=red,rounded corners,fit=(marker-a1-a.north west) (marker-a1-b.south east)] {};}
```
但是我只能得到这样的结果,这个方框都歪掉了,该怎么调整呢?
![](https://wenda.latexstudio.net/data/attach/201125/LzmTK0ZG.png)
2. 第二个问题是,我希望能在公式下面加上箭头和文字
```
\begin{equation*}
\alpha_{g}^{IV} = \left. \underbrace{Cov(Y, g(\textcolor{blue}{Z}))}_{\text{\textcolor{red}{Reduced Form}}} \middle/ \underbrace{Cov(D, g(\textcolor{blue}{Z}))}_{\text{\textcolor{green}{First Stage}}} \right.
\end{equation*}
```
对于这个公式我想改成下面是箭头加文字的形式:
![](https://wenda.latexstudio.net/data/attach/201125/h9y3lagU.jpg)
该怎么做呢?
谢谢!
一周热门 更多>