%% %% This is file `cvthemebidiclassic.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% bidi.dtx (with options: `table,cvthemebidiclassic.sty') %% %% __________________________________________________ %% Vafa Khalighi %% %% Copyright (c) 2007--2022 Vafa Khalighi %% Copyright (c) 2018--2020 bidi-tex GitHub Organization %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of %% this license is at: http://www.latex-project.org/lppl.txt %% %% This work is “author-maintained” (as per LPPL maintenance status) %% by Vafa Khalighi. %% %% %% \CheckSum{52449} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{cvthemebidiclassic} \DeclareOption{blue}{} \newif\if@colourorange\@colourorangefalse \DeclareOption{orange}{\@colourorangetrue} \newif\if@colourgreen\@colourgreenfalse \DeclareOption{green}{\@colourgreentrue} \newif\if@colourred\@colourredfalse \DeclareOption{red}{\@colourredtrue} \newif\if@colourgrey\@colourgreyfalse \DeclareOption{grey}{\@colourgreytrue} \DeclareOption*{ \PackageWarning{cvthemebidiclassic}{Unknown option ‘\CurrentOption’}} \ExecuteOptions{colour} \ProcessOptions\relax \renewcommand*{\listitemsymbol}{\textbullet} \firstnamecolour{} \familynamecolour{} \titlecolour{808080} \quotecolour{696969} \addresscolour{696969} \definecolor{sectionrectanglecolour}{rgb}{0.25,0.50,0.75} \definecolor{sectionrectanglecolor}{rgb}{0.25,0.5,0.75} \sectiontitlecolour{1E90FF} \subsectioncolour{4682B4} \if@colourorange \addresscolour{FF8C00} \definecolor{sectionrectanglecolour}{rgb}{1.00,0.65,0.20} \definecolor{sectionrectanglecolor}{rgb}{1,0.65,0.20} \sectiontitlecolour{FF8C00} \subsectioncolour{FF8C00}\fi \if@colourgreen \addresscolour{008000} \definecolor{sectionrectanglecolour}{rgb}{0.55,0.85,0.35} \definecolor{sectionrectanglecolor}{rgb}{0.55,0.85,0.35} \sectiontitlecolour{008000} \subsectioncolour{008000}\fi \if@colourred \addresscolour{FF0000} \definecolor{sectionrectanglecolour}{rgb}{1.00,0.30,0.30} \definecolor{sectionrectanglecolor}{rgb}{1.00,0.30,0.30} \sectiontitlecolour{FF0000} \subsectioncolour{FF0000}\fi \if@colourgrey \addresscolour{808080} \definecolor{sectionrectanglecolour}{rgb}{0.75,0.75,0.75} \definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75} \sectiontitlecolour{808080} \subsectioncolour{808080}\fi \renewcommand*{\ttdefault}{pcr} \renewcommand*{\firstnamefont}{\fontsize{34}{36}\mdseries\upshape} \renewcommand*{\titlefont}{\LARGE\mdseries\slshape} \renewcommand*{\addressfont}{\normalsize\mdseries\slshape} \renewcommand*{\familynamefont}{\firstnamefont} \renewcommand*{\quotefont}{\large\slshape} \renewcommand*{\sectionfont}{\Large\mdseries\upshape} \renewcommand*{\subsectionfont}{\large\mdseries\upshape} \newlength{\maketitlenamemaxwidth} \setlength{\maketitlenamemaxwidth}{.525\textwidth} \newlength{\maketitlenamefullwidth} \settowidth{\maketitlenamefullwidth}{\firstnamestyle{\@firstname~}\familynamestyle{\@familyname}} \newlength{\maketitlenamewidth} \ifnum\maketitlenamemaxwidth<\maketitlenamefullwidth\setlength{\maketitlenamewidth}{\maketitlenamemaxwidth}\else\setlength{\maketitlenamewidth}{\maketitlenamefullwidth}\fi \newlength{\maketitlepicturewidth} \setlength{\maketitlepicturewidth}{\@photowidth} \newlength{\maketitledetailswidth} \renewcommand*{\recomputethemelengths}{% \setlength{\maketitledetailswidth}{\textwidth}% \addtolength{\maketitledetailswidth}{-\maketitlenamewidth}% \addtolength{\maketitledetailswidth}{-\separatorcolumnwidth}% \addtolength{\maketitledetailswidth}{-\maketitlepicturewidth}} \recomputethemelengths \newif\if@firstdetailselement\@firstdetailselementtrue \newcommand*{\maketitledetailsnewline}{ \if@firstdetailselement% \@firstdetailselementfalse% \else% \\[.2em]\fi} \renewcommand*{\maketitle}{% % name and title \begin{minipage}[b]{\maketitlenamewidth}% \firstnamestyle{\@firstname~}\familynamestyle{\@familyname}% \ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\titlestyle{\@title}}% \end{minipage}% % optional data \begin{minipage}[b]{\maketitledetailswidth}% \bidi@raggedleft\addressfont\@addresscolour% \ifthenelse{\isundefined{\@address}}{}{% \maketitledetailsnewline% \addresssymbol~\\\@address}% \ifthenelse{\isundefined{\@mobile}}{}{\maketitledetailsnewline\mobilesymbol~\@mobile}% \ifthenelse{\isundefined{\@phone}}{}{\maketitledetailsnewline\phonesymbol~\@phone}% \ifthenelse{\isundefined{\@fax}}{}{\maketitledetailsnewline\faxsymbol~\@fax}% \ifthenelse{\isundefined{\@email}}{}{\maketitledetailsnewline\emailsymbol~\emaillink{\@email}}% \ifthenelse{\isundefined{\@extrainfo}}{}{\maketitledetailsnewline\@extrainfo}% \end{minipage}% % optional photo \ifthenelse{\isundefined{\@photo}}% {}% {\hspace*{\separatorcolumnwidth}\color{firstnamecolor}\framebox{\includegraphics[width=\maketitlepicturewidth]{\@photo}}}\\[3em]% % optional quote \ifthenelse{\isundefined{\@quote}}% {}% {\centering{\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}}\\[2.5em]}% } \endinput %% %% End of file `cvthemebidiclassic.sty'.