Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:30:14 +08:00
commit 1dd5bee3b4
335 changed files with 147360 additions and 0 deletions

View File

@@ -0,0 +1,745 @@
# LaTeX Poster Packages: Comprehensive Comparison
## Overview
Three major LaTeX packages dominate research poster creation: beamerposter, tikzposter, and baposter. Each has distinct strengths, syntax, and use cases. This guide provides detailed comparisons and practical examples.
## Package Comparison Matrix
| Feature | beamerposter | tikzposter | baposter |
|---------|--------------|------------|----------|
| **Learning Curve** | Easy (if familiar with Beamer) | Moderate | Moderate |
| **Flexibility** | Moderate | High | Moderate-High |
| **Default Aesthetics** | Traditional/Academic | Modern/Colorful | Professional/Clean |
| **Theme Support** | Extensive (Beamer themes) | Built-in + Custom | Limited built-in |
| **Customization** | Moderate effort | Easy with TikZ | Structured approach |
| **Layout System** | Frame-based | Block-based | Box-based with grid |
| **Multi-column** | Manual | Automatic | Automatic |
| **Graphics Integration** | Standard includegraphics | TikZ + includegraphics | Standard + advanced |
| **Community Support** | Large (Beamer community) | Growing | Smaller |
| **Best For** | Traditional academic, institutional branding | Creative designs, custom graphics | Structured multi-column layouts |
| **File Size** | Small | Medium-Large (TikZ overhead) | Medium |
| **Compilation Speed** | Fast | Slower (TikZ processing) | Fast-Medium |
## 1. beamerposter
### Overview
beamerposter extends the popular Beamer presentation class for poster-sized documents. It inherits all Beamer functionality, themes, and customization options.
### Advantages
- **Familiar syntax**: If you know Beamer, you know beamerposter
- **Extensive themes**: Access to all Beamer themes and color schemes
- **Institutional branding**: Easy to match university templates
- **Stable and mature**: Well-tested, extensive documentation
- **Block structure**: Clear organizational units
- **Good for traditional posters**: Academic conferences, thesis defenses
### Disadvantages
- **Less flexible layouts**: Column-based system can be restrictive
- **Manual positioning**: Requires careful spacing adjustments
- **Traditional aesthetics**: Can look dated compared to modern designs
- **Limited built-in styling**: Requires theme customization for unique looks
### Basic Template
```latex
\documentclass[final,t]{beamer}
\usepackage[size=a0,scale=1.4,orientation=portrait]{beamerposter}
\usetheme{Berlin}
\usecolortheme{beaver}
% Configure fonts
\setbeamerfont{title}{size=\VeryHuge,series=\bfseries}
\setbeamerfont{author}{size=\Large}
\setbeamerfont{block title}{size=\large,series=\bfseries}
\title{Your Research Title}
\author{Author Names}
\institute{Institution}
\begin{document}
\begin{frame}[t]
% Title block
\begin{block}{}
\maketitle
\end{block}
\begin{columns}[t]
\begin{column}{.45\linewidth}
\begin{block}{Introduction}
Your introduction text here...
\end{block}
\begin{block}{Methods}
Your methods text here...
\end{block}
\end{column}
\begin{column}{.45\linewidth}
\begin{block}{Results}
Your results text here...
\includegraphics[width=\linewidth]{figure.pdf}
\end{block}
\begin{block}{Conclusions}
Your conclusions here...
\end{block}
\end{column}
\end{columns}
\end{frame}
\end{document}
```
### Popular Themes
```latex
% Traditional academic
\usetheme{Berlin}
\usecolortheme{beaver}
% Modern minimal
\usetheme{Madrid}
\usecolortheme{whale}
% Blue professional
\usetheme{Singapore}
\usecolortheme{dolphin}
% Dark theme
\usetheme{Warsaw}
\usecolortheme{seahorse}
```
### Custom Colors
```latex
% Define custom colors
\definecolor{primarycolor}{RGB}{0,51,102} % Dark blue
\definecolor{secondarycolor}{RGB}{204,0,0} % Red
\definecolor{accentcolor}{RGB}{255,204,0} % Gold
% Apply to beamer elements
\setbeamercolor{structure}{fg=primarycolor}
\setbeamercolor{block title}{bg=primarycolor,fg=white}
\setbeamercolor{block body}{bg=primarycolor!10,fg=black}
```
### Advanced Customization
```latex
% Remove navigation symbols
\setbeamertemplate{navigation symbols}{}
% Custom title formatting
\setbeamertemplate{title page}{
\begin{center}
{\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle}\\[1cm]
{\usebeamerfont{author}\insertauthor}\\[0.5cm]
{\usebeamerfont{institute}\insertinstitute}
\end{center}
}
% Custom block style
\setbeamertemplate{block begin}{
\par\vskip\medskipamount
\begin{beamercolorbox}[colsep*=.75ex,rounded=true]{block title}
\usebeamerfont*{block title}\insertblocktitle
\end{beamercolorbox}
{\parskip0pt\par}
\usebeamerfont{block body}
\begin{beamercolorbox}[colsep*=.75ex,vmode,rounded=true]{block body}
}
```
### Three-Column Layout
```latex
\begin{columns}[t]
\begin{column}{.3\linewidth}
% Left column content
\end{column}
\begin{column}{.3\linewidth}
% Middle column content
\end{column}
\begin{column}{.3\linewidth}
% Right column content
\end{column}
\end{columns}
```
## 2. tikzposter
### Overview
tikzposter is built on the powerful TikZ graphics package, offering modern designs with extensive customization through TikZ commands.
### Advantages
- **Modern aesthetics**: Contemporary, colorful designs out-of-the-box
- **Flexible block placement**: Easy positioning anywhere on poster
- **Beautiful themes**: Multiple professionally designed themes included
- **TikZ integration**: Seamless graphics and custom drawings
- **Color customization**: Easy to create custom color palettes
- **Automatic spacing**: Intelligent block spacing and alignment
### Disadvantages
- **Compilation time**: TikZ processing can be slow for large posters
- **File size**: PDFs can be larger due to TikZ elements
- **Learning curve**: TikZ syntax can be complex for advanced customization
- **Less institutional theme support**: Requires more work to match branding
### Basic Template
```latex
\documentclass[25pt, a0paper, portrait, margin=0mm, innermargin=15mm,
blockverticalspace=15mm, colspace=15mm, subcolspace=8mm]{tikzposter}
\title{Your Research Title}
\author{Author Names}
\institute{Institution}
% Choose theme and color style
\usetheme{Rays}
\usecolorstyle{Denmark}
\begin{document}
\maketitle
% First column
\begin{columns}
\column{0.5}
\block{Introduction}{
Your introduction text here...
}
\block{Methods}{
Your methods text here...
}
% Second column
\column{0.5}
\block{Results}{
Your results text here...
\begin{tikzfigure}
\includegraphics[width=0.9\linewidth]{figure.pdf}
\end{tikzfigure}
}
\block{Conclusions}{
Your conclusions here...
}
\end{columns}
\end{document}
```
### Available Themes
```latex
% Modern with radiating background
\usetheme{Rays}
% Clean with decorative wave
\usetheme{Wave}
% Minimal with envelope corners
\usetheme{Envelope}
% Traditional academic
\usetheme{Basic}
% Board-style with texture
\usetheme{Board}
% Clean minimal
\usetheme{Simple}
% Professional with lines
\usetheme{Default}
% Autumn color scheme
\usetheme{Autumn}
% Desert color palette
\usetheme{Desert}
```
### Color Styles
```latex
% Professional blue
\usecolorstyle{Denmark}
% Warm colors
\usecolorstyle{Australia}
% Cool tones
\usecolorstyle{Sweden}
% Earth tones
\usecolorstyle{Britain}
% Default color scheme
\usecolorstyle{Default}
```
### Custom Color Definition
```latex
\definecolorstyle{CustomStyle}{
\definecolor{colorOne}{RGB}{0,51,102} % Dark blue
\definecolor{colorTwo}{RGB}{255,204,0} % Gold
\definecolor{colorThree}{RGB}{204,0,0} % Red
}{
% Background Colors
\colorlet{backgroundcolor}{white}
\colorlet{framecolor}{colorOne}
% Title Colors
\colorlet{titlefgcolor}{white}
\colorlet{titlebgcolor}{colorOne}
% Block Colors
\colorlet{blocktitlebgcolor}{colorOne}
\colorlet{blocktitlefgcolor}{white}
\colorlet{blockbodybgcolor}{white}
\colorlet{blockbodyfgcolor}{black}
% Innerblock Colors
\colorlet{innerblocktitlebgcolor}{colorTwo}
\colorlet{innerblocktitlefgcolor}{black}
\colorlet{innerblockbodybgcolor}{colorTwo!10}
\colorlet{innerblockbodyfgcolor}{black}
% Note colors
\colorlet{notefgcolor}{black}
\colorlet{notebgcolor}{colorThree!20}
}
\usecolorstyle{CustomStyle}
```
### Block Placement and Sizing
```latex
% Full-width block
\block{Title}{Content}
% Specify width
\block[width=0.8\linewidth]{Title}{Content}
% Position manually
\block[x=10, y=50, width=30]{Title}{Content}
% Inner blocks (nested, different styling)
\block{Outer Title}{
\innerblock{Inner Title}{
Highlighted content
}
}
% Note blocks (for emphasis)
\note[width=0.4\linewidth]{
Important note text
}
```
### Advanced Features
```latex
% QR codes with tikzposter styling
\block{Scan for More}{
\begin{center}
\qrcode[height=5cm]{https://github.com/project}\\
\vspace{0.5cm}
Visit our GitHub repository
\end{center}
}
% Multi-column within block
\block{Results}{
\begin{tabular}{cc}
\includegraphics[width=0.45\linewidth]{fig1.pdf} &
\includegraphics[width=0.45\linewidth]{fig2.pdf}
\end{tabular}
}
% Custom TikZ graphics
\block{Methodology}{
\begin{tikzpicture}
\node[draw, rectangle, fill=blue!20] (A) {Step 1};
\node[draw, rectangle, fill=green!20, right=of A] (B) {Step 2};
\draw[->, thick] (A) -- (B);
\end{tikzpicture}
}
```
## 3. baposter
### Overview
baposter (Box Area Poster) uses a box-based layout system with automatic positioning and spacing. Excellent for structured, professional multi-column layouts.
### Advantages
- **Automatic layout**: Intelligent box positioning and spacing
- **Professional defaults**: Clean, polished appearance out-of-the-box
- **Multi-column excellence**: Best-in-class column-based layouts
- **Header/footer boxes**: Easy institutional branding
- **Consistent spacing**: Automatic vertical and horizontal alignment
- **Print-ready**: Excellent CMYK support
### Disadvantages
- **Less flexible**: Box-based system can be constraining
- **Fewer themes**: Limited built-in theme options
- **Learning curve**: Unique syntax requires time to master
- **Less active development**: Smaller community compared to others
### Basic Template
```latex
\documentclass[a0paper,portrait]{baposter}
\usepackage{graphicx}
\usepackage{multicol}
\begin{document}
\begin{poster}{
% Options
grid=false,
columns=3,
colspacing=1em,
bgColorOne=white,
bgColorTwo=white,
borderColor=blue!50,
headerColorOne=blue!80,
headerColorTwo=blue!70,
headerFontColor=white,
boxColorOne=white,
boxColorTwo=blue!10,
textborder=roundedleft,
eyecatcher=true,
headerborder=open,
headerheight=0.12\textheight,
headershape=roundedright,
headershade=plain,
headerfont=\Large\sf\bf,
linewidth=2pt
}
% Eye Catcher (Logo)
{
\includegraphics[height=6em]{logo.pdf}
}
% Title
{
Your Research Title
}
% Authors
{
Author Names\\
Institution Name
}
% University Logo
{
\includegraphics[height=6em]{university-logo.pdf}
}
% First column boxes
\headerbox{Introduction}{name=intro,column=0,row=0}{
Your introduction text here...
}
\headerbox{Methods}{name=methods,column=0,below=intro}{
Your methods text here...
}
% Second column boxes
\headerbox{Results}{name=results,column=1,row=0,span=2}{
Your results here...
\includegraphics[width=0.9\linewidth]{results.pdf}
}
\headerbox{Analysis}{name=analysis,column=1,below=results}{
Analysis details...
}
\headerbox{Validation}{name=validation,column=2,below=results}{
Validation results...
}
% Bottom spanning box
\headerbox{Conclusions}{name=conclusions,column=0,span=3,above=bottom}{
Your conclusions here...
}
\end{poster}
\end{document}
```
### Box Positioning
```latex
% Position by column and row
\headerbox{Title}{name=box1, column=0, row=0}{Content}
% Position relative to other boxes
\headerbox{Title}{name=box2, column=0, below=box1}{Content}
% Above another box
\headerbox{Title}{name=box3, column=1, above=bottom}{Content}
% Span multiple columns
\headerbox{Title}{name=box4, column=0, span=2, row=0}{Content}
% Between two boxes vertically
\headerbox{Title}{name=box5, column=0, below=box1, above=box3}{Content}
% Aligned with another box
\headerbox{Title}{name=box6, column=1, aligned=box1}{Content}
```
### Styling Options
```latex
\begin{poster}{
% Grid and layout
grid=false, % Show layout grid (debug)
columns=3, % Number of columns
colspacing=1em, % Space between columns
% Background
background=plain, % plain, shadetb, shadelr, user
bgColorOne=white,
bgColorTwo=lightgray,
% Borders
borderColor=blue!50,
linewidth=2pt,
% Header
headerColorOne=blue!80,
headerColorTwo=blue!70,
headerFontColor=white,
headerheight=0.12\textheight,
headershape=roundedright, % rectangle, rounded, roundedright, roundedleft
headershade=plain, % plain, shadetb, shadelr
headerborder=open, % open, closed
% Boxes
boxColorOne=white,
boxColorTwo=blue!10,
boxshade=plain, % plain, shadetb, shadelr
textborder=roundedleft, % none, rectangle, rounded, roundedleft, roundedright
% Eye catcher
eyecatcher=true
}
```
### Color Schemes
```latex
% Professional blue
\begin{poster}{
headerColorOne=blue!80,
headerColorTwo=blue!70,
boxColorTwo=blue!10,
borderColor=blue!50
}
% Academic green
\begin{poster}{
headerColorOne=green!70!black,
headerColorTwo=green!60!black,
boxColorTwo=green!10,
borderColor=green!50
}
% Corporate gray
\begin{poster}{
headerColorOne=gray!60,
headerColorTwo=gray!50,
boxColorTwo=gray!10,
borderColor=gray!40
}
```
## Package Selection Guide
### Choose beamerposter if:
- ✅ You're already familiar with Beamer
- ✅ You need to match institutional Beamer themes
- ✅ You prefer traditional academic aesthetics
- ✅ You want extensive theme options
- ✅ You need fast compilation times
- ✅ You're creating posters for conservative academic conferences
### Choose tikzposter if:
- ✅ You want modern, colorful designs
- ✅ You plan to create custom graphics with TikZ
- ✅ You value aesthetic flexibility
- ✅ You want built-in professional themes
- ✅ You don't mind slightly longer compilation
- ✅ You're presenting at design-conscious or public-facing events
### Choose baposter if:
- ✅ You need structured multi-column layouts
- ✅ You want automatic box positioning
- ✅ You prefer clean, professional defaults
- ✅ You need precise control over box relationships
- ✅ You're creating posters with many sections
- ✅ You value consistent spacing and alignment
## Conversion Between Packages
### From beamerposter to tikzposter
```latex
% beamerposter
\begin{block}{Title}
Content
\end{block}
% tikzposter equivalent
\block{Title}{
Content
}
```
### From beamerposter to baposter
```latex
% beamerposter
\begin{block}{Introduction}
Content
\end{block}
% baposter equivalent
\headerbox{Introduction}{name=intro, column=0, row=0}{
Content
}
```
### From tikzposter to baposter
```latex
% tikzposter
\block{Methods}{
Content
}
% baposter equivalent
\headerbox{Methods}{name=methods, column=0, row=0}{
Content
}
```
## Compilation Tips
### Faster Compilation
```bash
# Use draft mode for initial edits
\documentclass[draft]{tikzposter}
# Compile with faster engines when possible
pdflatex -interaction=nonstopmode poster.tex
# For tikzposter, use externalization to cache TikZ graphics
\usetikzlibrary{external}
\tikzexternalize
```
### Memory Issues
```latex
% Increase TeX memory for large posters
% Add to poster preamble:
\pdfminorversion=7
\pdfobjcompresslevel=2
```
### Font Embedding
```bash
# Ensure fonts are embedded (required for printing)
pdflatex -dEmbedAllFonts=true poster.tex
# Check font embedding
pdffonts poster.pdf
```
## Hybrid Approaches
You can combine strengths of different packages:
### beamerposter with TikZ Graphics
```latex
\documentclass[final]{beamer}
\usepackage[size=a0]{beamerposter}
\usepackage{tikz}
\begin{block}{Flowchart}
\begin{tikzpicture}
% Custom TikZ graphics within beamerposter
\end{tikzpicture}
\end{block}
```
### tikzposter with Beamer Themes
```latex
\documentclass{tikzposter}
% Import specific Beamer color definitions
\definecolor{beamerblue}{RGB}{0,51,102}
\colorlet{blocktitlebgcolor}{beamerblue}
```
## Recommended Packages for All Systems
```latex
% Essential packages for any poster
\usepackage{graphicx} % Images
\usepackage{amsmath,amssymb} % Math symbols
\usepackage{booktabs} % Professional tables
\usepackage{multicol} % Multiple columns in text
\usepackage{qrcode} % QR codes
\usepackage{hyperref} % Hyperlinks
\usepackage{caption} % Caption customization
\usepackage{subcaption} % Subfigures
```
## Performance Comparison
| Package | Compile Time (A0) | PDF Size | Memory Usage |
|---------|-------------------|----------|--------------|
| beamerposter | ~5-10 seconds | 2-5 MB | Low |
| tikzposter | ~15-30 seconds | 5-15 MB | Medium-High |
| baposter | ~8-15 seconds | 3-8 MB | Medium |
*Note: Times for poster with 5 figures, typical conference content*
## Conclusion
All three packages are excellent choices for different scenarios:
- **beamerposter**: Best for traditional academic settings and Beamer users
- **tikzposter**: Best for modern, visually striking presentations
- **baposter**: Best for structured, professional multi-section posters
Choose based on your specific needs, aesthetic preferences, and time constraints. When in doubt, start with tikzposter for modern conferences or beamerposter for traditional academic venues.