latex如何居中一行字 latex表格标题内容居中( 二 )


  • 斜体\\emph{International Joint Conference on Artificial Intelligence}
  • 加粗\\textbf{The proceedings are designed for printing on A4paper.}为加粗
  • 交叉引用~\\ref{ssec:first}为引用当前文件的位置,其对应位置上的代码为\\label{ssec:first},需紧跟section或者subsection 。
  • 不需转义\\verb|\\aclfinalcopy|表示使用原文\\aclfinalcopy,不需要转义
  • 顶格开启新段落\\noindent
【latex如何居中一行字 latex表格标题内容居中】4. 列表
  • 有序列表
\\begin{enumerate}[(1)]
\\item 有编号的列表
\\item …
\\end{enumerate}
  • 无序列表
\\begin{itemize}
\\item Left and right margins: 2.5 cm
\\item Top margin: 2.5 cm
\\item Bottom margin: 2.5 cm
\\item Column width: 7.7 cm
\\item Column height: 24.7 cm
\\item Gap between columns: 0.6 cm
\\end{itemize}
5. 表格
  • 普通表格
\\begin{table}[t!]
\\begin{center} %表格整体居中
\\begin{tabular}{|l|rl|} %各列对齐方式
\\hline %直线
\\textbf{Type of Text} & \\textbf{Font Size} & \\textbf{Style} \\\\ %设置字体
\\hline
paper title & 15 pt & bold \\\\ %各列以&分割
author names & 12 pt & bold \\\\
author affiliation & 12 pt & \\\\
the word “Abstract\’\’ & 12 pt & bold \\\\
section titles & 12 pt & bold \\\\
subsection titles & 11 pt & bold \\\\
document text & 11 pt &\\\\
captions & 10 pt & \\\\
abstract text & 10 pt & \\\\
bibliography & 10 pt & \\\\
footnotes & 9 pt & \\\\
\\hline
\\end{tabular}
\\end{center}
\\caption{\\label{font-table} Font guide. } %文章标题
\\end{table}
  • 双列表格
\\begin{table}
\\centering
\\small
\\begin{tabular}{cc} %一个c表示一列
\\begin{tabular}{|l|l|} %|表示是否需要竖线
\\hline
\\textbf{Command} & \\textbf{Output}\\\\\\hline
\\verb|{\\\”a}| & {\\\”a} \\\\
\\verb|{\\^e}| & {\\^e} \\\\
\\verb|{\\`i}| & {\\`i} \\\\
\\verb|{\\.I}| & {\\.I} \\\\
\\verb|{\\o}| & {\\o} \\\\
\\verb|{\\\’u}| & {\\\’u} \\\\
\\verb|{\\aa}| & {\\aa} \\\\\\hline
\\end{tabular} &
\\begin{tabular}{|l|l|} %第二个表格
\\hline
\\textbf{Command} & \\textbf{Output}\\\\\\hline
\\verb|{\\c c}| & {\\c c} \\\\
\\verb|{\\u g}| & {\\u g} \\\\
\\verb|{\\l}| & {\\l} \\\\
\\verb|{\\~n}| & {\\~n} \\\\
\\verb|{\\H o}| & {\\H o} \\\\
\\verb|{\\v r}| & {\\v r} \\\\
\\verb|{\\ss}| & {\\ss} \\\\\\hline
\\end{tabular}
\\end{tabular}
\\caption{Example commands for accented characters, to be used in, \\emph{e.g.}, \\BibTeX\\ names.}\\label{tab:accents}
\\end{table}
  • 跨列表格
\\begin{table*}[t!] %这里的星表示当为2列的文章时,此表格为1列表格 。
\\centering
\\begin{tabular}{lll}
output & natbib & previous ACL style files\\\\
\\hline
\\citep{Gusfield:97} & \\verb|\\citep| & \\verb|\\cite| \\\\
\\citet{Gusfield:97} & \\verb|\\citet| & \\verb|\\newcite| \\\\
\\citeyearpar{Gusfield:97} & \\verb|\\citeyearpar| & \\verb|\\shortcite| \\\\
\\end{tabular}
\\caption{Citation commands supported by the style file.
The citation style is based on the natbib package and
supports all natbib citation commands.
It also supports commands defined in previous ACL style files
for compatibility.
}
\\end{table*}
这里t表示表格的位置,具体的有以下四种选项:
  • hHere – at the position in the text where the table environment appears.
  • tTop – at the top of a text page.
  • bBottom – at the bottom of a text page.
  • pPage of floats – on a separate float page, which is a page containing no text, only floats.
6. 引用与脚注
从上表中,可以看到5种引用格式,分别是:
\\citep{Gusfield:97} %(人名,时间)
\\citet{Gusfield:97} %人名(时间)
\\citeyearpar{Gusfield:97} %(时间)
~\\cite{Gusfield:97} %(人名,时间)
~\\cite{Gusfield:97,Aho:72} %(人名,时间;人名,时间)
这里引用参考文献时,其别名只需要在参考文献的第一个部分加上即可 。
  • 引用表格或图的形式(see Table~\\ref{font-table})
  • 脚注\\footnote{This is how a footnote should appear.}
至此,我们把整个ACL2019的模板自上而下梳理了一番,从而可以更好地使用这个模板了 。至于更加深层的教程,我们会后续解答 。

推荐阅读