Skip to content

Instantly share code, notes, and snippets.

@gkmngrgn
Created June 24, 2022 23:45
Show Gist options
  • Save gkmngrgn/3d42ccff5c56b98c862f0dc69c99e244 to your computer and use it in GitHub Desktop.
Save gkmngrgn/3d42ccff5c56b98c862f0dc69c99e244 to your computer and use it in GitHub Desktop.
\LoadClass[12pt]{article}
\usepackage{enumitem}
\usepackage{fancyhdr}
\usepackage{fontspec}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{hologo}
\usepackage[hidelinks]{hyperref}
\usepackage{parskip}
\usepackage{xltabular}
\defaultfontfeatures[IosevkaTerm]{
Path = ./fonts/,
Extension = .ttf,
UprightFont = iosevka-term-regular,
BoldFont = iosevka-term-bold,
ItalicFont = iosevka-term-italic,
BoldItalicFont = iosevka-term-bolditalic,
}
\setmainfont{IosevkaTerm}
\setlist[itemize]{leftmargin=*}
\linespread{1.15}
\geometry{
a4paper,
top={1.9cm},
right={1.32cm},
bottom={1.9cm},
left={1.9cm}
}
\pagenumbering{arabic}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.5pt}
\newenvironment{gcertification}[4] {
{\textbf{#1}\hfill\small{#2}\newline}
{\footnotesize{#3}\hfill\footnotesize{#4}}
}{}
\newenvironment{geducation}[4] {
{\textbf{#1}\newline}
{\small{#2}\hfill\small{#3}\newline}
{\footnotesize{#4}}
}{}
\newenvironment{gexperience}[5] {
{\textbf{#1}\hfill\textbf{#2}}\newline
{\vspace{1mm}\small{#3}\hfill\small{#4}}\newline
{\footnotesize{#5}}
}{}
\newenvironment{gitem}[2] {
{\textbf{#1\leavevmode\newline}}
{\footnotesize{#2\leavevmode}}
}{}
\newenvironment{gparagraph}[1] {
{\footnotesize{#1}}
% -- I need this empty line.
% -- do not remove this empty line.
}{}
\newenvironment{gproject}[4] {
{\textbf{#1}\hfill\textit{#4}\newline}
{\small{#3}\newline}
{\footnotesize\href{#2}{#2}}
}{}
\newenvironment{gsection}[2] {
{\textbf{#1}}
{\vspace{0.15cm}\hrule\vspace{0.40cm}}
{#2}
{\vspace{0.50cm}}
}{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment