Skip to content

AEP2 Whitepaper - LaTeX Version ​

This directory contains the LaTeX version of the AEP2 (Agent Embedded Payment Protocol) whitepaper.

Files ​

  • aep2_whitepaper.tex - Main LaTeX document (two-column format)
  • aep2_whitepaper.pdf - Compiled PDF output
  • AEP2 Whitepaper 2936d7f3c4488070b3baecd558f74efa.md - Original Markdown source
  • AEP2 Whitepaper 2936d7f3c4488070b3baecd558f74efa/ - Directory containing images

Compilation ​

Prerequisites ​

You need a LaTeX distribution installed on your system:

  • macOS: Install MacTeX
  • Linux: Install TeXLive (sudo apt-get install texlive-full on Ubuntu/Debian)
  • Windows: Install MiKTeX

Compile the PDF ​

bash
# Basic compilation
pdflatex aep2_whitepaper.tex

# For complete compilation with table of contents
pdflatex aep2_whitepaper.tex
pdflatex aep2_whitepaper.tex

The second run is necessary to properly generate the table of contents and references.

bash
latexmk -pdf aep2_whitepaper.tex

This will automatically run pdflatex the correct number of times.

Features ​

The LaTeX version includes:

  • Two-column layout for professional academic paper appearance
  • Professional typesetting with proper margins and spacing
  • Proper section numbering and cross-references
  • Code listing formatting with syntax highlighting
  • Clickable hyperlinks (both internal and external)
  • All three figures properly integrated (including Chinese filename support)
  • Clean, academic paper layout optimized for readability

Image Integration ​

All images are properly integrated and will display automatically:

  • image.png - Embedded Payment Workflow diagram
  • 截屏2025-10-21_15.54.23.png - Payment Mandate Architecture (Chinese filename supported)
  • image 1.png - FluxA AgentSpend Architecture (filename with space supported)

The document uses figure* environment to span both columns for better visibility of diagrams. The grffile package is used to handle filenames with spaces and special characters.

Customization ​

You can customize various aspects of the document by modifying the preamble:

  • Page margins: Adjust the geometry package settings
  • Fonts: Add font packages (e.g., \usepackage{times})
  • Colors: Modify the xcolor package usage
  • Code style: Edit the lstdefinestyle settings

Clean Up ​

To remove auxiliary files generated during compilation:

bash
latexmk -c

To remove all generated files including the PDF:

bash
latexmk -C

Output ​

The compiled PDF will be named aep2_whitepaper.pdf and will be created in the same directory.

Last updated:

Released under the MIT License.