Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b2eccd3443
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 159 lines (152 sloc) 5.687 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
% Very simple macros to show how to use colors with pdftex

\def\cmykGreenYellow{0.15 0 0.69 0}
\def\cmykYellow{0 0 1 0}
\def\cmykGoldenrod{0 0.10 0.84 0}
\def\cmykDandelion{0 0.29 0.84 0}
\def\cmykApricot{0 0.32 0.52 0}
\def\cmykPeach{0 0.50 0.70 0}
\def\cmykMelon{0 0.46 0.50 0}
\def\cmykYellowOrange{0 0.42 1 0}
\def\cmykOrange{0 0.61 0.87 0}
\def\cmykBurntOrange{0 0.51 1 0}
\def\cmykBittersweet{0 0.75 1 0.24}
\def\cmykRedOrange{0 0.77 0.87 0}
\def\cmykMahogany{0 0.85 0.87 0.35}
\def\cmykMaroon{0 0.87 0.68 0.32}
\def\cmykBrickRed{0 0.89 0.94 0.28}
\def\cmykRed{0 1 1 0}
\def\cmykOrangeRed{0 1 0.50 0}
\def\cmykRubineRed{0 1 0.13 0}
\def\cmykWildStrawberry{0 0.96 0.39 0}
\def\cmykSalmon{0 0.53 0.38 0}
\def\cmykCarnationPink{0 0.63 0 0}
\def\cmykMagenta{0 1 0 0}
\def\cmykVioletRed{0 0.81 0 0}
\def\cmykRhodamine{0 0.82 0 0}
\def\cmykMulberry{0.34 0.90 0 0.02}
\def\cmykRedViolet{0.07 0.90 0 0.34}
\def\cmykFuchsia{0.47 0.91 0 0.08}
\def\cmykLavender{0 0.48 0 0}
\def\cmykThistle{0.12 0.59 0 0}
\def\cmykOrchid{0.32 0.64 0 0}
\def\cmykDarkOrchid{0.40 0.80 0.20 0}
\def\cmykPurple{0.45 0.86 0 0}
\def\cmykPlum{0.50 1 0 0}
\def\cmykViolet{0.79 0.88 0 0}
\def\cmykRoyalPurple{0.75 0.90 0 0}
\def\cmykBlueViolet{0.86 0.91 0 0.04}
\def\cmykPeriwinkle{0.57 0.55 0 0}
\def\cmykCadetBlue{0.62 0.57 0.23 0}
\def\cmykCornflowerBlue{0.65 0.13 0 0}
\def\cmykMidnightBlue{0.98 0.13 0 0.43}
\def\cmykNavyBlue{0.94 0.54 0 0}
\def\cmykRoyalBlue{1 0.50 0 0}
\def\cmykBlue{1 1 0 0}
\def\cmykCerulean{0.94 0.11 0 0}
\def\cmykCyan{1 0 0 0}
\def\cmykProcessBlue{0.96 0 0 0}
\def\cmykSkyBlue{0.62 0 0.12 0}
\def\cmykTurquoise{0.85 0 0.20 0}
\def\cmykTealBlue{0.86 0 0.34 0.02}
\def\cmykAquamarine{0.82 0 0.30 0}
\def\cmykBlueGreen{0.85 0 0.33 0}
\def\cmykEmerald{1 0 0.50 0}
\def\cmykJungleGreen{0.99 0 0.52 0}
\def\cmykSeaGreen{0.69 0 0.50 0}
\def\cmykGreen{1 0 1 0}
\def\cmykForestGreen{0.91 0 0.88 0.12}
\def\cmykPineGreen{0.92 0 0.59 0.25}
\def\cmykLimeGreen{0.50 0 1 0}
\def\cmykYellowGreen{0.44 0 0.74 0}
\def\cmykSpringGreen{0.26 0 0.76 0}
\def\cmykOliveGreen{0.64 0 0.95 0.40}
\def\cmykRawSienna{0 0.72 1 0.45}
\def\cmykSepia{0 0.83 1 0.70}
\def\cmykBrown{0 0.81 1 0.60}
\def\cmykTan{0.14 0.42 0.56 0}
\def\cmykGray{0 0 0 0.50}
\def\cmykBlack{0 0 0 1}
\def\cmykWhite{0 0 0 0}

