> For the complete documentation index, see [llms.txt](https://overleaf-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://overleaf-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-biao-he-biao-ge/05-tikz-package.md) 并提供非常灵活的版式。

&#x20;[在 Overleaf 中打开 `tikzposter` 类的示例](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 团队}
\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) ，以获取文档链接。

具有自说明性的命令 `title`, `author`, `date` 和 `institute` 用于设置作者信息。

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

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

如果您想查看更详细的示例，可以打开  [这个 `tikzposter` 类的示例](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 团队}
\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}
    一个图形
    {
        \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;[在 Overleaf 中打开此 `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` 包，并使用一些特殊参数：方向设置为 `纵向`，海报尺寸设置为 `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;[在 Overleaf 中打开 `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=)

海报中的大部分内容都是在一个 `block` [环境](/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)  | 光芒 | ![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-biao-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://overleaf-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.
