2023-08-25 00:12:33 +00:00
|
|
|
name: Build a Latex Book
|
|
|
|
content: |
|
2024-05-29 00:53:18 +00:00
|
|
|
@<Add some context information to give the AI some context about the book or leave blank if you have no specific idea>@
|
2023-08-25 00:12:33 +00:00
|
|
|
```latex
|
|
|
|
\documentclass[12pt]{book}
|
|
|
|
\usepackage{url}
|
|
|
|
\begin{document}
|
|
|
|
\title{@<Title of the book>@}
|
|
|
|
\author{@<Author name>@} % Author
|
|
|
|
\date{\today} % Date
|
|
|
|
\maketitle
|
|
|
|
\tableofcontents
|
|
|
|
\chapter{Introduction}
|
|
|
|
@<generation_placeholder>@
|
|
|
|
\end{document}
|
2023-08-27 19:50:54 +00:00
|
|
|
```
|
|
|
|
snippets:
|
|
|
|
- Import graphics(required to add graphics to the page) :
|
|
|
|
\usepackage[demo]{graphic}
|
2024-05-29 00:53:18 +00:00
|
|
|
- Add graph: | \includegraphics[width=4in]{@<Image name>@}% Replace with your own image path
|
2023-08-27 19:50:54 +00:00
|
|
|
|
|
|
|
help: |
|
2024-05-29 00:53:18 +00:00
|
|
|
Builds a latex code for a book
|