> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/latex/zh-cn/yan-shi-wen-gao/03-posters.md).

# 海报

## 引言

科学海报常用于在会议和其他形式的会议上展示研究/信息，它们可以促进你研究成果的展示，并与同事讨论。本文介绍了在 LaTeX 中排版海报的基础知识，但如果你想快速了解各种可能性，请访问 [Overleaf Gallery](https://www.overleaf.com/gallery) 来搜索海报模板作为起点：

* [`beamerposter` 模板和示例](https://www.overleaf.com/gallery?addsearch=beamerposter)
* [`tikzposter` 模板和示例](https://www.overleaf.com/gallery?addsearch=tikzposter)

## 两种主要选择

编写科学海报的两种主要选项是 `tikzposter` 和 `beamerposter`。它们都提供用于自定义海报的简单命令，并支持大幅面纸张格式。下面，你可以看到这两个宏包生成结果的并排比较（`tikzposter` 左侧为 `beamerposter` 右侧为）。

|                                                                        |                                                                          |
| ---------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| ![PostersEx2OLV2.png](/files/96d98076b6ce53bd68753169503682473c581ac3) | ![BeamerPosterDemo.png](/files/a6bc9fc79e20b45cd71eed1e9d8f04d15e08aa1b) |

## Tikzposter

`tikzposter` 是一个用于生成 PDF 格式科学海报的文档类。它使用 [TikZ 宏包](/latex/zh-cn/tu-xing-he-biao-ge/05-tikz-package.md) 并提供非常灵活的版式。

&#x20;[打开一个……的示例 `tikzposter` Overleaf 中的类](https://www.overleaf.com/project/new/template/20403?id=69813043\&templateName=Example+of+a+Tikz+Poster\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

### 导言区和标题

在一个 `tikzposter` 类中的导言区具有标准语法：

```latex
\documentclass[25pt, a0paper, portrait]{tikzposter}
\title{Tikz Poster Example}
\author{Overleaf Team}
\date{\today}
\institute{Overleaf Institute}
\usetheme{Board}

\begin{document}

\maketitle

\end{document}
```

&#x20;[打开这个最小 `tikzposter` Overleaf 中的示例](https://www.overleaf.com/docs?engine=\&snip_name=tikzposter+example\&snip=%5Cdocumentclass%5B25pt%2C+a0paper%2C+portrait%5D%7Btikzposter%7D%0A%5Ctitle%7BTikz+Poster+Example%7D%0A%5Cauthor%7BOverleaf+Team%7D%0A%5Cdate%7B%5Ctoday%7D%0A%5Cinstitute%7BOverleaf+Institute%7D%0A%5Cusetheme%7BBoard%7D%0A%0A%5Cbegin%7Bdocument%7D%0A%0A%5Cmaketitle%0A%0A%5Cend%7Bdocument%7D)

下图显示了上述代码生成的输出：

![PostersEx1.png](/files/d229e8ee0b7e12839c9f181d5021498fa307820d)

### 导言区

第一个命令， `\documentclass[...]{tikzposter}` 声明该文档是一个 `tikzposter`。方括号内的附加参数分别设置字体大小、纸张大小和方向。

可用的字体大小有： `12pt, 14pt, 17pt, 20pt` 和 `25pt`。可用的纸张尺寸有： `a0paper`, `a1paper` 和 `a2paper`。还有一些附加选项，请参见 [进一步阅读部分中的链接](#further-reading) ，链接到文档。

这些具有自描述性的命令 `标题`, `作者`, `date` 和 `institute` 用于设置作者信息。

命令 `\usetheme{Board}` 设置当前主题，即更改文本框周围的颜色和装饰。请参见 [参考指南](#reference-guide) 可用主题的截图。

命令 `\maketitle` 将标题打印在海报顶部。

如果你想查看更详细的示例，可以打开  [这个 `tikzposter` Overleaf 中的类](https://www.overleaf.com/project/new/template/20403?id=69813043\&templateName=Example+of+a+Tikz+Poster\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=) .

### 正文

海报中的正文是通过文本块创建的。可以启用多栏排版，并且可以为每一栏显式控制宽度，这为自定义最终输出的外观提供了很大的灵活性。

```latex
\documentclass[25pt, a0paper, portrait]{tikzposter}

\title{Tikz Poster Example}
\author{Overleaf Team}
\date{\today}
\institute{Overleaf Institute}

\usepackage{blindtext}
\usepackage{comment}

\usetheme{Board}

\begin{document}

\maketitle

\block{~}
{
    \blindtext
}

\begin{columns}
    \column{0.4}
    \block{More text}{Text and more text}

    \column{0.6}
    \block{Something else}{Here, \blindtext \vspace{4cm}}
    \note[
        targetoffsetx=-9cm,
        targetoffsety=-6.5cm,
        width=0.5\linewidth
        ]
        {e-mail \texttt{welcome@overleaf.com}}
\end{columns}

\begin{columns}
    \column{0.5}
    \block{A figure}
    {
        \begin{tikzfigure}
            \includegraphics[width=0.4\textwidth]{images/overleaf-logo}
        \end{tikzfigure}
    }
    \column{0.5}
    \block{Description of the figure}{\blindtext}
\end{columns}

\end{document}
```

&#x20;[打开此 `tikzposter` Overleaf 中的类示例](https://www.overleaf.com/project/new/template/20403?id=69813043\&templateName=Example+of+a+Tikz+Poster\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

下图显示了上述代码的输出：

![PostersEx2OLV2.png](/files/96d98076b6ce53bd68753169503682473c581ac3)

在一个 `tikzposter` 在文档中，文本被组织为块，每个块由命令 `\block{}{}` 创建，它接受两个参数，每个参数都放在一对花括号中。第一个是块的标题，第二个是要在块中打印的实际文本。

该 [环境](/latex/zh-cn/ming-ling/02-environments.md) `列` 可启用多栏文本，命令 `\column{}` 会开启一个新栏，并以该栏的相对宽度作为参数，1 表示整个文本区域，0.5 表示半个文本区域，依此类推。

命令 `\note[]{}` 用于添加额外注释，这些注释会与文本块重叠显示。在方括号中可以设置一些附加参数来控制注释的位置，在花括号中必须输入注释的文本。

#### 关于图注和引用的说明

正如在 [`tikzposter` 文档](https://mirror.ox.ac.uk/sites/ctan.org/graphics/pgf/contrib/tikzposter/tikzposter.pdf)中所述，标准 LaTeX `figure` 环境与 `tikzposter` 文档类不兼容。因此，LaTeX 用于 [添加图注和引用图形的机制](/latex/zh-cn/geng-duo-zhu-ti/27-inserting-images.md#captioning-labelling-and-referencing) 必须在 `tikzfigure` 环境中使用，如下所示：

```latex
\begin{tikzfigure}[Caption of the figure]
\label{fig:fig1}
图
\end{tikzfigure}
```

## Beamerposter

该 [`beamerposter` 宏包](https://ctan.org/tex-archive/macros/latex/contrib/beamerposter?lang=en) 构建于 [标准 beamer 类](/latex/zh-cn/yan-shi-wen-gao/01-beamer.md) 和 [`a0poster` 类](https://ctan.org/pkg/a0poster)，从而可以使用与 beamer 演示文稿相同的语法创建科学海报。虽然这个宏包的主题较少，而且灵活性略低于 [tikzposter](#tikzposter)，但如果你熟悉 `beamer`.

**注意：** 该 `beamerposter` 示例。本文使用一个自定义的 `beamerposter` 主题，名为 `RedLion`。它基于主题 `Dreuw` ，由 Philippe Dreuw 和 Thomas Deselaers 创建，但经过修改，使得更容易插入徽标并在海报底部打印电子邮件地址。这些内容在原始主题中是硬编码的。

### 导言区

一个 **beamerposter** 的导言区基本上与 beamer 演示文稿相同，只是多了一个附加命令。

```latex
\documentclass{beamer}
  \usepackage{times}
  \usepackage{amsmath,amsthm, amssymb}
  \boldmath
  \usetheme{RedLion}
  \usepackage[orientation=portrait,size=a0,scale=1.4]{beamerposter}

  \title[Beamer Poster]{Overleaf example of the beamerposter class}
  \author[welcome@overleaf.com]{Overleaf Team}
  \institute[Overleaf University]
  {The Overleaf institute, Learn faculty}
  \date{\today}

  \logo{\includegraphics[height=7.5cm]{overleaf-logo}}
```

这个文件中的第一个命令是 `\documentclass{beamer}`，它声明这是一个 beamer 演示文稿。主题 `RedLion` 由 `\usetheme{RedLion}`设置。网上有一些 beamer 主题，其中大多数可以在 [beamerposter 作者的网页](http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php).

命令

```latex
usepackage[orientation=portrait,size=a0,scale=1.4]{beamerposter}
```

导入 `beamerposter` 宏包，并带有一些特殊参数：方向设置为 `portrait`，海报尺寸设置为 `a0` ，字体缩放为 `1.4`。可用的海报尺寸有 a0、a1、a2、a3 和 a4，但也可以通过选项任意设置尺寸 `width=x,height=y`.

。其余命令设置海报的标准信息：标题、作者、机构、日期和徽标。命令 `\logo{}` 在大多数主题中都不起作用，必须在主题的 .sty 文件中手动设置。希望未来这一点会有所改变。

### 正文

由于文档类是 **beamer**，因此要创建海报，所有内容都必须输入在一个 `frame` 环境中。

```latex
\documentclass{beamer}
  \usepackage{times}
  \usepackage{amsmath,amsthm, amssymb}
  \boldmath
  \usetheme{RedLion}
  \usepackage[orientation=portrait,size=a0,scale=1.4]{beamerposter}

  \title[Beamer Poster]{Overleaf example of the beamerposter class}
  \author[welcome@overleaf.com]{Overleaf Team}
  \institute[Overleaf University]
  {The Overleaf institute, Learn faculty}
  \date{\today}

  \logo{\includegraphics[height=7.5cm]{overleaf-logo}}

  \begin{document}
  \begin{frame}{}
    \vfill
    \begin{block}{\large Fontsizes}
      \centering
      {\tiny tiny}\par
      {\scriptsize scriptsize}\par
      {\footnotesize footnotesize}\par
      {\normalsize normalsize}\par
      ...
    \end{block}

    \end{block}
    \vfill
    \begin{columns}[t]
      \begin{column}{.30\linewidth}
        \begin{block}{Introduction}
          \begin{itemize}
          \item some items
          \item some items
          ...
          \end{itemize}
        \end{block}
      \end{column}
      \begin{column}{.48\linewidth}
        \begin{block}{Introduction}
          \begin{itemize}
          \item some items and $\alpha=\gamma, \sum_{i}$
          ...
          \end{itemize}
          $$\alpha=\gamma, \sum_{i}$$
        \end{block}
        ...

      \end{column}
    \end{columns}
  \end{frame}
\end{document}
```

![BeamerPosterDemo.png](/files/a6bc9fc79e20b45cd71eed1e9d8f04d15e08aa1b)

&#x20;[打开一个……的示例 `beamerposter` 在 Overleaf 中的宏包](https://www.overleaf.com/project/new/template/20436?id=69926517\&templateName=Example+of+a+Tikz+Poster\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

海报中的大部分内容是在一个 `块` [环境](/latex/zh-cn/ming-ling/02-environments.md)中创建的，这个环境以块的标题作为参数。

该 [环境](/latex/zh-cn/ming-ling/02-environments.md) `列` 可启用多栏文本，环境 `\column` 会开启一个新栏，并以该栏的宽度作为参数。所有 [LaTeX 单位](/latex/zh-cn/ge-shi-hua/01-lengths-in-latex.md) 都可以在这里使用，在示例中栏宽是相对于文本宽度设置的。

## 参考指南

**Tikzposter 主题**

|    |                                                                      |      |                                                                    |
| -- | -------------------------------------------------------------------- | ---- | ------------------------------------------------------------------ |
| 默认 | ![TikxDefault.png](/files/4855cc02fdae4d8a490c5b8183119690a3f6e5d3)  | Rays | ![TikzRays.png](/files/f2ee0e9b866ac7b0ab6dda337243bca71d8c2ccf)   |
| 基础 | ![TikzBasic.png](/files/d839bebc66e7b5a3b97bc004e0f4371437154969)    | 简洁   | ![TikzSimple.png](/files/dbc093dd6b58a612909de17d739dee4ed882ad8b) |
| 信封 | ![TikzEnvelope.png](/files/da5dc1e08716b99f7a3dfd4f61d951ae24acdef1) | 波浪   | ![TikzWave.png](/files/180faa74c79642a16aaf24204e1ef9aa9ef60cf4)   |
| 板式 | ![TikzBoard.png](/files/68440a05e5117439b0e27e86b53c1c9103dfaa29)    | 秋季   | ![TikzAutumn.png](/files/129c1ceca02f6969b025f6a252da69ee222d391d) |
| 沙漠 | ![TikzDesert.png](/files/12c8c10cd830cbe8bffbabd31c09abac392b7ae3)   |      |                                                                    |

## 进一步阅读

更多信息请参见

* [Powerdot](/latex/zh-cn/yan-shi-wen-gao/02-powerdot.md)
* [Beamer](/latex/zh-cn/yan-shi-wen-gao/01-beamer.md)
* [粗体、斜体和下划线](/latex/zh-cn/latex-ji-chu/03-bold-italics-and-underlining.md)
* [字体大小、字体族和样式](/latex/zh-cn/zi-ti/01-font-sizes-families-and-styles.md)
* [文本对齐](/latex/zh-cn/ge-shi-hua/06-text-alignment.md)
* [字体类型](/latex/zh-cn/zi-ti/02-font-typefaces.md)
* [插入图片](/latex/zh-cn/geng-duo-zhu-ti/27-inserting-images.md)
* [在 LaTeX 中使用颜色](/latex/zh-cn/ge-shi-hua/13-using-colors-in-latex.md)
* [LaTeX 中的长度](/latex/zh-cn/ge-shi-hua/01-lengths-in-latex.md)
* [国际语言支持](/latex/zh-cn/yu-yan/03-international-language-support.md)
* [TikZ 宏包](/latex/zh-cn/tu-xing-he-biao-ge/05-tikz-package.md)
* [该 **beamerposter** 文档](http://get-software.net/macros/latex/contrib/beamerposter/beamerposter.pdf)
* [该 **tikzposter** 包文档](http://ctan.mirrors.hoobly.com/graphics/pgf/contrib/tikzposter/tikzposter.pdf)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/latex/zh-cn/yan-shi-wen-gao/03-posters.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
