Skip to content

Commit

Permalink
Added public/private flag and reference inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMartianLife committed Apr 22, 2018
1 parent c25be3e commit b7ef523
Show file tree
Hide file tree
Showing 18 changed files with 24 additions and 12 deletions.
Empty file modified README.md
100644 → 100755
Empty file.
36 changes: 24 additions & 12 deletions TMR.cls
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
% http://github.com/TheMartianLife/Resume

% Available for others' use under:
% The MIT License (https://opensource.org/licenses/MIT)
%

% Last Updated: 20/09/2017
% Last Updated: 19/09/2017
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Class identification & inheritance
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{TMR}[2017/09/20 v1 TheMartianResume Package]
\ProvidesClass{TMR}[2017/09/19 v1 TheMartianResume Package]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions\relax
\LoadClass{article}
Expand All @@ -25,6 +25,7 @@
\RequirePackage{xcolor}
\RequirePackage{enumitem}
\RequirePackage{fontawesome}
\RequirePackage{pdfpages}


% Set up document to start
Expand Down Expand Up @@ -104,18 +105,16 @@
\nametext{\@name}\\\vspace{1mm}

% Address & phone number
\ifdefined\@address{\accenttext{\faicon{map-marker} \@address}}\fi
\quad
\ifdefined\@phone{\accenttext{\faicon{mobile} \@phone}}\fi
\accenttext{\faicon{map-marker}
\@address\quad\faicon{mobile} \@phone}\\

% Social/online accounts
\smalltext{
\ifdefined\@email{\faicon{envelope} \@email}\fi
\ifdefined\@homepage{\pipe \faicon{home} \@homepage}\fi
\ifdefined\@github{\pipe \faicon{github-square} \@github}\fi
\ifdefined\@linkedin{\pipe \faicon{linkedin-square} \@linkedin}\fi
\ifdefined\@twitter{\pipe \faicon{twitter} \@twitter}\fi
\linebreak
\faicon{envelope} \@email \pipe
\faicon{home} \@homepage \pipe
\faicon{github-square} \@github \pipe
\faicon{linkedin-square} \@linkedin \pipe
\faicon{twitter-square} \@twitter \linebreak
}
\end{center}
}
Expand Down Expand Up @@ -217,3 +216,16 @@
\smalltext{#1} & \foottext{\textbf{#2}} \smalltext{#3} & \raggedleft\smalltext{\textit{#4}}\\
\end{tabular*}
}

% Redact information for public consumption
\newif\ifpublicversion
\newcommand{\public}{
\publicversiontrue
}

\newcommand{\private}[1]{
\ifpublicversion[redacted]\else#1\fi
}
\newcommand{\reference}[1]{
\ifpublicversion\else\includepdf{#1}\fi
}
Binary file modified coverletter.pdf
Binary file not shown.
Empty file modified coverletter.tex
100644 → 100755
Empty file.
Binary file modified examples/coverletter-example.pdf
Binary file not shown.
Binary file modified examples/coverletter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/resume-example.pdf
Binary file not shown.
Binary file modified examples/resume1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/resume2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resume.pdf
Binary file not shown.
Empty file modified resume.tex
100644 → 100755
Empty file.
Empty file modified sections/.DS_Store
100644 → 100755
Empty file.
Empty file modified sections/coverletter-example.pdf
100644 → 100755
Empty file.
Empty file modified sections/section-1.tex
100644 → 100755
Empty file.
Empty file modified sections/section-2.tex
100644 → 100755
Empty file.
Empty file modified sections/section-3.tex
100644 → 100755
Empty file.
Empty file modified sections/section-4.tex
100644 → 100755
Empty file.
Empty file modified sections/section-5.tex
100644 → 100755
Empty file.

0 comments on commit b7ef523

Please sign in to comment.