\def\GreenYellow{\pdfsetcolor{\cmykGreenYellow}}
\def\Yellow{\pdfsetcolor{\cmykYellow}}
\def\Goldenrod{\pdfsetcolor{\cmykGoldenrod}}
\def\Dandelion{\pdfsetcolor{\cmykDandelion}}
\def\Apricot{\pdfsetcolor{\cmykApricot}}
\def\Peach{\pdfsetcolor{\cmykPeach}}
\def\Melon{\pdfsetcolor{\cmykMelon}}
\def\YellowOrange{\pdfsetcolor{\cmykYellowOrange}}
\def\Orange{\pdfsetcolor{\cmykOrange}}
\def\BurntOrange{\pdfsetcolor{\cmykBurntOrange}}
\def\Bittersweet{\pdfsetcolor{\cmykBittersweet}}
\def\RedOrange{\pdfsetcolor{\cmykRedOrange}}
\def\Mahogany{\pdfsetcolor{\cmykMahogany}}
\def\Maroon{\pdfsetcolor{\cmykMaroon}}
\def\BrickRed{\pdfsetcolor{\cmykBrickRed}}
\def\Red{\pdfsetcolor{\cmykRed}}
\def\OrangeRed{\pdfsetcolor{\cmykOrangeRed}}
\def\RubineRed{\pdfsetcolor{\cmykRubineRed}}
\def\WildStrawberry{\pdfsetcolor{\cmykWildStrawberry}}
\def\Salmon{\pdfsetcolor{\cmykSalmon}}
\def\CarnationPink{\pdfsetcolor{\cmykCarnationPink}}
\def\Magenta{\pdfsetcolor{\cmykMagenta}}
\def\VioletRed{\pdfsetcolor{\cmykVioletRed}}
\def\Rhodamine{\pdfsetcolor{\cmykRhodamine}}
\def\Mulberry{\pdfsetcolor{\cmykMulberry}}
\def\RedViolet{\pdfsetcolor{\cmykRedViolet}}
\def\Fuchsia{\pdfsetcolor{\cmykFuchsia}}
\def\Lavender{\pdfsetcolor{\cmykLavender}}
\def\Thistle{\pdfsetcolor{\cmykThistle}}
\def\Orchid{\pdfsetcolor{\cmykOrchid}}
\def\DarkOrchid{\pdfsetcolor{\cmykDarkOrchid}}
\def\Purple{\pdfsetcolor{\cmykPurple}}
\def\Plum{\pdfsetcolor{\cmykPlum}}
\def\Violet{\pdfsetcolor{\cmykViolet}}
\def\RoyalPurple{\pdfsetcolor{\cmykRoyalPurple}}
\def\BlueViolet{\pdfsetcolor{\cmykBlueViolet}}
\def\Periwinkle{\pdfsetcolor{\cmykPeriwinkle}}
\def\CadetBlue{\pdfsetcolor{\cmykCadetBlue}}
\def\CornflowerBlue{\pdfsetcolor{\cmykCornflowerBlue}}
\def\MidnightBlue{\pdfsetcolor{\cmykMidnightBlue}}
\def\NavyBlue{\pdfsetcolor{\cmykNavyBlue}}
\def\RoyalBlue{\pdfsetcolor{\cmykRoyalBlue}}
\def\Blue{\pdfsetcolor{\cmykBlue}}
\def\Cerulean{\pdfsetcolor{\cmykCerulean}}
\def\Cyan{\pdfsetcolor{\cmykCyan}}
\def\ProcessBlue{\pdfsetcolor{\cmykProcessBlue}}
\def\SkyBlue{\pdfsetcolor{\cmykSkyBlue}}
\def\Turquoise{\pdfsetcolor{\cmykTurquoise}}
\def\TealBlue{\pdfsetcolor{\cmykTealBlue}}
\def\Aquamarine{\pdfsetcolor{\cmykAquamarine}}
\def\BlueGreen{\pdfsetcolor{\cmykBlueGreen}}
\def\Emerald{\pdfsetcolor{\cmykEmerald}}
\def\JungleGreen{\pdfsetcolor{\cmykJungleGreen}}
\def\SeaGreen{\pdfsetcolor{\cmykSeaGreen}}
\def\Green{\pdfsetcolor{\cmykGreen}}
\def\ForestGreen{\pdfsetcolor{\cmykForestGreen}}
\def\PineGreen{\pdfsetcolor{\cmykPineGreen}}
\def\LimeGreen{\pdfsetcolor{\cmykLimeGreen}}
\def\YellowGreen{\pdfsetcolor{\cmykYellowGreen}}
\def\SpringGreen{\pdfsetcolor{\cmykSpringGreen}}
\def\OliveGreen{\pdfsetcolor{\cmykOliveGreen}}
\def\RawSienna{\pdfsetcolor{\cmykRawSienna}}
\def\Sepia{\pdfsetcolor{\cmykSepia}}
\def\Brown{\pdfsetcolor{\cmykBrown}}
\def\Tan{\pdfsetcolor{\cmykTan}}
\def\Gray{\pdfsetcolor{\cmykGray}}
\def\Black{\pdfsetcolor{\cmykBlack}}
\def\White{\pdfsetcolor{\cmykWhite}}

\def\pdfsetcolor#1{\pdfliteral{#1 k}}
\def\setcolor#1{\mark{#1}\pdfsetcolor{#1}}

\pdfoutput=1
\def\maincolor{\cmykBlack}
\pdfsetcolor{\maincolor}

\def\makefootline{
    \baselineskip24pt
    \line{\pdfsetcolor{\maincolor}\the\footline}}

\def\makeheadline{%
    \edef\M{\topmark}
    \ifx\M\empty\let\M=\maincolor\fi
    \vbox to 0pt{\vskip-22.5pt
        \line{\vbox to8.5pt{}%
        \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\M}}\vss}%
    \nointerlineskip}
Something went wrong with that request. Please try again.