Skip to content

Commit 8257fb1

Browse files
committed
⚡ Added new files
1 parent 72769df commit 8257fb1

File tree

6 files changed

+63
-1
lines changed

6 files changed

+63
-1
lines changed

.github/workflows/action.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build PDF
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Build PDF with latexmk
16+
uses: xu-cheng/latex-action@v3
17+
with:
18+
root_file: main.tex
19+
latexmk_use_lualatex: true
20+
latexmk_shell_escape: true
21+
extra_system_packages: "python3-pygments"
22+
23+
- name: Upload PDF artifact
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: sales-booklet
27+
path: main.pdf

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# salesbooklet
1+
# Sales booklet

main.tex

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
\documentclass{report}
2+
\usepackage[T1]{fontenc}
3+
\usepackage{graphicx}
4+
\graphicspath{{src/images/}}
5+
\usepackage{mathastext}
6+
\usepackage{xcolor}
7+
\usepackage[dvipsnames]{xcolor}
8+
\usepackage{mathrsfs}
9+
\usepackage{indentfirst} % adds automatic indent
10+
\usepackage{minted}
11+
\usemintedstyle{tango}
12+
\usepackage{epigraph}
13+
\usepackage{geometry}
14+
15+
\geometry{a4paper, total={170mm,257mm}, left=35mm, right=35mm, top=20mm} % <-- sets better margins
16+
17+
\renewcommand{\rmdefault}{cmtt}
18+
19+
\begin{document}
20+
21+
% Title Page
22+
\input{src/title.tex}
23+
24+
\tableofcontents
25+
26+
\end{document}

src/avs.tex

Whitespace-only changes.

src/title.tex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
% Title Page
2+
3+
\begin{titlepage}
4+
\begin{center}
5+
\Huge{My Own Personal Sales Booklet}\\[1cm]
6+
\Large{Mohammed Sarhat}\\[5cm]
7+
\includegraphics[width=\textwidth]{./tree.png}
8+
\end{center}
9+
\end{titlepage}

tree.png

143 KB
Loading

0 commit comments

Comments
 (0)