Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % \documentclass[a4paper,10pt,oneside]{article}
- \documentclass[letterpaper,10pt,oneside]{article}
- \newcommand{\TypesetInNonStopMode}{1}
- \newcommand{\TypesetInDraftMode}{0}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %% SIMPLE-RESUME-CV
- %% <https://github.com/zachscrivena/simple-resume-cv>
- %% This is free and unencumbered software released into the
- %% public domain; see <http://unlicense.org> for details.
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % Run in non-stop mode.
- \ifnum\TypesetInNonStopMode=1
- \nonstopmode
- \fi
- % Geometry package for page margins.
- \usepackage[
- left=0.70in,
- right=0.70in,
- top=0.60in,
- bottom=0.45in,
- nohead,
- includefoot]{geometry}
- % PDF settings and properties.
- \usepackage{hyperref}
- % Long table for page layout.
- \usepackage{longtable}
- % Hyphenation: Disabled.
- \usepackage[none]{hyphenat}
- % Colors.
- \usepackage[usenames]{color}
- % \definecolor{MyDarkBlue}{RGB}{0,90,160}
- % {\color{MyDarkBlue}This text is dark blue}
- % Current date and time.
- \usepackage[yyyymmdd,24hr]{datetime}
- \renewcommand{\dateseparator}{-}
- \settimeformat{xxivtime}
- % {\today}~{\currenttime}
- % Timestamp.
- \newcommand{\Timestamp}{{\yyyymmdddate\today}~{\currenttime}}
- % Abbreviations for months.
- \newcommand{\LongMonth}[1]{%
- \ifcase#1\relax
- \or January%
- \or February%
- \or March%
- \or April%
- \or May%
- \or June%
- \or July%
- \or August%
- \or September%
- \or October%
- \or November%
- \or December%
- \fi}
- \newcommand{\ShortMonth}[1]{%
- \ifcase#1\relax
- \or Jan%
- \or Feb%
- \or Mar%
- \or Apr%
- \or May%
- \or Jun%
- \or Jul%
- \or Aug%
- \or Sep%
- \or Oct%
- \or Nov%
- \or Dec%
- \fi}
- % Select datestamp format.
- \def\DatestampFormatSelection{2}
- % Datestamp format: {yyyy}{MM}{dd} ---> yyyy-MM-dd (e.g., 2010-12-31).
- \ifnum\DatestampFormatSelection=1
- \newcommand{\DatestampYMD}[3]{\mbox{#1-#2-#3}}
- \newcommand{\DatestampYM}[2]{\mbox{#1-#2}}
- \newcommand{\DatestampY}[1]{#1}
- \fi
- % Datestamp format: {yyyy}{MM}{dd} ---> MMM yyyy (e.g., Dec 2010).
- \ifnum\DatestampFormatSelection=2
- \newcommand{\DatestampYMD}[3]{\mbox{\ShortMonth{#2} #1}}
- \newcommand{\DatestampYM}[2]{\mbox{\ShortMonth{#2} #1}}
- \newcommand{\DatestampY}[1]{#1}
- \fi
- % Datestamp format: {yyyy}{MM}{dd} ---> MMMM yyyy (e.g., December 2010).
- \ifnum\DatestampFormatSelection=3
- \newcommand{\DatestampYMD}[3]{\mbox{\LongMonth{#2} #1}}
- \newcommand{\DatestampYM}[2]{\mbox{\LongMonth{#2} #1}}
- \newcommand{\DatestampY}[1]{#1}
- \fi
- % Datestamp format: {yyyy}{MM}{dd} ---> yyyy (e.g., 2010).
- \ifnum\DatestampFormatSelection=4
- \newcommand{\DatestampYMD}[3]{#1}
- \newcommand{\DatestampYM}[2]{#1}
- \newcommand{\DatestampY}[1]{#1}
- \fi
- % XeLaTeX packages.
- \usepackage{fontspec}
- \defaultfontfeatures{Ligatures=TeX}
- \usepackage{xunicode}
- \usepackage{xltxtra}
- % Font: Use "Tinos" as the main typeface (\textnormal{}, \normalfont).
- % The "Tinos" fonts are released under the Apache License Version 2.0,
- % and can be downloaded for free at <http://www.fontsquirrel.com/fonts/tinos>.
- % Symbol table: <http://www.fileformat.info/info/unicode/font/tinos/grid.htm>
- \setmainfont
- [Path=./Fonts/Tinos/,
- ItalicFont=Tinos-Italic,
- BoldFont=Tinos-Bold,
- BoldItalicFont=Tinos-BoldItalic]
- {Tinos-Regular.ttf}
- % Secondary font: "GNU FreeFont".
- % The "GNU FreeFont" fonts are released under the
- % GNU General Public License Version 3, and can be downloaded
- % for free at <https://savannah.gnu.org/projects/freefont/>.
- \newcommand{\UseSecondaryFont}{\fontspec
- [Path=./Fonts/GNUFreeFont/,
- ItalicFont=FreeSerifItalic,
- BoldFont=FreeSerifBold,
- BoldItalicFont=FreeSerifBoldItalic]
- {FreeSerif.otf}}
- % Sans-serif font: Changed to "Tinos".
- \renewcommand{\sffamily}{\rmfamily}
- % Typewriter (monospace) font: Changed to "Tinos".
- \renewcommand{\ttfamily}{\rmfamily}
- % Small caps font: Changed to "Tinos".
- \renewcommand{\scshape}{\rmfamily}
- %\renewcommand{\textsc}[1]{\textbf{\MakeUppercase{#1}}}
- % Font styles.
- \newcommand{\UseHeadingFont}{\normalfont}
- \newcommand{\UseHeaderFooterFont}{\UseHeadingFont\fontsize{8.2pt}{9.5pt}\selectfont}
- \newcommand{\UseNoteFont}{\UseHeadingFont\fontsize{8pt}{9.6pt}\selectfont}
- \newcommand{\UseTitleFont}{\UseHeadingFont\fontsize{28pt}{33.6pt}\selectfont\bfseries}
- \newcommand{\UseSubTitleFont}{\normalfont\fontsize{8.6pt}{10.3pt}\selectfont}
- \newcommand{\UseSectionFont}{\UseHeadingFont\fontsize{9pt}{11pt}\selectfont\bfseries}
- \newcommand{\UseSubSectionFont}{\UseHeadingFont\fontsize{8.6pt}{10.3pt}\selectfont\bfseries}
- \newcommand{\UseDetailFont}{\normalfont\fontsize{8.6pt}{10.3pt}\selectfont}
- % Symbols (unicode).
- \newcommand{\BulletSymbol}{{\normalfont\fontsize{6.5}{7.8}\selectfont\raisebox{0.17em}{\char"25A0}}}
- \newcommand{\SubBulletSymbol}{{\normalfont\fontsize{6}{7.2}\selectfont\raisebox{0.17em}{\char"25CF}}}
- \newcommand{\TildeSymbol}{{\normalfont\char"007E}}
- % Headers and footers: Blank header, page number in footer.
- \makeatletter
- \def\ps@plain{%
- \def\@oddhead{\HeaderText}%
- \def\@evenhead{\HeaderText}%
- \def\@oddfoot{\FooterText}%
- \def\@evenfoot{\FooterText}}
- \makeatother
- \pagestyle{plain}
- % Paragraph style.
- \setlength{\parindent}{0in} % No indentation at the beginning of each paragraph.
- \setlength{\parskip}{0in} % No vertical space between paragraphs.
- % Footnotes: Use symbols instead of numbers for labels.
- \renewcommand{\thefootnote}{\fnsymbol{footnote}}
- % Macro: title (name).
- \renewcommand{\title}[1]{%
- \pdfbookmark[1]{#1}{#1}%
- \par\begin{center}%
- \par\UseTitleFont%
- {#1}%
- \par\end{center}%
- \par\vspace{-1.75em}\par}
- % Macro: subtitle (personal information below name).
- \newenvironment{subtitle}
- {\par\begin{center}%
- \par\UseSubTitleFont}
- {\par\end{center}\par}
- % Macro: body (rest of the document).
- \newenvironment{body}
- {\par\vspace{-1em}\par
- \begin{longtable}{p{0.15\textwidth}p{0.80\textwidth}}}
- {\par\end{longtable}\par}
- % Macro: section (new section for Education, Research Experience, etc.).
- \renewcommand{\section}[3]{\\[-1em]\pdfbookmark[2]{#2}{#3}\\%
- {\UseSectionFont\raggedright\MakeUppercase{#1}}%
- &}
- % Macro: subsection.
- \renewcommand{\subsection}[3]{\par~\vskip-\baselineskip%
- \pdfbookmark[3]{#2}{#3}\par%
- {\UseSubSectionFont\raggedright\MakeUppercase{#1}}%
- \vspace{0.225\baselineskip}}
- % Macro: BigGap, BigGapNoBreak (big vertical gap between items in the same section).
- \newcommand{\BigGap}{\\[-1.75mm]~&}
- \newcommand{\BigGapNoBreak}{\par\vspace{2.45mm}\par}
- % Macro: Gap, GapNoBreak (vertical gap between items in the same section).
- \newcommand{\Gap}{\\[-3.5mm]~&}
- \newcommand{\GapNoBreak}{\par\vspace{0.7mm}\par}
- % Macro: detail (text in smaller font under an item).
- \newenvironment{detail}
- {\par\begingroup\UseDetailFont}
- {\par\endgroup\par}
- % Macro: BulletItem.
- \newsavebox{\BulletItemIndentation}
- \newlength{\BulletItemIndentationWidth}
- \newcommand{\BulletItem}{\par%
- \savebox{\BulletItemIndentation}{\hspace{1.5mm}\BulletSymbol\hspace{1.25mm}}%
- \settowidth{\BulletItemIndentationWidth}{\usebox{\BulletItemIndentation}}%
- \noindent\hangafter=1\hangindent=\BulletItemIndentationWidth\ignorespaces%
- \usebox{\BulletItemIndentation}\ignorespaces}
- % Macro: SubBulletItem.
- \newsavebox{\SubBulletItemIndentation}
- \newlength{\SubBulletItemIndentationWidth}
- \newcommand{\SubBulletItem}{\par%
- \savebox{\SubBulletItemIndentation}{\hspace{5.6mm}\SubBulletSymbol\hspace{1.25mm}}%
- \settowidth{\SubBulletItemIndentationWidth}{\usebox{\SubBulletItemIndentation}}%
- \noindent\hangafter=1\hangindent=\SubBulletItemIndentationWidth\ignorespaces%
- \usebox{\SubBulletItemIndentation}\ignorespaces}
- % Macro: Item.
- \newsavebox{\ItemIndentation}
- \newlength{\ItemIndentationWidth}
- \newcommand{\Item}{\par%
- \savebox{\ItemIndentation}{\hphantom{\hspace{1.5mm}\BulletSymbol\hspace{1.25mm}}}%
- \settowidth{\ItemIndentationWidth}{\usebox{\ItemIndentation}}%
- \noindent\hangafter=1\hangindent=\ItemIndentationWidth\ignorespaces%
- \usebox{\ItemIndentation}\ignorespaces}
- % Macro: SubItem.
- \newsavebox{\SubItemIndentation}
- \newlength{\SubItemIndentationWidth}
- \newcommand{\SubItem}{\par%
- \savebox{\SubItemIndentation}{\hphantom{\hspace{1.5mm}\BulletSymbol\hspace{1.25mm}}}%
- \settowidth{\SubItemIndentationWidth}{\usebox{\SubItemIndentation}}%
- \noindent\hangafter=1\hangindent=\SubItemIndentationWidth\ignorespaces%
- \usebox{\SubItemIndentation}\ignorespaces}
- % Macro: NumberedItem.
- \newsavebox{\NumberedItemIndentation}
- \newlength{\NumberedItemIndentationWidth}
- \newcommand{\NumberedItem}[1]{\par%
- \savebox{\NumberedItemIndentation}{{#1}\hspace{2.3mm}}%
- \settowidth{\NumberedItemIndentationWidth}{\usebox{\NumberedItemIndentation}}%
- \noindent\hangafter=1\hangindent=\NumberedItemIndentationWidth\ignorespaces%
- \usebox{\NumberedItemIndentation}\ignorespaces}
- % Macro: CharSpace (for aligning single-digit numbers).
- \newlength{\CharWidth}
- \newcommand{\CharSpace}{\settowidth{\CharWidth}{8}\hspace{\CharWidth}}
- % Macro: hide.
- \newcommand{\hide}[1]{}
- % CV Info (to be customized).
- \newcommand{\CVAuthor}{Mohamed Ali}
- \newcommand{\CVTitle}{Mohamed Ali's CV}
- \newcommand{\CVWebpage}{https://www.linkedin.com/in/mohamed-ali-48903a67}
- % PDF settings and properties.
- \hypersetup{
- pdftitle={\CVTitle},
- pdfauthor={\CVAuthor},
- pdfsubject={\CVWebpage},
- pdfcreator={XeLaTeX},
- pdfproducer={},
- pdfkeywords={},
- pdfpagemode={},
- bookmarks=true,
- unicode=true,
- bookmarksopen=true,
- pdfstartview=FitH,
- pdfpagelayout=OneColumn,
- pdfpagemode=UseOutlines,
- hidelinks,
- breaklinks}
- % Shorthand.
- \newcommand{\CodeCommand}[1]{\mbox{\textbf{\textbackslash{#1}}}}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %% ACTUAL DOCUMENT.
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \begin{document}
- %%%%%%%%%%%%%%%
- % TITLE BLOCK %
- %%%%%%%%%%%%%%%
- \title{\CVAuthor}
- \begin{subtitle}
- {El Amria, Alexandria, Egypt}
- \par
- \href{mailto:eng.mohamedali99@gmail.com }
- {eng.mohamedali99@gmail.com }
- \,\SubBulletSymbol\,
- +2\,010\,97896103
- \,\SubBulletSymbol\,
- \href{\CVWebpage}
- {\CVWebpage}
- \end{subtitle}
- \begin{body}
- %%%%%%%%%%%%%%%
- %% EDUCATION %%
- %%%%%%%%%%%%%%%
- \section
- {Education}
- {Education}
- {PDF:Education}
- {\textbf{Faculty of Engineering, Alexandria University, Egypt}}
- \GapNoBreak
- \BulletItem
- BEng of Computer and Systems Engineering
- \hfill
- \DatestampYMD{2010}{09}{1} --
- \DatestampYMD{2016}{07}{1}
- \begin{detail}
- \SubBulletItem
- Grade:
- Good.
- \SubBulletItem
- Graduation Project:
- Elderly Assistance Robot (Grade: Very Good).
- \end{detail}
- %%%%%%%%%%%%%%%%%%%%%
- %% skills %%
- %%%%%%%%%%%%%%%%%%%%%
- \section
- {skills}
- {skills}
- {PDF:skills}
- \BulletItem
- Dean's List,
- Fall 2002 through Spring 2005,
- Science College
- \hfill
- \begin{detail}
- \SubBulletItem
- Grade:
- Good.
- \SubBulletItem
- Graduation Project:
- Elderly Assistance Robot (Grade: Very Good).
- \end{detail}
- \Gap
- \BulletItem
- Undergraduate Researcher Award,
- Science College
- \hfill
- \Gap
- \BulletItem
- Undergraduate Researcher Award,
- Science College
- \hfill
- \Gap
- \BulletItem
- Undergraduate Researcher Award,
- Science College
- \hfill
- \Gap
- \BulletItem
- Undergraduate Researcher Award,
- Science College
- \hfill
- \Gap
- \BulletItem
- Undergraduate Researcher Award,
- Science College
- \hfill
- \Gap
- \BulletItem
- Undergraduate Researcher Award,
- Science College
- \hfill
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %% ANOTHER SECTION WITH USAGE EXAMPLES %%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \section
- {Projects}
- {Projects}
- {PDF:Projects:ForPDFLink}
- \textbf{This is a Plain Heading},
- followed by an \CodeCommand{hfill} and a date range
- \hfill
- \DatestampYM{2015}{10} --
- \DatestampYM{2015}{12}
- \GapNoBreak
- \BulletItem
- This is a \CodeCommand{BulletItem}.
- \begin{detail}
- \SubBulletItem
- This is a \CodeCommand{SubBulletItem}.
- \end{detail}
- \GapNoBreak
- \BulletItem
- This is a \CodeCommand{BulletItem}.
- \begin{detail}
- \SubItem
- This is a \CodeCommand{SubItem}, which has no bullet.
- Note the alignment with the \CodeCommand{BulletItem} above.
- \end{detail}
- \GapNoBreak
- \Item
- This is an \CodeCommand{Item}, which has no bullet.
- Note the alignment with the \CodeCommand{BulletItem} above.
- \begin{detail}
- \SubItem
- This is a \CodeCommand{SubItem}.
- \end{detail}
- \GapNoBreak
- \NumberedItem{[16]}
- This is a \CodeCommand{NumberedItem}.
- Note the alignment with the \CodeCommand{SubBulletItem} above.
- \GapNoBreak
- \NumberedItem{{\CharSpace}[6]}
- This is a \CodeCommand{NumberedItem} with a \CodeCommand{CharSpace} in its argument for padding shorter numbers.
- Note the alignment with the \CodeCommand{NumberedItem} above.
- \BigGap
- \textbf{Usage Notes}
- \GapNoBreak
- \BulletItem
- New Lines and Paragraphs
- \begin{detail}
- \SubBulletItem
- To create a new line within the same paragraph (i.e., with the same indentation), use \CodeCommand{newline} instead of \CodeCommand{\textbackslash}.
- The latter will not work because it breaks the long table.
- \SubBulletItem
- To create a new paragraph, use \CodeCommand{par} or simply leave an empty line.
- Paragraph indentations (from
- \CodeCommand{Item},
- \CodeCommand{SubItem},
- \CodeCommand{BulletItem},
- \CodeCommand{SubBulletItem},
- etc.) do not carry across different paragraphs.
- \end{detail}
- \Gap
- \BulletItem
- Vertical Spacing Between Items
- \begin{detail}
- \SubBulletItem
- Use \CodeCommand{Gap} or \CodeCommand{GapNoBreak} to insert a small vertical space between items within the same section.
- \SubBulletItem
- Use \CodeCommand{BigGap} or \CodeCommand{BigGapNoBreak} to insert a bigger vertical space between items within the same section.
- \SubBulletItem
- The ``NoBreak'' versions prevent page breaking.
- \end{detail}
- \Gap
- \BulletItem
- Dates
- \begin{detail}
- \SubBulletItem
- Use
- \CodeCommand{DatestampYMD\{YYYY\}\{MM\}\{DD\}},
- \CodeCommand{DatestampYM\{YYYY\}\{MM\}}, and
- \CodeCommand{DatestampY\{YYYY\}}
- to specify dates.
- \SubBulletItem
- Change the date format option passed to the document class to adjust how dates are displayed throughout the document:
- MMMyyyy (``Dec~2010''),
- ddMMMyyyy (``31~Dec~2010''),
- MMMMyyyy (``December~2010''),
- ddMMMMyyyy (``31~December~2010''),
- yyyyMMdd (``2010-12-31''),
- yyyyMM (``2010-12''),
- yyyy (``2010'').
- \end{detail}
- %%%%%%%%%%%%%%%
- %% LANGUAGES %%
- %%%%%%%%%%%%%%%
- \section
- {Languages}
- {Languages}
- {PDF:Languages}
- \BulletItem
- Arabic: Native language.
- \GapNoBreak
- \BulletItem
- English: Intermediate (reading); basic (speaking, writing).
- \end{body}
- %%%%%%%%%%%
- % CV NOTE %
- %%%%%%%%%%%
- \UseNoteFont%
- \null\hfill%
- \hspace{2.0mm}\null
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement