Skip to content

Commit a3ebc54

Browse files
resume: adjust few stuff
1 parent 1cbcbf6 commit a3ebc54

File tree

2 files changed

+37
-41
lines changed

2 files changed

+37
-41
lines changed

formatting.sty

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,59 @@
11
% -----------------------------------------------------------------------------
2-
% Formatting.sty - Custom formatting and commands for a modular resume
2+
% Formatting.sty - Custom Formatting and Commands for a Modular Resume
33
% -----------------------------------------------------------------------------
44
% Purpose:
5-
% This file contains styling and commands for creating a professional resume.
5+
% This file provides styling and commands for creating a professional resume.
66
% It is designed to be modular, allowing easy maintenance and reuse.
77
% -----------------------------------------------------------------------------
88

99
% -----------------------------------------------------------------------------
1010
% Required Packages
1111
% -----------------------------------------------------------------------------
12-
\RequirePackage[T1]{fontenc} % T1 font encoding for proper hyphenation
13-
\RequirePackage[utf8]{inputenc} % UTF-8 input encoding
14-
\RequirePackage{enumitem} % Customization of list environments
15-
\RequirePackage[hidelinks]{hyperref} % Hyperlinks without visible borders
16-
\RequirePackage{titlesec} % Custom section titles
17-
\RequirePackage{XCharter} % Professional font family
18-
\RequirePackage{xstring} % String manipulation (e.g., URL processing)
19-
\RequirePackage{geometry} % Page layout and margins
20-
\RequirePackage{etoolbox} % Enhanced conditional and command tools
21-
\RequirePackage{fancyhdr} % Custom headers and footers
12+
\RequirePackage[T1]{fontenc} % T1 font encoding for proper hyphenation
13+
\RequirePackage[utf8]{inputenc} % UTF-8 input encoding
14+
\RequirePackage{enumitem} % Customization of list environments
15+
\RequirePackage[hidelinks]{hyperref} % Hyperlinks without visible borders
16+
\RequirePackage{titlesec} % Custom section titles formatting
17+
\RequirePackage{XCharter} % Professional font family (XCharter)
18+
\RequirePackage{xstring} % String manipulation (e.g., URL processing)
19+
\RequirePackage{geometry} % Page layout and margins
20+
\RequirePackage{fancyhdr} % Custom headers and footers
21+
\RequirePackage{etoolbox} % Enhanced conditional and command tools
2222

2323
% -----------------------------------------------------------------------------
2424
% Page Layout and Margins
2525
% -----------------------------------------------------------------------------
26-
\geometry{a4paper, margin=0.5in} % A4 paper with 0.5in margins
26+
\geometry{a4paper, margin=0.5in} % A4 paper with 0.5in margins
2727

2828
% -----------------------------------------------------------------------------
2929
% Global Text and Page Settings
3030
% -----------------------------------------------------------------------------
31-
\raggedright % Left-align text
32-
\pagestyle{empty} % Disable page numbering
33-
\input{glyphtounicode} % Enable machine-readable PDF output
34-
\pdfgentounicode=1
31+
\raggedright % Left-align text
32+
\pagestyle{empty} % Disable page numbering
33+
\input{glyphtounicode} % Enable machine-readable PDF output
34+
\pdfgentounicode=1 % Unicode output
3535

3636
% -----------------------------------------------------------------------------
3737
% Section Title Formatting
3838
% -----------------------------------------------------------------------------
39-
\titleformat{\section}
40-
{\bfseries\large}{}{0pt}{}[\vspace{1pt}\titlerule\vspace{-6.5pt}]
41-
% Bold, large section titles with a horizontal line below
39+
\titleformat{\section} % Custom section title format
40+
{\bfseries\large}{}{}{}[\vspace{1pt}\titlerule\vspace{-6.5pt}] % Bold, large section titles with a horizontal line
4241

4342
% -----------------------------------------------------------------------------
4443
% List Formatting
4544
% -----------------------------------------------------------------------------
46-
\renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$}
47-
\setlist[itemize]{
48-
itemsep=-2pt, % Space between items
49-
leftmargin=12pt, % Indentation
50-
topsep=7pt % Space above list
45+
\renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$} % Custom bullet for itemized lists
46+
\setlist[itemize]{ % Customization for itemized lists
47+
itemsep=-2pt, % Space between items
48+
leftmargin=12pt, % Indentation
49+
topsep=7pt % Space above list
5150
}
5251

5352
% -----------------------------------------------------------------------------
5453
% Spacing Adjustments
5554
% -----------------------------------------------------------------------------
56-
\setlength{\parskip}{0pt} % No extra space between paragraphs
57-
\setlength{\parindent}{0pt} % No paragraph indentation
55+
\setlength{\parskip}{0pt} % No extra space between paragraphs
56+
\setlength{\parindent}{0pt} % No paragraph indentation
5857

5958
% -----------------------------------------------------------------------------
6059
% Custom Commands
@@ -70,7 +69,7 @@
7069
\StrSubstitute{#1}{https://}{}[\Result]%
7170
\StrSubstitute{\Result}{http://}{}[\Result]%
7271
\StrSubstitute{\Result}{mailto:}{}[\Result]%
73-
\href{#1}{\Result}%
72+
\href{#1}{\Result} % Converts to clickable link with a clean URL display
7473
}
7574

7675
% Command: Skills List
@@ -105,18 +104,18 @@
105104
}
106105

107106
% -----------------------------------------------------------------------------
108-
% Documentation
107+
% Documentation for Users
109108
% -----------------------------------------------------------------------------
110-
% This package provides:
111-
% - \skills: Create a list of skills with a type and list of skills.
112-
% - \technologies: List technologies used in a project.
113-
% - \shorturl: Display a shortened URL without the protocol.
114-
% - \project: Define a project with name, URL, technologies, and details.
115-
% - \experience: Add work experience with role, company, time period, location, and responsibilities.
116-
% - \education: Add education details with degree, institution, URL, and graduation date.
109+
% This package provides the following commands:
110+
% - \skills: Creates a list of skills with type and list of skills.
111+
% - \technologies: Displays technologies used in a project.
112+
% - \shorturl: Creates a clickable URL with the protocol stripped out.
113+
% - \project: Defines a project with name, URL, technologies, and details.
114+
% - \experience: Adds work experience with role, company, time period, location, and responsibilities.
115+
% - \education: Adds education details with degree, institution, URL, and graduation date.
117116

118117
% -----------------------------------------------------------------------------
119118
% Notes:
120119
% - Adjust spacing, margins, and list styles as needed for different templates.
121-
% - All sections should be imported from separate files for better modularity.
120+
% - Sections should be imported from separate files for better modularity and reuse.
122121
% -----------------------------------------------------------------------------

main.tex

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
\documentclass[11pt]{article}
2-
\usepackage{formatting} % Include custom formatting commands
2+
\usepackage{formatting} % Custom styling and commands for a modular resume
33

44
\begin{document}
55

66
\input{sections/header}
7-
87
\vspace{-14pt}
9-
10-
% Resume Sections
118
\input{sections/skills}
129
\vspace{-14pt}
1310
\input{sections/projects}

0 commit comments

Comments
 (0)