1
0
Fork 0

Create template

main
Ethan Reece 2025-02-09 17:56:36 -06:00
parent ecdd410658
commit 145942161d
Signed by: me
GPG Key ID: 198E9EB433DB1B28
3 changed files with 66 additions and 19 deletions

33
channels.scm.lock 100644
View File

@ -0,0 +1,33 @@
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"e27e63e6fe72d3a6cb6a8755f290ec710d339a9a")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))
(channel
(name 'kbg)
(url "https://git.sr.ht/~kennyballou/guix-channel")
(branch "master")
(commit
"8e7f99f775082cf067ed6495eba9120c97210974")
(introduction
(make-channel-introduction
"b9d0b8041d28ebd9f85cb041aa3f2235c8b39417"
(openpgp-fingerprint
"10F4 14AB D526 0D0E 2372 8C08 FE55 890B 57AE DCE5"))))
(channel
(name 'saayix)
(url "https://codeberg.org/look/saayix")
(branch "main")
(commit
"40d7a1f51212b32023d015114dd79b5712a824fb")
(introduction
(make-channel-introduction
"12540f593092e9a177eb8a974a57bb4892327752"
(openpgp-fingerprint
"3FFA 7335 973E 0A49 47FC 0A8C 38D5 96BE 07D3 34AB")))))

View File

@ -1,5 +1,6 @@
(add-to-load-path ".guix/modules")
(use-modules (template-package)
(gnu packages tex))
(gnu packages tex)
(kbg packages ltex-ls))
(packages->manifest (list texlive-scheme-basic texlive-cm-super texlive-hyperref texlive-etoolbox texlive-pgf texlive-geometry coreutils ltex-ls texlab))
(packages->manifest (list texlive-scheme-basic texlive-cm-super texlive-hyperref texlive-etoolbox texlive-pgf texlive-geometry texlive-float texlive-listings coreutils ltex-ls))

View File

@ -1,33 +1,46 @@
% This is a comment in LaTeX
% Preamble: This is where you define the document class, packages, and other settings
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{hyperref}
\usepackage[margin=2cm]{geometry}
\usepackage{tikz}
\usepackage{float}
\usepackage{listings}
\usepackage{color}
\usepackage{graphicx}
\usetikzlibrary{positioning,calc,automata}
% Document environment: This is where you write the content of your document
\begin{document}
% Title and author
\title{My Simple LaTeX Document}
\author{Your Name}
\title{Homework}
\author{Ethan Reece \\ EDR220000 \\ Professor Stallbohm}
\date{\today}
\maketitle
% Introduction
\section{Introduction}
This is a simple LaTeX document.
\section{}
% Math example
\section{Math Example}
The quadratic formula is given by:
$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$
\begin{figure}[H]
\centering
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto]
\node[state,initial] (q_0) {$q_0$};
\node[state] (q_1) [above right=of q_0] {$q_1$};
\node[state] (q_2) [below right=of q_0] {$q_2$};
\node[state,accepting](q_3) [below right=of q_1] {$q_3$};
\path[->] (q_0) edge node {0} (q_1)
edge node [swap] {1} (q_2)
(q_1) edge node {1} (q_3)
edge [loop above] node {0} ()
(q_2) edge node [swap] {0} (q_3)
edge [loop below] node {1} ();
\end{tikzpicture}
\caption{Solution}
\end{figure}
% Conclusion
\section{Conclusion}
This is the end of my simple LaTeX document.
\section{}
\section{Credits}
Using \LaTeX\ with TikZ and Guix using the following template: \href{https://git.sudoer777.dev/me/guix-latex-automata-template}{\textit{\underline{https://git.sudoer777.dev/me/guix-latex-automata-template}}}
\end{document}