Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pelasgus committed Jul 3, 2024
1 parent 9d6ffd3 commit 73b27ad
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pdf-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: coverpage.tex
root_file: main.tex
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: PDF
path: coverpage.pdf
path: main.pdf
2 changes: 2 additions & 0 deletions .github/workflows/todo.org
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
https://github.com/marketplace/actions/github-action-for-latex
Update script so that it deletes older PDFS
Move PDFs to output directory
Add import to main.tex
Unbundle zip; skip this step
9 changes: 9 additions & 0 deletions main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
% main.tex
\documentclass{article}
\input{packages.tex}
\input{setup/variables.tex}
\begin{document}
% Include the title page
\input{setup/titlepage.tex}
% \input{sections/}
\end{document}
6 changes: 6 additions & 0 deletions packages.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
% PACKAGE DECLARATION
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{calc}
\usepackage{anyfontsize}
16 changes: 3 additions & 13 deletions coverpage.tex → setup/titlepage.tex
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
% coverpage.tex
\documentclass{article}
% PACKAGE DECLARATION
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{calc}
\usepackage{anyfontsize}
% Variable Declaration
\input{variables.tex}

\begin{document}
% titlepage.tex
\begin{titlepage}
\pagestyle{empty}

% Background colour
Expand Down Expand Up @@ -44,4 +34,4 @@
\node[rounded corners,fill=RoyalPurple!95,text =RoyalPurple!5,circle, minimum size=2.5 cm,inner sep=0,ultra thick] at ($(current page.west)+(2.5,-5)$) {\LARGE \bfseries \Huge $\Pi$};

\end{tikzpicture}
\end{document}
\end{titlepage}
3 changes: 3 additions & 0 deletions variables.tex → setup/variables.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
\newcommand{\titletext}{}
\newcommand{\subtitletext}{}
\newcommand{\currentyear}{}
\newcommand{\student_id}{}
\newcommand{\position}{}
\newcommand{\faculty}{}

0 comments on commit 73b27ad

Please sign in to comment.