From 995d3423dbc7e563b2d0591b421f33824620dde7 Mon Sep 17 00:00:00 2001 From: Ralph Hightower <32745442+RalphHightower@users.noreply.github.com> Date: Sun, 5 Jan 2025 21:59:22 -0500 Subject: [PATCH] [setup](build): styles/ Signed-off-by: Ralph Hightower <32745442+RalphHightower@users.noreply.github.com> --- chmduquesne.css | 95 ++++++++++++++++++++++++++++++++++++++++ chmduquesne.tex | 113 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 208 insertions(+) create mode 100644 chmduquesne.css create mode 100644 chmduquesne.tex diff --git a/chmduquesne.css b/chmduquesne.css new file mode 100644 index 00000000..4b2e89b0 --- /dev/null +++ b/chmduquesne.css @@ -0,0 +1,95 @@ + diff --git a/chmduquesne.tex b/chmduquesne.tex new file mode 100644 index 00000000..5f032ce5 --- /dev/null +++ b/chmduquesne.tex @@ -0,0 +1,113 @@ +% Copyright 2013 Christophe-Marie Duquesne +% Copyright 2014 Mark Szepieniec +% +% ConText style for making a resume with pandoc. Inspired by moderncv. +% +% This CSS document is delivered to you under the CC BY-SA 3.0 License. +% https://creativecommons.org/licenses/by-sa/3.0/deed.en_US + +\startmode[*mkii] + \enableregime[utf-8] + \setupcolors[state=start] +\stopmode +$if(mainlang)$ +\mainlanguage[$mainlang$] +$endif$ + +\setupcolor[hex] +\definecolor[titlegrey][h=757575] +\definecolor[sectioncolor][h=397249] +\definecolor[rulecolor][h=9cb770] + +% Enable hyperlinks +\setupinteraction[state=start, color=sectioncolor] + +\setuppapersize [$if(papersize)$$papersize$$else$letter$endif$][$if(papersize)$$papersize$$else$letter$endif$] +\setuplayout [width=middle, height=middle, + backspace=20mm, cutspace=0mm, + topspace=10mm, bottomspace=20mm, + header=0mm, footer=0mm] + +%\setuppagenumbering[location={footer,center}] + +\setupbodyfont[11pt, helvetica] + +\setupwhitespace[medium] + +\setupblackrules[width=31mm, color=rulecolor] + +\setuphead[chapter] [style=\tfd] +\setuphead[section] [style=\tfd\bf, color=titlegrey, align=middle] +\setuphead[subsection] [style=\tfb\bf, color=sectioncolor, align=right, + before={\leavevmode\blackrule\hspace}] +\setuphead[subsubsection][style=\bf] + +$if(number-sections)$ +$else$ +\setuphead[chapter, section, subsection, subsubsection][number=no] +$endif$ + +%\setupdescriptions[width=10mm] + +\definedescription + [description] + [headstyle=bold, style=normal, + location=hanging, width=18mm, distance=14mm, margin=0cm] + +\setupitemize[autointro, packed] % prevent orphan list intro +\setupitemize[indentnext=no] + +\defineitemgroup[enumerate] +\setupenumerate[each][fit][itemalign=left,distance=.5em,style={\feature[+][default:tnum]}] + +\setupfloat[figure][default={here,nonumber}] +\setupfloat[table][default={here,nonumber}] + +\setuptables[textwidth=max, HL=none] +\setupxtable[frame=off,option={stretch,width}] + +\setupthinrules[width=15em] % width of horizontal rules + +\setupdelimitedtext + [blockquote] + [before={\setupalign[middle]}, + indentnext=no, + ] + +$if(toc)$ +\setupcombinedlist[content][list={$placelist$}] + +$endif$ +$for(header-includes)$ +$header-includes$ +$endfor$ + +\starttext +$if(title)$ +\startalignment[center] + \blank[2*big] + {\tfd $title$} +$if(author)$ + \blank[3*medium] + {\tfa $for(author)$$author$$sep$\crlf $endfor$} +$endif$ +$if(date)$ + \blank[2*medium] + {\tfa $date$} +$endif$ + \blank[3*medium] +\stopalignment +$endif$ +$for(include-before)$ +$include-before$ +$endfor$ +$if(toc)$ +\placecontent +$endif$ + +$body$ + +$for(include-after)$ +$include-after$ +$endfor$ +\stoptext