解决beamer 参考文献列表列表不显示标号的问题

将参考文献图标改成标准格式,\begin{document} 之前添加如下:

1
\setbeamertemplate{bibliography item}[text]

解决错 latex File `caladea.sty’ not found. \renewcommand

北大 beamer 模版用texlive 编译的时候报错,这是缺少字体文件,下载即可解决:

1
sudo apt install texlive-fonts-extra

报错 Please update your system to include revtex4-1.cls

这个是缺少 revtex4-1.cls

解决:

1
sudo apt install texlive-publishers

https://tex.stackexchange.com/questions/425732/how-to-install-revtex-into-texlive

texstudio side panel 乱码

1
sudo apt remove qt5dxcb-plugin

https://github.com/texstudio-org/texstudio/issues/709

漂亮的Latex表格

  1. Avoid vertical lines
  2. Avoid “boxing up” cells, usually 3 horizontal lines are enough: above, below, and after heading
  3. Avoid double horizontal lines
  4. Enough space between rows
  5. If in doubt, align left

调整列宽。。。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\documentclass{article}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{array}

\begin{document}

\newcolumntype{A}{>{\centering}p{0.25\textwidth}}
\newcolumntype{B}{p{0.2\textwidth}}
\newcolumntype{C}{>{\centering\arraybackslash}p{0.15\textwidth}}
\begin{table}[t]
\centering
\begin{tabular}{ABBC}
\toprule
\multirow{2}{*}{Country} & \multicolumn{2}{c}{GDP} & Change \\
\cmidrule{2-3} \\
{} & 2010 & 2015 & {} \\
\midrule
United States & 14964.400 & 18036.650 & 20.53\% \\
China & 5812.464 & 11226.186 & 93.14\% \\
Japan & 5793.455 & 4382.420 & -24.36\% \\
Germany & 3309.668 & 3365.293 & 1.68\% \\
United Kingdom & 2246.079 & 2863.304 & 27.48\% \\
\bottomrule
\end{tabular}
\end{table}

\end{document}

References

https://people.inf.ethz.ch/markusp/teaching/guides/guide-tables.pdf
https://jdhao.github.io/2020/03/08/change_table_column_width_latex/