| 1 |
README, euro-ce.doc --- version 3.0b (6 March 2012) |
| 2 |
(c) 1998-2012 Harold W. de Wijn <[email protected]> All rights reserved |
| 3 |
|
| 4 |
ABOUT THE AUTHOR: www.staff.science.uu.nl/~wijn0104 |
| 5 |
|
| 6 |
IN CASE YOU APPRECIATE THE euro-ce PACKAGE, OR HAVE ANY COMMENTS OR |
| 7 |
SUGGESTIONS FOR IMPROVEMENTS, PLEASE CONTACT THE AUTHOR BY E-MAIL |
| 8 |
|
| 9 |
|
| 10 |
EURO CURRENCY SYMBOL and CE MARK -- DOCUMENTATION |
| 11 |
|
| 12 |
*** SUMMARY *** |
| 13 |
|
| 14 |
(1) METAFONT source of the official euro currency symbol and scores of |
| 15 |
variants, including italic, slanted, boldface, boldface italic |
| 16 |
boldface slanted, condensed, and outline. Varying single parameters |
| 17 |
for compression, thickness, and slanting allows the user to add new |
| 18 |
variants. |
| 19 |
|
| 20 |
(2) METAFONT source of the CE mark and several variants. |
| 21 |
|
| 22 |
|
| 23 |
*** FILES *** |
| 24 |
|
| 25 |
euro-ce.doc documentation in text format (this file) |
| 26 |
README identical to euro-ce.doc |
| 27 |
euroof.mf METAFONT source of the official euro currency symbol |
| 28 |
eurorm.mf METAFONT source of the official euro currency symbol |
| 29 |
and its condensed variants, both filled and in outline |
| 30 |
euroit.mf METAFONT source of the italic variants |
| 31 |
eurosl.mf METAFONT source of the slanted variants |
| 32 |
eurobf.mf METAFONT source of the boldface variants |
| 33 |
eurobfit.mf METAFONT source of the boldface italic variants |
| 34 |
eurobfsl.mf METAFONT source of the boldface slanted variants |
| 35 |
eurosp.mf Example of METAFONT source for specials |
| 36 |
euromac.mf driver file for generating euro symbols |
| 37 |
cerm.mf METAFONT source of the CE mark |
| 38 |
ceit.mf METAFONT source of the italic variant |
| 39 |
cesl.mf METAFONT source of the slanted variant |
| 40 |
cemac.mf driver file for generating CE marks |
| 41 |
euro-ce.tex test (to be run with plain TeX) |
| 42 |
|
| 43 |
The METAFONT source files should be run with plain METAFONT. |
| 44 |
|
| 45 |
Files should be renamed whenever they are modified! This in particular |
| 46 |
concerns the files euroit.mf and alike, defining the constants C, S, and |
| 47 |
T for compression, slanting, and thickness. |
| 48 |
|
| 49 |
|
| 50 |
*** CHARACTERS *** |
| 51 |
|
| 52 |
The euro symbol is provided in roman (eurorm.mf), italic (euroit.mf), |
| 53 |
slanted (eurosl.mf), boldface (eurobf.mf), boldface italic (eurobfit.mf), |
| 54 |
and boldface slanted (eurobfsl.mf) typefaces, each of which comprises the |
| 55 |
letters: |
| 56 |
|
| 57 |
E,e official width |
| 58 |
D,d demicondensed |
| 59 |
F,f condensed |
| 60 |
G,g double condensed |
| 61 |
O,o one-pixel-outline, official width |
| 62 |
N,n one-pixel-outline, demicondensed |
| 63 |
P,p one-pixel-outline, condensed |
| 64 |
Q,q one-pixel-outline, double condensed |
| 65 |
|
| 66 |
Upper-case letters refer to euro symbols having the height of the |
| 67 |
capital C of the corresponding Computer Modern roman font. Lower-case |
| 68 |
letters refer to euro symbols having the height of the Computer Modern |
| 69 |
roman numerals (which you may like better). |
| 70 |
|
| 71 |
The file euroof.mf contains only the official symbol. |
| 72 |
|
| 73 |
The file eurosp.mf provides a number of "strange" euro symbols. |
| 74 |
|
| 75 |
The CE mark is available in roman (cerm.mf), italic (ceit.mf), and |
| 76 |
slanted (cesl.mf) typefaces: |
| 77 |
|
| 78 |
CE CE mark |
| 79 |
ce CE mark, one-pixel-outline |
| 80 |
|
| 81 |
|
| 82 |
*** NOTES ON PROGRAMMING *** |
| 83 |
|
| 84 |
The euro currency symbols are computed on the basis of the geometry |
| 85 |
published on the European Union's web site www.europa.eu.int/euro. The |
| 86 |
official symbol, which is of roman type and inspired by the Greek letter |
| 87 |
epsilon (rather than the capital C), is composed of a well-defined |
| 88 |
280-degree segment of a perfect circle and two cross bars. It features a |
| 89 |
uniform thickness, 1/12 of its outer diameter, and distinctive oblique |
| 90 |
ends. |
| 91 |
|
| 92 |
With regard to the condensed (i.e., horizontally compressed), italic, and |
| 93 |
slanted variants derived here from the official geometry, the following |
| 94 |
observations are of relevance: |
| 95 |
|
| 96 |
(i) Horizontal compression and slanting are straightforwardly implemented |
| 97 |
by the use of METAFONT's transformations. These transformations permit |
| 98 |
control of compression and slanting through single parameters; |
| 99 |
|
| 100 |
(ii) It is desirable that a uniform thickness be preserved. In case the |
| 101 |
official euro symbol has been drawn by filling its outline, however, this |
| 102 |
requirement precludes constructing its variants by transformations. |
| 103 |
Horizontal compression would narrow the upright strokes of the circle, |
| 104 |
while slanting would make the first and third quadrants thicker, and the |
| 105 |
second and fourth quadrants thinner; |
| 106 |
|
| 107 |
(iii) By contrast, METAFONT's pen nibs are invariant under METAFONT's |
| 108 |
transformations. |
| 109 |
|
| 110 |
The symbols are therefore drawn by (a) picking up a circular pen of a |
| 111 |
diameter equal to the chosen thickness, (b) drawing a full circle and |
| 112 |
oversized cross bars, and (c) erasing the excess according to the demands |
| 113 |
of the geometry. Horizontal scaling and slanting transformations, to the |
| 114 |
extent applicable, then provide the desired result. |
| 115 |
|
| 116 |
Horizontal compression, slanting, and thickness are controlled by the |
| 117 |
parameters C, S, and T, which are input to the generating macro |
| 118 |
"draw_euro" in the driver file "euromac.mf". Their default values |
| 119 |
correspond to the official symbol, i.e., C=1 (no compression), S=0 (no |
| 120 |
slanting), and T=1 (thickness is 1/12 of the outer diameter). Possible |
| 121 |
combinations are of course limited by the geometry. |
| 122 |
|
| 123 |
The width of the box is taken equal to the overall width of the |
| 124 |
compressed, but unslanted symbol at the given thickness, augmented with |
| 125 |
uniform cmr10-sized margins at either side. The italic corrections |
| 126 |
provided are designed to maintain the right margin. |
| 127 |
|
| 128 |
More technical details are commented on in the driver file "euromac.mf" |
| 129 |
itself. Running "eurosp.mf" in proof mode demonstrates the robustness of |
| 130 |
"draw_euro" against variations of C, S, and T from their default values. |
| 131 |
|
| 132 |
The above is of equal concern to the CE mark and, for that matter, any |
| 133 |
other fully or partly circular image. |
| 134 |
|
| 135 |
|
| 136 |
*** EXAMPLES OF USAGE *** |
| 137 |
In TeX: |
| 138 |
|
| 139 |
\font\euro=eurorm scaled \magstephalf % 11-point roman euro symbol |
| 140 |
\def\EUR{{\euro E}} |
| 141 |
\EUR 123.00 |
| 142 |
|
| 143 |
\font\ce=cerm % 10-point CE symbol |
| 144 |
{\ce CE} |
| 145 |
|
| 146 |
|
| 147 |
In LaTeX: |
| 148 |
|
| 149 |
\newfont{\euroit}{euroit scaled \magstep1} % 12-point italic euro symbol |
| 150 |
\newcommand{\EUR}{{\euroit E}} |
| 151 |
\EUR 123.00 |
| 152 |
|
| 153 |
\newfont{\ce}{cerm} % 10-point CE symbol |
| 154 |
{\ce CE} |
| 155 |
|
| 156 |
|
| 157 |
*** HISTORY *** |
| 158 |
|
| 159 |
v1.2 (2 June 1998) eurorm, euroit, eurosl, cerm, ceit, cesl. |
| 160 |
|
| 161 |
v1.3 (9 February 2001) Adding the eurobf; modification of euromac.mf to |
| 162 |
accommodate boldface euro symbols; improved |
| 163 |
handling of font dimensions; minor corrections. |
| 164 |
|
| 165 |
v1.3a (15 February 2002) Patch in euromac.mf to remove spurious speckles. |
| 166 |
|
| 167 |
v2.0 (3 March 2002) Adding demicondensed euro symbols (which seem |
| 168 |
quite popular), eurobfit, and eurobfsl. |
| 169 |
|
| 170 |
v3.0 (6 March 2002) Completely revised package. Improved METAFONT |
| 171 |
code. Improvements include better positioning |
| 172 |
of euro symbol in box, better rendition at low |
| 173 |
resolution, and adding eurosp. |
| 174 |
|
| 175 |
v3.0b (6 March 2012) Added permissions regarding usage and redistri- |
| 176 |
bution to README and euro-ce.doc. Other files |
| 177 |
remained as in version 3.0. Author's contact |
| 178 |
data updated. |
| 179 |
|
| 180 |
|
| 181 |
*** LICENSE *** |
| 182 |
|
| 183 |
Redistribution and use in source and binary forms, with or without |
| 184 |
modification, are permitted provided that the following conditions are met: |
| 185 |
|
| 186 |
* Redistributions of source code must retain the above copyright notice, |
| 187 |
this list of conditions and the following disclaimer. |
| 188 |
* Redistributions in binary form must reproduce the above copyright |
| 189 |
notice, this list of conditions and the following disclaimer in the |
| 190 |
documentation and/or other materials provided with the distribution. |
| 191 |
* Neither the name of Harold W. de Wijn nor the names of any |
| 192 |
contributors may be used to endorse or promote products derived from this |
| 193 |
software without specific prior written permission. |
| 194 |
|
| 195 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ''AS |
| 196 |
IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
| 197 |
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 198 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
| 199 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 200 |
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 201 |
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 202 |
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 203 |
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 204 |
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 205 |
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 206 |
|
| 207 |
*** END OF FILE *** |
| 208 |
|
| 209 |
|
| 210 |
|
| 211 |
|