From afd82dc38510c6a47cfa227f40f1dae76e1a526c Mon Sep 17 00:00:00 2001
From: kj_sh604
Date: Mon, 16 Feb 2026 01:42:50 -0500
Subject: refactor: move to src/

---
 src/latex/template.tex | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)
 create mode 100644 src/latex/template.tex

(limited to 'src/latex/template.tex')

diff --git a/src/latex/template.tex b/src/latex/template.tex
new file mode 100644
index 0000000..9a0410b
--- /dev/null
+++ b/src/latex/template.tex
@@ -0,0 +1,78 @@
+\documentclass[11pt]{article}
+
+\usepackage{fontspec}
+\newfontfamily{\emojifont}{Noto Color Emoji}[Renderer=HarfBuzz]
+\directlua{
+  luaotfload.add_fallback("emojifallback", {
+    "Noto Color Emoji:mode=harf;"
+  })
+}
+\setmainfont{$mainfont$}[RawFeature={fallback=emojifallback}]
+\setmonofont{Latin Modern Mono}
+
+\usepackage[paper=$papersize$,margin=$margin$]{geometry}
+\usepackage{microtype}
+\usepackage{parskip}
+\usepackage{xcolor}
+\usepackage{graphicx}
+\usepackage{float}
+\usepackage{booktabs}
+\usepackage{longtable}
+\usepackage{array}
+\usepackage{calc}
+\usepackage{etoolbox}
+\usepackage{fancyvrb}
+\usepackage{fvextra}
+\DefineVerbatimEnvironment{Highlighting}{Verbatim}{breaklines,commandchars=\\\{\}}
+\usepackage{hyperref}
+\hypersetup{
+  colorlinks=true,
+  linkcolor=black,
+  urlcolor=blue,
+  citecolor=black,
+  pdfauthor={},
+  pdftitle={likha-pdf}
+}
+\urlstyle{same}
+
+\setlength{\emergencystretch}{3em}
+\setcounter{secnumdepth}{0}
+\setkeys{Gin}{width=\linewidth,keepaspectratio}
+\makeatletter
+\newsavebox\pandoc@box
+\newcommand*\pandocbounded[1]{%
+  \sbox\pandoc@box{#1}%
+  \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%
+  \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}%
+  \ifdim\@tempb\p@<\@tempa\p@
+    \scalebox{\@tempb}{\usebox\pandoc@box}%
+  \else
+    \scalebox{\@tempa}{\usebox\pandoc@box}%
+  \fi
+}
+\makeatother
+\let\origfigure\figure
+\let\endorigfigure\endfigure
+\renewenvironment{figure}[1][] {
+    \expandafter\origfigure\expandafter[H]
+} {
+    \endorigfigure
+}
+\providecommand{\tightlist}{
+  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}
+}
+
+$if(highlighting-macros)$
+$highlighting-macros$
+$endif$
+
+\begin{document}
+
+$if(title)$
+{\huge\bfseries $title$\par}
+\vspace{1em}
+$endif$
+
+$body$
+
+\end{document}
\ No newline at end of file
-- 
cgit v1.2.3

