pandoc-5-custom-latex-templates
Sub-skill of pandoc: 5. Custom LaTeX Templates (+1).
Best use case
pandoc-5-custom-latex-templates is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of pandoc: 5. Custom LaTeX Templates (+1).
Teams using pandoc-5-custom-latex-templates should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/5-custom-latex-templates/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How pandoc-5-custom-latex-templates Compares
| Feature / Agent | pandoc-5-custom-latex-templates | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of pandoc: 5. Custom LaTeX Templates (+1).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 5. Custom LaTeX Templates (+1)
## 5. Custom LaTeX Templates
```latex
%% template.tex - Custom Pandoc LaTeX template
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(papersize)$$papersize$paper,$endif$]{article}
%% Packages
\usepackage{geometry}
\geometry{margin=1in}
\usepackage{fontspec}
\usepackage{hyperref}
\usepackage{fancyhdr}
\usepackage{titlesec}
\usepackage{xcolor}
\usepackage{listings}
%% Fonts
$if(mainfont)$
\setmainfont{$mainfont$}
$endif$
$if(sansfont)$
\setsansfont{$sansfont$}
$endif$
$if(monofont)$
\setmonofont{$monofont$}
$endif$
%% Colors
\definecolor{linkcolor}{RGB}{0, 102, 204}
\definecolor{codebackground}{RGB}{248, 248, 248}
%% Hyperlinks
\hypersetup{
colorlinks=true,
linkcolor=linkcolor,
urlcolor=linkcolor,
pdfauthor={$author$},
pdftitle={$title$}
}
%% Headers and footers
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{$title$}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
%% Code blocks
\lstset{
backgroundcolor=\color{codebackground},
basicstyle=\ttfamily\small,
breaklines=true,
frame=single,
numbers=left,
numberstyle=\tiny\color{gray}
}
%% Section formatting
\titleformat{\section}
{\Large\bfseries\color{linkcolor}}
{\thesection}{1em}{}
\titleformat{\subsection}
{\large\bfseries}
{\thesubsection}{1em}{}
%% Title
$if(title)$
\title{$title$}
$endif$
$if(author)$
\author{$author$}
$endif$
$if(date)$
\date{$date$}
$endif$
\begin{document}
$if(title)$
\maketitle
$endif$
$if(abstract)$
\begin{abstract}
$abstract$
\end{abstract}
$endif$
$if(toc)$
\tableofcontents
\newpage
$endif$
$body$
\end{document}
```
```bash
# Use custom template
pandoc document.md -o document.pdf \
--template=template.tex \
--pdf-engine=xelatex \
-V title="My Document" \
-V author="Your Name" \
-V date="2026-01-17" \
--toc
```
## 6. YAML Metadata in Documents
```markdown
---
title: "Technical Report"
author:
- name: "John Smith"
affiliation: "University of Example"
email: "john@example.edu"
- name: "Jane Doe"
affiliation: "Tech Corp"
date: "January 17, 2026"
abstract: |
This document demonstrates advanced Pandoc features
including custom metadata, citations, and formatting.
keywords:
- documentation
- pandoc
- markdown
lang: en-US
toc: true
toc-depth: 3
numbersections: true
geometry: margin=1in
fontsize: 11pt
mainfont: "Georgia"
monofont: "Fira Code"
linkcolor: blue
bibliography: references.bib
csl: ieee.csl
---
# Introduction
Your document content starts here...
```Related Skills
cowork-plugin-customizer
Customize or personalize a Codex plugin for a specific organization's tools and workflows by replacing placeholders and configuring MCP servers.
customer-research
Investigate customer questions through multi-source research with confidence scoring and citations
vscode-extensions-5-custom-snippets
Sub-skill of vscode-extensions: 5. Custom Snippets.
n8n-8-workflow-templates-and-subworkflows
Sub-skill of n8n: 8. Workflow Templates and Subworkflows.
n8n-7-custom-node-development
Sub-skill of n8n: 7. Custom Node Development.
activepieces-6-custom-piece-development
Sub-skill of activepieces: 6. Custom Piece Development.
github-swarm-pr-1-pr-templates-for-swarm
Sub-skill of github-swarm-pr: 1. PR Templates for Swarm.
github-swarm-issue-issue-templates-for-swarms
Sub-skill of github-swarm-issue: Issue Templates for Swarms.
github-swarm-issue-1-issue-templates
Sub-skill of github-swarm-issue: 1. Issue Templates (+3).
pandoc-subsection
Sub-skill of pandoc: Subsection.
pandoc-integration-with-git-hooks
Sub-skill of pandoc: Integration with Git Hooks (+1).
pandoc-9-lua-filters
Sub-skill of pandoc: 9. Lua Filters.