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 outputAEP2 Whitepaper 2936d7f3c4488070b3baecd558f74efa.md- Original Markdown sourceAEP2 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-fullon Ubuntu/Debian) - Windows: Install MiKTeX
Compile the PDF
# Basic compilation
pdflatex aep2_whitepaper.tex
# For complete compilation with table of contents
pdflatex aep2_whitepaper.tex
pdflatex aep2_whitepaper.texThe second run is necessary to properly generate the table of contents and references.
Using latexmk (recommended)
latexmk -pdf aep2_whitepaper.texThis 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
geometrypackage settings - Fonts: Add font packages (e.g.,
\usepackage{times}) - Colors: Modify the
xcolorpackage usage - Code style: Edit the
lstdefinestylesettings
Clean Up
To remove auxiliary files generated during compilation:
latexmk -cTo remove all generated files including the PDF:
latexmk -COutput
The compiled PDF will be named aep2_whitepaper.pdf and will be created in the same directory.
