📄 jcurrvita.sty
字号:
%%%% This is file `currvita.sty',%% generated with the docstrip utility.%%%% The original source files were:%%%% currvita.dtx (with options: `package')%% %% LaTeX package for a curriculum vitae%% %% Copyright (C) 1999 Axel Reichert%% See the files README and COPYING.%% %% \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}[1996/12/01]%\ProvidesPackage{currvita}[% 1999/09/13 v0.9i Typesetting a Curriculum Vitae%]%\RequirePackage{ifthen}%\newcommand*{\@cvplace}{\@empty}%\newsavebox{\@cvlistheading}%\newlength{\cvlabelsep}%\newlength{\cvlabelskip}%\newlength{\cvlabelwidth}%\newboolean{cv@many@bibs}%\newboolean{cv@no@date}%\newboolean{cv@open@bib}%\DeclareOption{LabelsAligned}{% \setlength{\cvlabelskip}{0ex}%}%\DeclareOption{TextAligned}{% \setlength{\cvlabelskip}{% 1.5\baselineskip plus 3pt minus 3pt% }%}%\DeclareOption{openbib}{% \@ifundefined{bibindent}{% \newlength{\bibindent}% }{}% \setlength{\bibindent}{1.5em}% \setboolean{cv@open@bib}{true}%}%\DeclareOption{ManyBibs}{% \setboolean{cv@many@bibs}{true}%}%\DeclareOption{NoDate}{% \setboolean{cv@no@date}{true}%}%\ExecuteOptions{TextAligned}%\ProcessOptions*%\AtBeginDocument{% \setlength{\cvlabelsep}{1em}% \settowidth{\cvlabelwidth}{% \cvlabelfont 88/8888--88/8888% }%}%%====================\setcounter{secnumdepth}{0}% use this to print your name at the top of the page\def\name#1{{\Large\bfseries\centering#1\\[\baselineskip]}}% one address\def\address#1{{\centering #1\par}}% two addresses (say, home and work). They get printed side by side\def\addresses#1#2{\hbox to \hsize{\@tablebox{#1}\hfil\@tablebox{#2}}}\def\@tablebox#1{\begin{tabular}[t]{@{}l@{}}#1\end{tabular}}\newbox\@title%==========================\DeclareRobustCommand*{\cvheadingfont}{\bfseries\Large}%\DeclareRobustCommand*{\cvbibname}{Publications}%\DeclareRobustCommand*{\cvplace}[1]{% \gdef\@cvplace{#1}%}%\providecommand*{\date}[1]{\gdef\@date{#1}}%\newenvironment{cv}[1]{% \ifthenelse{\equal{#1}{\@empty}}{% }{% {% \noindent\cvheadingfont#1\par\nopagebreak }% }% \ifthenelse{\boolean{cv@many@bibs}}{% \DeclareRobustCommand*{\@biblabel}[1]{\@gobble{##1}}% }{}% \providecommand{\newblock}{% \hspace{0.11em plus 0.33em minus 0.07em}% }% \long\def\thebibliography##1{% \ifthenelse{\boolean{cv@many@bibs}}{% }{% {% \noindent\cvlistheadingfont\cvbibname \par\nopagebreak }% }% \ifthenelse{\boolean{cv@open@bib}}{% \renewcommand{\newblock}{\par}% }{}% \begin{list}{\@biblabel{\@arabic\c@enumiv}}{% \setlength{\parsep}{0ex}% \setlength{\itemsep}{% 0.5\baselineskip plus 1pt minus 1pt% }% \setlength{\topsep}{0ex}% \setlength{\partopsep}{0ex}% \ifthenelse{\boolean{cv@many@bibs}}{% \setlength{\labelsep}{0em}% }{}% \settowidth{\labelwidth}{\@biblabel{##1}}% \setlength{\leftmargin}{\labelwidth}% \addtolength{\leftmargin}{\labelsep}% \ifthenelse{\boolean{cv@open@bib}}{% \addtolength{\leftmargin}{\bibindent}% \setlength{\itemindent}{-\bibindent}% \setlength{\listparindent}{\itemindent}% }{}% \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand*{\theenumiv}{\@arabic\c@enumiv}% }% \sloppy \clubpenalty4000% \@clubpenalty\clubpenalty \widowpenalty4000% \sfcode`\.=\@m }% \long\def\endthebibliography{% \renewcommand*{\@noitemerr}{% \@latex@warning{Empty `thebibliography' environment}% }% \end{list}% }%}{% \vspace{1.333\baselineskip plus 3pt minus 3pt}% \ifthenelse{\equal{\@cvplace}{\@empty}}{% }{% \noindent \@cvplace \ifthenelse{\boolean{cv@no@date}}{}{% ,~% }% }% \ifthenelse{\boolean{cv@no@date}}{}{% \@date }% \par\noindent\ignorespacesafterend}%\DeclareRobustCommand*{\cvlistheadingfont}{% \bfseries\large}%\DeclareRobustCommand*{\cvlabelfont}{% \normalsize}%\newenvironment{cvlist}[1]{%\vspace{-0.5cm}%=======reduce space\centerline{\rule{1.0\textwidth}{0.8pt}}%==========add a rule===== \sbox{\@cvlistheading}{\cvlistheadingfont#1}% \begin{list}{}{% \renewcommand*{\makelabel}[1]{% \settowidth{\@tempdima}{\usebox{\@cvlistheading}}% \ifthenelse{\lengthtest{\@tempdima > 0pt}}{% \settowidth{\@tempdimb}{\cvlabelfont##1}% \ifthenelse{% \lengthtest{\@tempdima < \cvlabelwidth} \and \lengthtest{\@tempdimb = 0pt}}{% \parbox[b]{\cvlabelwidth}{% \vspace{\cvlabelskip}% \makebox[\cvlabelwidth][l]{% \box\@cvlistheading }% }% }{% \parbox[b]{0pt}{% \makebox[0pt][l]{\box\@cvlistheading}% \\*[0.5\baselineskip plus 1pt minus 1pt]% }% }% }{}% \cvlabelfont##1\hfill }% \setlength{\itemsep}{0ex}% \setlength{\parsep}{% 0.5\baselineskip plus 1pt minus 1pt% }% \setlength{\topsep}{% 1\baselineskip plus 2pt minus 2pt% }% \setlength{\partopsep}{0ex}% \setlength{\labelsep}{\cvlabelsep}% \setlength{\labelwidth}{\cvlabelwidth}% \setlength{\leftmargin}{\cvlabelwidth}% \addtolength{\leftmargin}{\cvlabelsep}% }%}{% \end{list}%}%%=================================% like itemize but bullets are at the left margin\newenvironment{items}{\begin{list}{$\bullet$} {\setlength\labelwidth{.5em}\setlength\leftmargin{1em} \def\makelabel##1{##1\hfill}}}{\end{list}}% Use the \employer and \location commands to print the names and% cities of your employers. \employer always starts a new paragraph,% and should be followed by \location.%% \employer* is like \employer but is used for additional information% about the employer. It does NOT start a new paragraph, must% NOT be followed by \location, and always forces a new line after itself.\def\employer{\@ifstar{\@semployer}{\@employer}}\def\@employer#1{\par{\bf #1}}\def\@semployer#1{{\sc #1}\\}% The location is always flush right. It is moved to the next% line if there is not room left on this one. % See the TeXbook Chapter 14.\def\location#1{{\unskip\nobreak\hfill\penalty50\hskip2em \hbox{}\nobreak\hfill \hbox{\it #1}\finalhyphendemerits=0 \\}}% This prints the date flush left.% The major shortcoming of this file:% There needs to be an option to print the date in the left margin,% because many people like to do it that way.\def\dates#1{{\sffamily #1\\[2pt]}}%============================================%============================================\topmargin -0.3in\headheight 0pt\headsep 0pt\textheight 10.2in\pagestyle{empty}\parindent 0pt%\parskip 0.2\baselineskip\oddsidemargin -0.4in\evensidemargin -0.4in\textwidth 7.0in%============================================\endinput%%%% End of file `currvita.sty'.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -