%% %% This is file `cvthemebidicasual.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% bidi.dtx (with options: `cvthemebidicasual.sty') %% %% ______________________________________ %% Copyright © 2009–2010 Vafa Khalighi %% %% License information appended. %% %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{cvthemebidicasual} \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{cvthemebidicasual}{Unknown option ‘\CurrentOption’}} \ExecuteOptions{colour} \ProcessOptions\relax \renewcommand*{\listitemsymbol}{\textbullet} \definecolor{firstnamecolor}{rgb}{0.65,0.65,0.65} \familynamecolour{808080} \firstnamecolour{A9A9A9} \quotecolour{696969} \addresscolour{696969} \definecolor{sectionrectanglecolor}{rgb}{0.25,0.50,0.75} \sectiontitlecolour{1E90FF} \subsectioncolour{4682B4} \definecolor{rulecolour}{gray}{0.6} \definecolor{footersymbolcolour}{rgb}{0.25,0.50,0.75} \definecolor{footersymbolcolor}{rgb}{0.25,0.50,0.75} \if@colourorange \definecolor{sectionrectanglecolor}{rgb}{1.00,0.65,0.20} \definecolor{sectionrectanglecolor}{rgb}{1.00,0.65,0.20} \sectiontitlecolour{FF8C00} \subsectioncolour{FF8C00} \definecolor{footersymbolcolour}{rgb}{0.95,0.55,0.15} \definecolor{footersymbolcolor}{rgb}{0.95,0.55,0.15}\fi \if@colourgreen \definecolor{sectionrectanglecolor}{rgb}{0.55,0.85,0.35} \definecolor{sectionrectanglecolour}{rgb}{0.55,0.85,0.35} \sectiontitlecolour{008000} \subsectioncolour{008000} \definecolor{footersymbolcolour}{rgb}{0.30,0.65,0.15} \definecolor{footersymbolcolor}{rgb}{0.30,0.65,0.15}\fi \if@colourred \definecolor{sectionrectanglecolor}{rgb}{1.00,0.30,0.30} \definecolor{sectionrectanglecolour}{rgb}{1.00,0.30,0.30} \sectiontitlecolour{FF0000} \subsectioncolour{FF0000} \definecolor{footersymbolcolour}{rgb}{0.95,0.20,0.20} \definecolor{footersymbolcolor}{rgb}{0.95,0.20,0.20}\fi \if@colourgrey \definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75} \definecolor{sectionrectanglecolour}{rgb}{0.75,0.75,0.75} \sectiontitlecolour{808080} \subsectioncolour{808080} \definecolor{footersymbolcolour}{rgb}{0.35,0.35,0.35} \definecolor{footersymbolcolor}{rgb}{0.35,0.35,0.35}\fi \renewcommand*{\ttdefault}{pcr} \renewcommand*{\firstnamefont}{\fontsize{38}{40}\mdseries\upshape} \renewcommand*{\familynamefont}{\firstnamefont} \renewcommand*{\addressfont}{\normalsize\mdseries\slshape} \renewcommand*{\quotefont}{\large\slshape} \renewcommand*{\sectionfont}{\Large\mdseries\upshape} \renewcommand*{\subsectionfont}{\large\mdseries\upshape} \renewcommand*{\maketitle}{% {\beginL% \ifthenelse{\isundefined{\@photo}}% {}% {{\color{firstnamecolor}\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}% \hfill% \raggedleft{\if@RTL\beginR\fi\firstnamestyle{\@firstname}~\familynamestyle{\@familyname}\if@RTL\endR\fi}\endL\\[-.35em]}% {\color{firstnamecolor}\rule{\textwidth}{.25ex}\\[2.5em]}% \ifthenelse{\isundefined{\@quote}}% {}% {\centering{\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}}\\[2.5em]}% }% \newif\if@firstfooterelement\@firstfooterelementtrue \providecommand*{\footersymbol}{} \renewcommand*{\footersymbol}{% \if@firstfooterelement% \else% { ~~\color{footersymbolcolor}\textbullet~~~}\fi} \providecommand*{\makefooter}{} \renewcommand*{\makefooter}{% \fancypagestyle{plain}{% \fancyfoot[c]{% \parbox{0.8\textwidth}{% \centering% \addressfont\@addresscolour% \ifthenelse{\isundefined{\@address}}{}{% \if@RTLmain\beginR\fi\addresssymbol~\@address\if@RTLmain\endR\fi\\% \@firstfooterelementfalse}% \if@RTLmain\beginR\fi\ifthenelse{\isundefined{\@mobile}}{}{\if@RTLmain\beginR\fi\mobilesymbol~\@mobile\if@RTLmain\endR\fi\@firstfooterelementfalse}% \ifthenelse{\isundefined{\@phone}}{}{\footersymbol\if@RTLmain\beginR\fi\phonesymbol~\@phone\if@RTLmain\endR\fi\@firstfooterelementfalse}% \ifthenelse{\isundefined{\@fax}}{}{\footersymbol\if@RTLmain\beginR\fi\faxsymbol~\@fax\if@RTLmain\endR\fi\@firstfooterelementfalse}% \ifthenelse{\isundefined{\@email}}{}{\footersymbol\if@RTLmain\beginR\fi\emailsymbol~\emaillink{\@email}\if@RTLmain\endR\fi\@firstfooterelementfalse}% \ifthenelse{\isundefined{\@extrainfo}}{}{\if@RTLmain\beginR\fi\footersymbol\@extrainfo\if@RTLmain\endR\fi\@firstfooterelementfalse}\if@RTLmain\endR\fi}}% }% \pagestyle{plain}} \AtBeginDocument{\makefooter} %% %% Copyright © 2009–2010 Vafa Khalighi %% %% 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. %% %% In addition to the terms of LPPL any distributed version %% (unchanged or modified) of bidi has to keep the statement %% about the moral obligation for using bidi. In case of major %% changes where this would not be appropriate the author of the %% changed version should contact the copyright holder. %% %% %% %% Moral obligation for using bidi: %% ____________________________________ %% %% Users of bidi who wish to include or use bidi or a modified %% version in a proprietary and commercially market product are asked %% under certain conditions (see below) for the payment of a license %% fee. The size of this fee is to be determined, in each instance, %% by the commercial user, depending on his/her judgment of the value of %% bidi for his/her product. %% %% %% The conditions for this are as follows: %% %% The producer of a proprietary and commercially market product %% that involves typesetting using bidi is asked to determine %% the value of a license fee for using bidi if %% %% - the product is a document and the producer has decided to %% include bidi to typeset (parts of) the document or has %% directed the author of the document to include bidi (for %% example, by providing a class file to be used by the author) %% %% - the product is a LaTeX class or package that includes bidi %% %% %% There is no moral obligation in case %% %% - the product is a document but producer has not directed %% the author to include bidi (in that case the moral obligation %% lies with the author of the document) %% %% - the product does not involve typesetting, e.g., consists, for %% example, of distributing bidi and its documentation. %% %% - the product is not proprietary, i.e., is made available as free %% software itself (which doesn't prohibit its commercial marketing) %% %% - bidi is used for non-commercial purposes %% %% %% Determinating a license fee might result in a license fee of zero %% (i.e., no payment) in case a producer has determined that the use %% of bidi has no enhancing effect on the product. This is a %% plausible scenario, i.e., in the above two cases the producer is %% only asked to evaluate the value of bidi for the product %% not for the payment of a license fee per se (which might or might %% not follow from this evaluation). %% %% The license fee, if any, can be payed to the author of %% the program who can be contacted at %% %% vafakhlgh@gmail.com %% %% %% %% %% End of file `cvthemebidicasual.sty'.