Initial commit
This commit is contained in:
58
commands/template.md
Normal file
58
commands/template.md
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
description: Generate document template with frontmatter
|
||||
argument-hint: <type> [output-file]
|
||||
allowed-tools: Bash, Read
|
||||
disable-model-invocation: true
|
||||
---
|
||||
|
||||
# /pandoc:template - Document Templates
|
||||
|
||||
Ask Claude to create a document from template.
|
||||
|
||||
## Available Templates
|
||||
|
||||
- `academic-paper` - Paper with citations
|
||||
- `thesis` - Thesis/report with title page
|
||||
- `presentation-beamer` - PDF slides
|
||||
- `presentation-reveal` - Web slides
|
||||
- `article` - Simple article
|
||||
- `bibtex` - Bibliography examples
|
||||
|
||||
## Quick Reference
|
||||
|
||||
**YAML Frontmatter Example:**
|
||||
```yaml
|
||||
---
|
||||
title: "Paper Title"
|
||||
author: "Your Name"
|
||||
date: "November 2024"
|
||||
bibliography: references.bib
|
||||
csl: harvard.csl
|
||||
documentclass: report
|
||||
fontsize: 12pt
|
||||
geometry: margin=1in
|
||||
---
|
||||
```
|
||||
|
||||
**BibTeX Entry Example:**
|
||||
```bibtex
|
||||
@article{smith2024,
|
||||
author = {Smith, John},
|
||||
title = {Paper Title},
|
||||
journal = {Journal Name},
|
||||
year = {2024},
|
||||
volume = {42},
|
||||
pages = {123--145}
|
||||
}
|
||||
```
|
||||
|
||||
**Citation Syntax:**
|
||||
```markdown
|
||||
[@smith2024] or @smith2024 found that...
|
||||
```
|
||||
|
||||
## Ask Claude
|
||||
|
||||
"Create an academic paper template"
|
||||
"Show me the thesis template"
|
||||
"Set up a new document with bibliography"
|
||||
Reference in New Issue
Block a user