Fixed bug for nolinks while using beamer

This commit is contained in:
lleene 2019-08-11 11:32:46 +01:00
parent d380f7bdd5
commit 15caab74de
No known key found for this signature in database
GPG Key ID: 3C14B06FB8AA5BBB
9 changed files with 68 additions and 26 deletions

View File

@ -506,11 +506,10 @@ IEEE Conference Publications
@STRING{IEEE_C_ISOCC = "{IEEE} Proc. ISOCC"}
IEEE Workshop Publications
@STRING{IEEE_W_PHYCMP = "{IEEE} Proc. PHYCMP"}
@STRING{IEEE_W_IWASI = "{IEEE} Proc. IWASI"}
Other Conference Publications
@STRING{IET_C_CDS = "{IET} Proc. CDS"}
@STRING{IET_J_LTTR = "{IET} Elec. Letters"}

View File

@ -503,7 +503,8 @@ IEEE Conference Publications
@STRING{IEEE_C_ISOCC = "{IEEE} Proceedings of the International SoC Design Conference"}
@STRING{IEEE_W_PHYCMP = "{IEEE} Proceedings of the Workshop on Physics and Computation "}
@STRING{IEEE_W_PHYCMP = "{IEEE} Proceedings of the Workshop on Physics and Computation "}
@STRING{IEEE_W_IWASI = "{IEEE} Proceedings of the International Workshop on Advances in Sensors and Interfaces"}
Other Conference Publications

View File

@ -38,5 +38,13 @@ The above setup will works with latexmk which is integrated into many other soft
### Xelatex and Custom Fonts
When using xelatex with custom fonts the font must either be installed on the local machine or preferably linked during compilation. Here style files will specify a font path that should be adjusted depending on your build setup using a relative or absolute path (e.g. Path = /home/$user_name/MyLatexTemplates/Fonts/IBM-Plex-Sans/).
### Keeping Track of Publication Statistics
Currently the resume class introduces the functionality to import a list of publications and accumulate statistics for total items, citations, and online access such that this can be concisely reported.
### Planned Changes
Several logos or design components are hard baked into the theme (beamerouterthemengni.sty). At this moment is seem that it is better to simple write a new style for a different set of icons but possibly these can be loaded by reference in future revisions. Please report any bugs or feature requests as this is intended to be a slow work in progress...
Several logos or design components are hard baked into the theme (beamerouterthemengni.sty). At this moment is seem that it is better to simple write a new style for a different set of icons but possibly these can be loaded by reference in future revisions.
It would also be nice if some kind of script parses the publication list and fetches updated statistics from IEEE/GoogleScholar when relevant.
### Feedback
Please report any bugs or feature requests as this is intended to be a regular side project.

View File

@ -14,7 +14,9 @@
\input{personal_details.cls} %% Load author details
% Beamer already loads the hyperref package automatically
\ifx\nolinks\undefined
\hypersetup{pdftitle={\maintitle},pdfauthor={\FirstName~\LastName}, pdfsubject={\mainsubject}, pdfkeywords={\mainkeywords}}
\fi
% % % % % % % % % % % % % % % % % % % % % % % % % % % %
% PACKAGES - Comment any package deemed unnecessary %
@ -162,4 +164,12 @@
\fi
}
\newcommand{\linkwebsite}{
\ifx\nolinks\undefined
\href{\Website}{\Website}
\else
\Website
\fi
}
\input{default_symbols.cls}

View File

