|
353 | 353 | % Mess with sections
|
354 | 354 | \usepackage{titlesec}
|
355 | 355 | \usepackage{sectsty}
|
356 |
| -\usepackage{sectsty} |
357 | 356 | % \sectionfont{\rmfamily\mdseries\large\bf\underline}
|
358 | 357 | \sectionfont{\normalfont\sffamily\large\bfseries\sectionrule{0pt}{0pt}{-4pt}{1pt}}
|
359 | 358 | \subsectionfont{\rmfamily\mdseries\normalsize\scshape}
|
|
370 | 369 | \usetikzlibrary{calc}
|
371 | 370 | $endif$
|
372 | 371 |
|
| 372 | + |
| 373 | +% Make AP style (kinda) dates for the updated/today field |
| 374 | + |
| 375 | +\usepackage{datetime} |
| 376 | +\newdateformat{apstylekinda}{% |
| 377 | + \shortmonthname[\THEMONTH]. \THEDAY, \THEYEAR} |
| 378 | + |
| 379 | +% Fancyhdr, as I tend to do with these personal documents. |
| 380 | +\usepackage{fancyhdr,lastpage} |
| 381 | +\pagestyle{fancy} |
| 382 | +\renewcommand{\headrulewidth}{0.0pt} |
| 383 | +\renewcommand{\footrulewidth}{0.0pt} |
| 384 | +\lhead{} |
| 385 | +\chead{} |
| 386 | +\rhead{} |
| 387 | +\lfoot{ |
| 388 | +\cfoot{\scriptsize $author-meta$ - $title$ - \emph{Updated:} \apstylekinda\today }} |
| 389 | +\rfoot{\scriptsize \thepage/{\hypersetup{linkcolor=black}\pageref{LastPage}}} |
| 390 | + |
| 391 | + |
| 392 | + |
| 393 | +% Always load hyperref last. |
| 394 | +\usepackage{hyperref} |
| 395 | +$if(colorlinks)$ |
| 396 | +\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref |
| 397 | +$endif$ |
| 398 | + |
| 399 | +\hypersetup{unicode=true, |
| 400 | +$if(title-meta)$ |
| 401 | + pdftitle={$if(author-meta)$$author-meta$ $endif$ (R\'{e}sum\'{e})}, |
| 402 | +$endif$ |
| 403 | +$if(author-meta)$ |
| 404 | + pdfauthor={$author-meta$}, |
| 405 | +$endif$ |
| 406 | +$if(keywords)$ |
| 407 | + pdfkeywords={$for(keywords)$$keywords$$sep$; $endfor$}, |
| 408 | +$endif$ |
| 409 | + colorlinks=true, |
| 410 | + linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$, |
| 411 | + citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$, |
| 412 | + urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$, |
| 413 | + breaklinks=true, bookmarks=true} |
| 414 | + |
373 | 415 | \begin{document}
|
374 | 416 | % shift=(current page.north east)
|
375 | 417 | %\begin{wrapfigure}{r}{\textwidth}
|
376 | 418 |
|
377 | 419 | $if(includephoto)$
|
378 | 420 | \begin{tikzpicture}[remember picture,overlay, shift={($if(shift)$$shift$$else$7in,-0.25in$endif$)}]
|
379 |
| - \clip (0,0) circle ($if(photobigness)$$photobigness$$else$1.5cm$endif$) node {\includegraphics[width=$if(photozoom)$$photozoom$$else$.2\textwidth$endif$]{rick-martel-crop}}; |
| 421 | + \clip (0,0) circle ($if(photobigness)$$photobigness$$else$1.5cm$endif$) node {\includegraphics[width=$if(photozoom)$$photozoom$$else$.2\textwidth$endif$]{$myphoto$}}; |
380 | 422 | \end{tikzpicture}
|
381 | 423 |
|
382 | 424 | $endif$ % includephoto
|
|
0 commit comments