NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

% Intro Options
ProvidesClass{deedy-resume-openfont}[2014/04/30 CV class]
NeedsTeXFormat{LaTeX2e}
DeclareOption{print}{def@cv@print{}}
DeclareOption*{%
PassOptionsToClass{CurrentOption}{article}
}
ProcessOptionsrelax
LoadClass{article}

% Package Imports
usepackage[hmargin=1.25cm, vmargin=0.75cm]{geometry}
usepackage[hidelinks]{hyperref}

% Publications
usepackage{cite}
renewcommandrefname{vskip -1.5cm}

% Color definitions
usepackage[usenames,dvipsnames]{xcolor}
definecolor{date}{HTML}{666666}
definecolor{primary}{HTML}{2b2b2b}
definecolor{headings}{HTML}{6A6A6A}
definecolor{subheadings}{HTML}{333333}

% Set main fonts
usepackage{fontspec}
setmainfont[Color=primary, Path = fonts/lato/,BoldItalicFont=Lato-RegIta,BoldFont=Lato-Reg,ItalicFont=Lato-LigIta]{Lato-Lig}
setsansfont[Scale=MatchLowercase,Mapping=tex-text, Path = fonts/raleway/]{Raleway-ExtraLight}

% Date command
usepackage[absolute]{textpos}
usepackage[UKenglish]{isodate}
setlength{TPHorizModule}{1mm}
setlength{TPVertModule}{1mm}
newcommand{lastupdated}{begin{textblock}{60}(155,5)
color{date}fontspec[Path = fonts/raleway/]{Raleway-ExtraLight}fontsize{8pt}{10pt}selectfont
Last Updated on today
end{textblock}}

% Name command
newcommand{namesection}[3]{
centering{
fontsize{40pt}{60pt}
fontspec[Path = fonts/lato/]{Lato-Hai}selectfont #1
fontspec[Path = fonts/lato/]{Lato-Lig}selectfont #2
} \[5pt]
centering{
color{headings}
fontspec[Path = fonts/raleway/]{Raleway-Medium}fontsize{11pt}{14pt}selectfont #3}
noindentmakebox[linewidth]{color{headings}rule{paperwidth}{0.4pt}}
vspace{-15pt}
}

% Section seperators
usepackage{titlesec}
titlespacing{section}{0pt}{0pt}{0pt}
titlespacing{subsection}{0pt}{0pt}{0pt}
newcommand{sectionsep}{vspace{8pt}}

% Headings command
titleformat{section}{color{headings}
scshapefontspec[Path = fonts/lato/]{Lato-Lig}fontsize{16pt}{24pt}selectfont raggedrightuppercase}{}{0em}{}

% Subeadings command
titleformat{subsection}{
color{subheadings}fontspec[Path = fonts/lato/]{Lato-Bol}fontsize{12pt}{12pt}selectfontbfseriesuppercase}{}{0em}{}

newcommand{runsubsection}[1]{
color{subheadings}fontspec[Path = fonts/lato/]{Lato-Bol}fontsize{12pt}{12pt}selectfontbfseriesuppercase {#1} normalfont}



% Descriptors command
newcommand{descript}[1]{
color{subheadings}raggedrightscshapefontspec[Path = fonts/raleway/]{Raleway-Medium}fontsize{11pt}{13pt}selectfont {#1 \} normalfont}

% Location command
newcommand{location}[1]{
color{headings}raggedrightfontspec[Path = fonts/raleway/]{Raleway-Medium}fontsize{10pt}{12pt}selectfont {#1\} normalfont}

% Bullet Lists with fewer gaps command
newenvironment{tightemize}{
vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}
{end{itemize}vspace{-topsep}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Declaration
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

ProvidesClass{MagicalCV}[2022/05/31 CV class]
NeedsTeXFormat{LaTeX2e}
DeclareOption{print}{def@cv@print{}}
DeclareOption*{
PassOptionsToClass{CurrentOption}{article}
}
ProcessOptionsrelax
LoadClass{article}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Customize page layout
usepackage{geometry}
% Hyperlinks
usepackage[hidelinks]{hyperref}
% Cite References
usepackage{cite}
% Add boxes
usepackage[absolute]{textpos}
% Set isodate
usepackage[UKenglish]{isodate}
% Title styles
usepackage{titlesec}
% Make fixed length table
RequirePackage{array}
% Handle list environment
RequirePackage{enumitem}
% Handle text alignment
RequirePackage{ragged2e}
% Manage colors
RequirePackage{xcolor}
% Use ifxetex-else-fi statement
RequirePackage{ifxetex}
% Use if-then-else statement
RequirePackage{xifthen}
% Use a toolbox of programming tools
RequirePackage{etoolbox}
% Change line spacing in specific environment
RequirePackage{setspace}
% Use icons from font-awesome
usepackage[default]{lato}
RequirePackage{fontawesome5}
RequirePackage{roboto}
RequirePackage[default,opentype]{sourcesanspro}
% Needed for the photo ID
RequirePackage[skins]{tcolorbox}
% Deal a paragraphs
RequirePackage{parskip}
% Web-related icons
RequirePackage{fontawesome}
% Graphic elements in latex
RequirePackage{tikz}
% Adding images and stuff
RequirePackage{graphicx}
% for Some other commands
RequirePackage{etoolbox}
% For dashed lines
RequirePackage{dashrule}
% Tables
RequirePackage{multirow,tabularx}
% Change the page laout
RequirePackage{changepage}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Icons
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

newcommand{emailsymbol}{faAt}
newcommand{phonesymbol}{faPhone}
newcommand{homepagesymbol}{faChain}
newcommand{locationsymbol}{faMapMarker}
newcommand{linkedinsymbol}{faLinkedin}
newcommand{twittersymbol}{faTwitter}
newcommand{githubsymbol}{faGithub}
newcommand{orcidsymbol}{aiOrcid}
newcommand{mailsymbol}{faEnvelope}

newcommand{printinfo}[2]{mbox{textcolor{accent}{#1}hspace{0.5em}#2hspace{0.5em}}}

newcommand{name}[1]{def@name{#1}}
newcommand{tagline}[1]{def@tagline{#1}}
newcommand{photo}[2]{def@photo{#2}def@photodiameter{#1}}
newcommand{email}[1]{printinfo{emailsymbol}{#1}}
newcommand{mailaddress}[1]{printinfo{mailsymbol}{#1}}
newcommand{phone}[1]{printinfo{phonesymbol}{#1}}
newcommand{homepage}[1]{printinfo{homepagesymbol}{#1}}
newcommand{twitter}[1]{printinfo{twittersymbol}{#1}}
newcommand{linkedin}[1]{printinfo{linkedinsymbol}{#1}}
newcommand{github}[1]{printinfo{githubsymbol}{#1}}
newcommand{orcid}[1]{printinfo{orcidsymbol}{#1}}
newcommand{location}[1]{printinfo{locationsymbol}{#1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Configuration for colors
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% Fix Bug
definecolor{date}{rgb}{0.345,0.345,0.345}
definecolor{headings}{rgb}{0.345,0.345,0.345}
definecolor{subheadings}{rgb}{0.345,0.345,0.345}
definecolor{primary}{rgb}{128,128,128}
% Gray-scale colors
definecolor{white}{HTML}{FFFFFF}
definecolor{black}{HTML}{000000}
definecolor{darkgray}{HTML}{333333}
definecolor{gray}{HTML}{5D5D5D}
definecolor{lightgray}{HTML}{999999}
% Basic colors
definecolor{green}{HTML}{C2E15F}
definecolor{orange}{HTML}{FDA333}
definecolor{purple}{HTML}{D3A4F9}
definecolor{red}{HTML}{FB4485}
definecolor{blue}{HTML}{6CE0F1}
% Text colors
definecolor{darktext}{HTML}{414141}
colorlet{text}{darkgray}
colorlet{graytext}{gray}
colorlet{lighttext}{lightgray}
colorlet{sectiondivider}{gray}
% Awesome colors
definecolor{awesome-emerald}{HTML}{00A388}
definecolor{awesome-skyblue}{HTML}{0395DE}
definecolor{awesome-red}{HTML}{DC3522}
definecolor{awesome-pink}{HTML}{EF4089}
definecolor{awesome-orange}{HTML}{FF6138}
definecolor{awesome-nephritis}{HTML}{27AE60}
definecolor{awesome-concrete}{HTML}{95A5A6}
definecolor{awesome-darknight}{HTML}{131A28}
definecolor{awesome-purple}{HTML}{5D3FD3}
colorlet{awesome}{awesome-red}

% Boolean value to switch section color highlighting
newbool{acvSectionColorHighlight}
setbool{acvSectionColorHighlight}{true}

% Awesome section color
def@sectioncolor#1#2#3{%
ifbool{acvSectionColorHighlight}{{color{awesome}#1#2#3}}{#1#2#3}%
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Configuration for fonts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

newcommand*{bodyfont}{sourcesanspro}
newcommand*{bodyfontlight}{sourcesansprolight}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Configuration for styles
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Configure styles for each CV elements
% For fundamental structures
newcommand*{headerfirstnamestyle}[1]{{fontsize{32pt}{1em}headerfontlightcolor{graytext} #1}}
newcommand*{headerlastnamestyle}[1]{{fontsize{32pt}{1em}headerfontbfseriescolor{text} #1}}
newcommand*{headerpositionstyle}[1]{{fontsize{7.6pt}{1em}bodyfontscshapecolor{awesome} #1}}
newcommand*{headeraddressstyle}[1]{{fontsize{8pt}{1em}headerfontitshapecolor{lighttext} #1}}
newcommand*{headersocialstyle}[1]{{fontsize{6.8pt}{1em}headerfontcolor{text} #1}}
newcommand*{headerquotestyle}[1]{{fontsize{9pt}{1em}bodyfontitshapecolor{darktext} #1}}
newcommand*{sectionstyle}[1]{{fontsize{16pt}{1em}bodyfontbfseriescolor{text}@sectioncolor #1}}
newcommand*{subsectionstyle}[1]{{fontsize{12pt}{1em}bodyfontscshapetextcolor{text}{#1}}}
newcommand*{paragraphstyle}{fontsize{9pt}{1em}bodyfontlightupshapecolor{text}}

% For elements of entry
newcommand*{entrytitlestyle}[1]{{fontsize{10pt}{1em}bodyfontbfseriescolor{darktext} #1}}
newcommand*{entrypositionstyle}[1]{{fontsize{8pt}{1em}bodyfontscshapecolor{graytext} #1}}
newcommand*{entrydatestyle}[1]{{fontsize{8pt}{1em}bodyfontlightslshapecolor{graytext} #1}}
newcommand*{entrylocationstyle}[1]{{fontsize{9pt}{1em}bodyfontlightslshapecolor{awesome} #1}}
newcommand*{descriptionstyle}[1]{{fontsize{9pt}{1em}bodyfontlightupshapecolor{text} #1}}

% For elements of sub-entry
newcommand*{subentrytitlestyle}[1]{{fontsize{8pt}{1em}bodyfontmdseriescolor{graytext} #1}}
newcommand*{subentrypositionstyle}[1]{{fontsize{7pt}{1em}bodyfontscshapecolor{graytext} #1}}
newcommand*{subentrydatestyle}[1]{{fontsize{7pt}{1em}bodyfontlightslshapecolor{graytext} #1}}
newcommand*{subentrylocationstyle}[1]{{fontsize{7pt}{1em}bodyfontlightslshapecolor{awesome} #1}}
newcommand*{subdescriptionstyle}[1]{{fontsize{8pt}{1em}bodyfontlightupshapecolor{text} #1}}

% For elements of honor
newcommand*{honortitlestyle}[1]{{fontsize{9pt}{1em}bodyfontcolor{graytext} #1}}
newcommand*{honorpositionstyle}[1]{{fontsize{9pt}{1em}bodyfontbfseriescolor{darktext} #1}}
newcommand*{honordatestyle}[1]{{fontsize{9pt}{1em}bodyfontcolor{graytext} #1}}
newcommand*{honorlocationstyle}[1]{{fontsize{9pt}{1em}bodyfontlightslshapecolor{awesome} #1}}

% For elements of skill
newcommand*{skilltypestyle}[1]{{fontsize{10pt}{1em}bodyfontbfseriescolor{darktext} #1}}
newcommand*{skillsetstyle}[1]{{fontsize{9pt}{1em}bodyfontlightcolor{text} #1}}

% For elements of the cover letter
newcommand*{lettersectionstyle}[1]{{fontsize{14pt}{1em}bodyfontbfseriescolor{text}@sectioncolor #1}}
newcommand*{recipientaddressstyle}[1]{{fontsize{9pt}{1em}bodyfontscshapecolor{graytext} #1}}
newcommand*{recipienttitlestyle}[1]{{fontsize{11pt}{1em}bodyfontbfseriescolor{darktext} #1}}
newcommand*{lettertitlestyle}[1]{{fontsize{10pt}{1em}bodyfontlightbfseriescolor{darktext} underline{#1}}}
newcommand*{letterdatestyle}[1]{{fontsize{9pt}{1em}bodyfontlightslshapecolor{graytext} #1}}
newcommand*{lettertextstyle}{fontsize{10pt}{1.4em}bodyfontlightupshapecolor{graytext}}
newcommand*{letternamestyle}[1]{{fontsize{10pt}{1em}bodyfontbfseriescolor{darktext} #1}}
newcommand*{letterenclosurestyle}[1]{{fontsize{10pt}{1em}bodyfontlightslshapecolor{lighttext} #1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Commands for personal information
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Defines writer's extra information (optional)
% Usage: extrainfo{<extra information>}
newcommand*{extrainfo}[1]{def@extrainfo{#1}}

% Defines writer's quote (optional)
% Usage: quote{<quote>}
renewcommand*{quote}[1]{def@quote{#1}}

% Defines recipient's information (cover letter only)
% Usage: recipient{<recipient name>}{<recipient address>}
% Usage: recipientname{<recipient name>}
% Usage: recipientaddress{<recipient address>}
newcommand*{recipient}[2]{def@recipientname{#1}def@recipientaddress{#2}}
newcommand*{recipientname}[1]{def@recipientname{#1}}
newcommand*{recipientaddress}[1]{def@recipientaddress{#1}}

% Defines the title for letter (cover letter only, optional)
% Usage: lettertitle{<title>}
newcommand*{lettertitle}[1]{def@lettertitle{#1}}

% Defines the date for letter (cover letter only)
% Usage: letterdate{<date>}
newcommand*{letterdate}[1]{def@letterdate{#1}}

% Defines a message of opening for letter (cover letter only)
% Usage: letteropening{<message>}
newcommand*{letteropening}[1]{def@letteropening{#1}}

% Defines a message of closing for letter (cover letter only)
% Usage: letterclosing{<message>}
newcommand*{letterclosing}[1]{def@letterclosing{#1}}

% Defines an enclosure for letter (cover letter only, optional)
% Usage: letterenclosure[<enclosure name>]{<enclosure>}
newcommand*{letterenclname}[1][Enclosure]{def@letterenclname{#1}}
newcommand*{letterenclosure}[2][]{%
% if an optional argument is provided, use it to redefine enclname
ifthenelse{equal{#1}{}}{}{def@letterenclname{#1}}
def@letterenclosure{#2}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Commands for extra
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Define helper macros a user can change easily
% Header
newcommand{acvHeaderNameDelim}{space}
newcommand{acvHeaderAfterNameSkip}{.4mm}
newcommand{acvHeaderAfterPositionSkip}{.4mm}
newcommand{acvHeaderAfterAddressSkip}{-.5mm}
newcommand{acvHeaderIconSep}{space}
newcommand{acvHeaderSocialSep}{quadtextbarquad}
newcommand{acvHeaderAfterSocialSkip}{6mm}
newcommand{acvHeaderAfterQuoteSkip}{5mm}

% Others
newcommand{acvSectionTopSkip}{3mm}
newcommand{acvSectionContentTopSkip}{2.5mm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Commands for utilities
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Use to align an element of tabular table
newcolumntype{L}[1]{>{raggedrightletnewline\arraybackslashhspace{0pt}}m{#1}}
newcolumntype{C}[1]{>{centeringletnewline\arraybackslashhspace{0pt}}m{#1}}
newcolumntype{R}[1]{>{raggedleftletnewline\arraybackslashhspace{0pt}}m{#1}}

% Use to draw horizontal line with specific thickness
defvhrulefill#1{leavevmodeleadershrule@height#1hfill kernz@}

% Use to execute conditional statements by checking empty string
newcommand*{ifempty}[3]{ifthenelse{isempty{#1}}{#2}{#3}}

% Define a section for CV
% Usage: cvsection{<section-title>}
newcommand{cvsection}[1]{%
vspace{acvSectionTopSkip}
sectionstyle{#1}
phantomsection
color{sectiondivider}vhrulefill{0.9pt}
}

% To support LaTeX quoting style
defaultfontfeatures{Ligatures=TeX}

% Modify existing command
renewcommandrefname{vskip -1.5cm}

% Set main fonts
setmainfont[Color=primary, Path = fonts/lato/,BoldItalicFont=Lato-RegIta,BoldFont=Lato-Reg,ItalicFont=Lato-LigIta]{Lato-Lig}
setsansfont[Scale=MatchLowercase,Mapping=tex-text, Path = fonts/raleway/]{Raleway-ExtraLight}

% Date command
setlength{TPHorizModule}{1mm}
setlength{TPVertModule}{1mm}
newcommand{lastupdated}{begin{textblock}{60}(155,5)
color{date}fontspec[Path = fonts/raleway/]{Raleway-ExtraLight}fontsize{8pt}{10pt}selectfont
Last Updated on today
end{textblock}}

% Name command
newcommand{namesection}[3]{
centering{
fontsize{40pt}{60pt}
fontspec[Path = fonts/lato/]{Lato-Hai}selectfont #1
fontspec[Path = fonts/lato/]{Lato-Lig}selectfont #2
} \[5pt]
centering{
color{headings}
fontspec[Path = fonts/raleway/]{Raleway-Medium}fontsize{11pt}{14pt}selectfont #3}
vspace{-15pt}
}

% Section separators
titlespacing{section}{0pt}{0pt}{0pt}
titlespacing{subsection}{0pt}{0pt}{0pt}
newcommand{sectionsep}{vspace{8pt}}

% Headings command
titleformat{section}{color{headings}
scshapefontspec[Path = fonts/lato/]{Lato-Lig}fontsize{16pt}{24pt}selectfont raggedrightuppercase}{}{0em}{}

% Subheadings command
titleformat{subsection}{
color{subheadings}fontspec[Path = fonts/lato/]{Lato-Bol}fontsize{12pt}{12pt}selectfontbfseriesuppercase}{}{0em}{}

newcommand{runsubsection}[1]{
color{subheadings}fontspec[Path = fonts/lato/]{Lato-Bol}fontsize{12pt}{12pt}selectfontbfseriesuppercase {#1} normalfont}

% Descriptors command
newcommand{descript}[1]{
color{subheadings}raggedrightscshapefontspec[Path = fonts/raleway/]{Raleway-Medium}fontsize{11pt}{13pt}selectfont {#1 \} normalfont}

% Bullet Lists with fewer gaps command
newenvironment{tightemize}{
vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}
{end{itemize}vspace{-topsep}}

% Setting up Hyperlink
hypersetup{%
pdftitle={},
pdfauthor={},
pdfsubject={},
pdfkeywords={}
}

% Setting up events location and date
newcommand{cvevent}[2]{
{smallmakebox[0.5linewidth][l]{faCalendar hspace{0.5em}#1}%
ifstrequal{#2}{}{}{makebox[0.5linewidth][l]{faMapMarkerhspace{0.5em}#2}}par}}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.