表格或图片横跨两栏

只需要将 figuretable 加个 * 号即可。

1
2
3
\begin{table*}[h!t]
...
\end{table*}
1
2
3
\begin{figure*}[h!t]
...
\end{figure*}

Zotero 导出 Bib 时使用 Better Bibtex

一些类似于 ACM-Reference-Format 的参考文献,会要求 yearaddress 等字段,而在 zotero 中使用 Better BibLatex 导出的 bib 文件中,是缺乏相关字段的,只有 date,因此会报错,并且显示的参考文献会出现很多缺失内容。而使用 Better Bibtex 就会有相关字段。

建议一直使用 Better Bibtex 进行导出。

Google 论文里存放 Prompt 的 Box 样式

使用方法如下,请先定义 AIbox

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\tcbset{
  aibox/.style={
    width=\linewidth,
    top=8pt,
    bottom=4pt,
    colback=blue!6!white,
    colframe=black,
    colbacktitle=black,
    enhanced,
    center,
    attach boxed title to top left={yshift=-0.1in,xshift=0.15in},
    boxed title style={boxrule=0pt,colframe=white,},
  }
}
\newtcolorbox{AIbox}[2][]{aibox,title=#2,#1}

在需要使用的地方:

1
2
3
4
5
\begin{AIbox}{Problem setup}

We are given a prompt and a test-time compute budget within which to solve the problem. Under the abstraction above, there are different ways to utilize test-time computation. Each of these methods may be more or less effective depending on the specific problem given. How can we determine the \emph{most effective} way to utilize test-time compute for a given prompt? And how well would this do against simply utilizing a much bigger pretrained model?

\end{AIbox}

算法伪代码

导言区添加:

1
2
\usepackage{algorithmic}
\usepackage{algorithm}

通用伪代码模板:

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
\begin{algorithm}[!h]
    \caption{algorithm of SUM}
    \label{alg:AOA}
    \renewcommand{\algorithmicrequire}{\textbf{Input:}}
    \renewcommand{\algorithmicensure}{\textbf{Output:}}
    \begin{algorithmic}[1]
        \REQUIRE $A$, $B$, $C$  %%input
        \ENSURE EEEEE    %%output
        
        \STATE  AAAAA
        \WHILE{$A=B$}
            \STATE BBBBB
        \ENDWHILE
        
        \FOR{each $i \in [1,10]$}
            \IF {$C = 0$}
                \STATE CCCCC
            \ELSE
                \STATE DDDDD
            \ENDIF
        \ENDFOR
        
        \RETURN EEEEE
    \end{algorithmic}
\end{algorithm}

参考链接

Zotero Better BibTex 导出的 bib 缺少 year – 叁狮竹
5. LaTeX 算法伪代码基本格式排版_latex algorithm位置-CSDN博客