@ -13,7 +13,7 @@
% Load last because it has the hyperref loading in it
\RequirePackage{imperial-common}
%\RequirePackage{fontawesome}
\RequirePackage{lastpage}
% Blank paper
@ -26,8 +26,13 @@
\vspace*{10.5mm}
\hspace*{-1.8mm}
\fontsize{9}{11pt}%\usefont{OT1}{cmss}{m}{n}
Imperial College of Science, Technology and Medicine}%
\Organisation}%
\cfoot{}
\rfoot{%
\vspace*{10.5mm}
\fontsize{9}{11pt}%\usefont{OT1}{cmss}{m}{n}
\FirstName~\LastName~\:\:
\thepage{}\,/\,\pageref*{LastPage}}%
}%
% % Personalised letterhead paper
\DeclareOption{headed}{%
@ -147,6 +152,9 @@
\end{tabular}
}
\newcommand{\phoneicon}{\includegraphics[width=10pt]{Style/phone.pdf}}
\newcommand{\emailicon}{\includegraphics[width=10pt]{Style/envelope.pdf}}
% Header for logo and blank paper consists of a table with two paragraph boxes.
\newcommand{\headers}[2]{
\begin{tabular}{@{}p{95mm}@{}p{90mm}}
@ -174,9 +182,9 @@
\college\\
\@address\\
\includegraphics[width=10pt]{Style/phone.pdf}\ \@telephone\ifthenelse{\equal{\@fax}{}}{}{, Fax \@fax}\\
\phoneicon\ \@telephone\ifthenelse{\equal{\@fax}{}}{}{, Fax \@fax}\\
\includegraphics[width=10pt]{Style/envelope.pdf}\ \href{mailto:\@email}{\textcolor{black}{\@email}}\\
\emailicon\ \href{mailto:\@email}{\textcolor{black}{\@email}}\\
\href{http://\@web}{\textcolor{black}{\@web}}\\
% \vspace*{4mm}\\

View File

@ -9,19 +9,22 @@
\ProcessOptions\relax
\LoadClass{article}
\pagenumbering{gobble} % Do not show page numbers
\usepackage[absolute]{textpos} % Required for positioning the Last Updated text at the top right of the page
\usepackage[UKenglish]{isodate} % Prints the Last Updated date in UK English format
\usepackage{enumitem}
\RequirePackage{fancyhdr}
\RequirePackage{lastpage}
%\pagenumbering{gobble} % Do not show page numbers
\RequirePackage[absolute]{textpos} % Required for positioning the Last Updated text at the top right of the page
\RequirePackage[UKenglish]{isodate} % Prints the Last Updated date in UK English format
\RequirePackage{enumitem}
\setlist[itemize]{leftmargin=*}
\usepackage{titlesec} % Required for customizing section/subsection/etc titles
\RequirePackage{titlesec} % Required for customizing section/subsection/etc titles
\titlespacing{\section}{0pt}{0pt}{0pt} % Removes the spacing around the main section titles
\titlespacing{\subsection}{0pt}{0pt}{0pt} % Removes the spacing around the subsections
\newcommand{\sectionspace}{\vspace{12pt}} % Defines a command to add a set amount of space after sections and subsections
\newcommand{\subsectionspace}{\vspace{6pt}}
\usepackage{fontspec} % Required for specifying custom fonts in XeLaTeX
\RequirePackage{fontspec} % Required for specifying custom fonts in XeLaTeX
\newcommand{\fontsizeheadline}{\fontsize{40pt}{36pt}}
\newcommand{\fontsizeheading}{\fontsize{16pt}{24pt}}
\newcommand{\fontsizesection}{\fontsize{12pt}{12pt}}
@ -118,12 +121,14 @@ Last Updated on \today } % Last Updated text
% FOOT NOTE COMMAND
%----------------------------------------------------------------------------------------
\newcommand{\tailsection}[2]{
\vfill
\Salutation~\FirstName~\LastName --- Curriculum Vitae \hfill Page: {#1} | {#2}
\vspace{-4mm}
\clearpage
}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\lfoot{\Salutation~\FirstName~\LastName --- \mainsubject}
\rfoot{\hfill Page: \thepage{} | \pageref*{LastPage}}
\fancyheadoffset[loh,reh]{20mm}
\newcommand{\tailsection}{}
%----------------------------------------------------------------------------------------
% SECTION TITLE STYLING AND SPACING
@ -148,7 +153,7 @@ Last Updated on \today } % Last Updated text
% COLORS
%----------------------------------------------------------------------------------------
\usepackage{xcolor} % Required for custom colors
\RequirePackage{xcolor} % Required for custom colors
%\definecolor{primary}{HTML}{2b2b2b} % The primary document color for content text
\definecolor{primary}{HTML}{131313} % The primary document color for content text
%\definecolor{headings}{HTML}{6A6A6A} % The color of the large sections

View File

@ -15,10 +15,9 @@
\web{\Website}
\nametitle{\Salutation}
\author{\FirstName~\LastName}
\postnoms{\Creditation}
\postnoms{\Creditation}
\jobtitle{\JobTitle}
%\signature{signature.png}
% % % % % % % % % % % % % % % % % % % % % % % % % % % %
% PACKAGES - Comment any package deemed unnecessary %
% % % % % % % % % % % % % % % % % % % % % % % % % % % %

View File

@ -4,7 +4,7 @@
\newcommand{\Salutation}{Mr.}
\newcommand{\FirstName}{John}
\newcommand{\LastName}{Dough}
\newcommand{\Certification}{MEng}
\newcommand{\Certification}{MCA}
\newcommand{\Email}{j.dough@baker.br}
\newcommand{\JobTitle}{Technical Oven Assistant}
\newcommand{\Group}{Main Baking staff for Bread}
@ -13,5 +13,5 @@
\newcommand{\Telephone}{+88 (0)8888 888888}
\newcommand{\LinkedIn}{john-dough}
\newcommand{\Website}{www.baker.br/oven-corner}
\newcommand{\Creditation}{Chef}
\newcommand{\Creditation}{MCA}
\makeatother

View File

@ -6,6 +6,18 @@
\input{personal_details.cls} %% Load author details
\input{default_packages.cls} %% Load standard package setup
\usepackage{ifthen}
% Publication Statistic Counters
\newcounter{PublicationCount}
\newcounter{CitationCount}
\newcounter{ViewCount}
\newcommand{\citecondition}[1]{\ifthenelse{\equal{#1}{0}}{}{\ifthenelse{\equal{#1}{1}}{#1 Citation, }{#1 Citations, }}}
\newcommand{\viewcondition}[1]{\ifthenelse{\equal{#1}{0}}{}{\ifthenelse{\equal{#1}{1}}{#1 View}{#1 Views}}}
\newcommand{\pubitem}[3]{ \item #1\,\textbf{(\citecondition{#2}\viewcondition{#3}) } \stepcounter{PublicationCount}\addtocounter{CitationCount}{#2}\addtocounter{ViewCount}{#3}}
\newcommand{\xpubitem}[3]{ \item #1 \stepcounter{PublicationCount}\addtocounter{CitationCount}{#2}\addtocounter{ViewCount}{#3}}
\usepackage[hmargin=1.25cm, vmargin=1.5cm]{geometry} % Specifies horizontal and vertical page margins
\makeatletter