summaryrefslogtreecommitdiff
path: root/fonts/countriesofeurope/doc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-04 03:01:00 +0000
committerNorbert Preining <norbert@preining.info>2019-10-04 03:01:00 +0000
commit9d9c04e14d0da9dd7829d0ec896aabfd50414fd8 (patch)
treef67d308a037384664193d9a2cfca27d8b0579701 /fonts/countriesofeurope/doc
parent93c3758895674cc9ea3e8aaeeb3cf5d1bdc0e3be (diff)
CTAN sync 201910040301
Diffstat (limited to 'fonts/countriesofeurope/doc')
-rw-r--r--fonts/countriesofeurope/doc/CountriesofEurope.pdfbin76943 -> 0 bytes
-rw-r--r--fonts/countriesofeurope/doc/countriesofeurope.bib18
-rw-r--r--fonts/countriesofeurope/doc/countriesofeurope.pdfbin0 -> 101592 bytes
-rw-r--r--fonts/countriesofeurope/doc/countriesofeurope.tex (renamed from fonts/countriesofeurope/doc/CountriesofEurope.tex)157
4 files changed, 149 insertions, 26 deletions
diff --git a/fonts/countriesofeurope/doc/CountriesofEurope.pdf b/fonts/countriesofeurope/doc/CountriesofEurope.pdf
deleted file mode 100644
index 205dfa914d..0000000000
--- a/fonts/countriesofeurope/doc/CountriesofEurope.pdf
+++ /dev/null
Binary files differ
diff --git a/fonts/countriesofeurope/doc/countriesofeurope.bib b/fonts/countriesofeurope/doc/countriesofeurope.bib
new file mode 100644
index 0000000000..9465016c33
--- /dev/null
+++ b/fonts/countriesofeurope/doc/countriesofeurope.bib
@@ -0,0 +1,18 @@
+@ctan{countriesofeurope,
+title = {The Countriesofeurope package},
+subtitle = {A font with the images of the countries of Europe},
+author = {Zimmermann, Ingo and Voß, Herbert and Niepraschk, Rolf},
+url = {http://www.ctan.org/pkg/countriesofeurope},
+urldate = {2019-10-203},
+date = {2019-10-03},
+version = {0.23}
+}
+
+@online{ingofonts,
+title={Fonts and typography that leave a mark},
+author={Ingo Zimmermann},
+url={http://www.ingoFonts.de},
+urldate = {2019-10-03},
+note={for corporate design, promotion, web, publishing. Buy fonts directly from the maker. At ingoFonts you’ll find fonts of all styles,
+ including free test versions of all fonts to download and try out.},
+}
diff --git a/fonts/countriesofeurope/doc/countriesofeurope.pdf b/fonts/countriesofeurope/doc/countriesofeurope.pdf
new file mode 100644
index 0000000000..2b4be170a9
--- /dev/null
+++ b/fonts/countriesofeurope/doc/countriesofeurope.pdf
Binary files differ
diff --git a/fonts/countriesofeurope/doc/CountriesofEurope.tex b/fonts/countriesofeurope/doc/countriesofeurope.tex
index 9bee1d3eca..b812cd4ef6 100644
--- a/fonts/countriesofeurope/doc/CountriesofEurope.tex
+++ b/fonts/countriesofeurope/doc/countriesofeurope.tex
@@ -1,14 +1,16 @@
+%\listfiles
+%% $Id: countriesofeurope.tex 1095 2019-10-03 06:05:39Z herbert $
+\documentclass[11pt,english,BCOR=10mm,DIV=13,toc=bibliography,parskip=false,
+ headings=small,headinclude=false,footinclude=false,oneside]{pst-doc}
+\usepackage[Scale=7.5]{countriesofeurope}
+\let\pstFV\fileversion
-%---------------------------
-\listfiles
-
-\documentclass{article}
\usepackage{ifluatex}
+\usepackage{dtk-logos}
\ifluatex\else
- \pdfmapfile{+CountriesofEurope.map} % only needed, if the map is not enabled with updmap
+ \pdfmapfile{+countriesofeurope.map} % only needed, if the map is not enabled with updmap
\fi
\usepackage{lmodern,array,longtable,graphicx,ifthen,ragged2e,libertinus}
-\usepackage[Scale=7.5]{CountriesofEurope}
\makeatletter
\newcommand\Country[2][]{{%
@@ -21,14 +23,25 @@
\newcounter{N}
+\renewcommand\bgImage{%
+ \EUCountry[Scale=3,outline,fillcolor=blue!20,linecolor=black]{Germany}}
+
+\usepackage{biblatex}
+\addbibresource{\jobname.bib}
\begin{document}
-\author{Rolf Niepraschk \and Herbert Voß}
-\title{Package \texttt{CountriesofEurope}}
+
+\title{Package \texttt{countriesofeurope}}
+\subtitle{Printing all european countries as a character of a font (v.\,0.23)}
+\author{Rolf Niepraschk\\Herbert Voß\\Ingo Zimmermann}
+\docauthor{Herbert Voß}
+\date{\today}
\maketitle
+\section{Introduction}
\begin{sloppypar}
-This package defines the two macros \verb|\CountriesofEuropeFamily| and \verb|\EUCountry[options]{name}|,
+This package defines the two macros \Lcs{countriesofeuropefamily} (short version is \Lcs{CoEF})
+and \Lcs{EUCountry}\verb|[options]{name}|,
which allow to print one of the european countries as a single character with the given scaling or
with an individual scaling.
@@ -43,11 +56,14 @@ The font can be loaded
with an optional argument for the scaling factor, which is preset to 1:
\begin{verbatim}
-\usepackage[Scale=10]{CountriesofEurope}% scaled to 10
+\usepackage[Scale=10]{countriesofeurope}% scaled to 10
\end{verbatim}
+
+\section{Default use}
+
The countris itself are available by a macro from the following list. The characters are
-at the position 128--166 in the Type~1 font \verb|CountriesofEurope.pfb| and also available
+at the position 128--166 in the Type~1 font \LFile{countriesofeurope.pfb} and also available
with the \verb|\char| primitive. The following table shows the countries in their original size
with a scaling of 7.5:
@@ -94,12 +110,12 @@ with a scaling of 7.5:
\end{longtable}
-\noindent\rule{\textwidth}{.5mm}
+\noindent\rule{\textwidth}{.5mm}
The countries in the original size with the given bounding box and the text command \verb|\huge|:
-% \DeclareFontShape{U}{CountriesofEurope}{m}{n}{<->s*[1]CountriesofEurope}{}
+% \DeclareFontShape{U}{countriesofeurope}{m}{n}{<->s*[1]countriesofeurope}{}
\medskip
@@ -107,7 +123,7 @@ The countries in the original size with the given bounding box and the text comm
\fboxsep=0pt
\noindent%
\ifluatex
- \fontspec{CountriesofEurope.otf}
+ \fontspec[Scale=1]{countriesofeurope.otf}
\huge
\setcounter{N}{63724}%
\whiledo{\value{N} > 63686}{%
@@ -122,8 +138,9 @@ The countries in the original size with the given bounding box and the text comm
\fi
\endgroup
+\rmfamily
-\clearpage
+\section{Outline font}
All countries can be printed as outline, e.\,g.:
@@ -134,10 +151,11 @@ All countries can be printed as outline, e.\,g.:
+\begingroup
\ifluatex
- \fontspec{CountriesofEurope.otf}
+ \CoEF
\else
- \DeclareFontShape{U}{CountriesofEurope}{m}{n}{<->s*[1]CountriesofEurope}{}
+ \DeclareFontShape{U}{countriesofeurope}{m}{n}{<->s*[1]countriesofeurope}{}
\fi
\begin{longtable}{cccc}
@@ -183,25 +201,112 @@ All countries can be printed as outline, e.\,g.:
\end{longtable}
+\endgroup
+
+\section{Ligatures}
\rmfamily
The countries are internally defined as a ligature so that abreviations of the countries can be
-used for printing:
+used for printing.
+%
+%\begin{verbatim}
+%\CoEF ge au
+%\end{verbatim}
+%
+These Ligatures are enabled by default!
-\begin{verbatim}
-\CountriesofEuropeFamily
-ge au
-\end{verbatim}
+%\begin{verbatim}
+%\defaultfontfeatures+[\countriesofeuropefamily]{Ligatures=Common}
+%\end{verbatim}
+
+%leads to
+\begingroup
\ifluatex
- \fontspec{CountriesofEurope.otf}
+ \CoEF
+% \defaultfontfeatures+[\countriesofeuropefamily]{Ligatures=Common}
\else
- \DeclareFontShape{U}{CountriesofEurope}{m}{n}{<->s*[1]CountriesofEurope}{}
+ \DeclareFontShape{U}{countriesofeurope}{m}{n}{<->s*[1]countriesofeurope}{}
\fi
-\CountriesofEuropeFamily
-ge au
+\verb|{\CoEF ge GE}| $\rightarrow$ {\CoEF ge GE}
+\endgroup
+
+
+
+
+\def\TAB#1{\tabular[b]{@{}l@{}}#1\endtabular}
+\begin{longtable}{ll ll}\toprule
+\emph{Ligature} & \emph{Output} & \emph{Ligature} & \emph{Output}\\\midrule
+\endfirsthead
+\midrule
+\emph{Ligature} & \emph{Output} & \emph{Ligature} & \emph{Output}\\\midrule
+\endhead
+AL & \CoEF AL & AN & \CoEF AN \\\hline
+AU & \CoEF AU & BELA & \CoEF BELA \\\hline
+BELG & \CoEF BELG & BO & \CoEF BO\\\hline
+BU & \CoEF BU & CR & \CoEF CR\\\hline
+CZ & \CoEF CZ & \TAB{DAN\\DAE} & \CoEF DAN\\\hline
+EST & \CoEF EST & FI & \CoEF FI \\\hline
+FR & \CoEF FR & GE & \CoEF GE \\
+\TAB{EN\\GREA\\BR} & \CoEF BR & GRI & \CoEF GRI \\\hline
+HU & \CoEF HU & IC & \CoEF IC \\\hline
+IR & \CoEF IR & IT & \CoEF IT \\\hline
+LA & \CoEF LA & LIE & \CoEF LIE\\\hline
+LIT & \CoEF LIT & LU & \CoEF LU \\\hline
+MAC & \CoEF MAC & MAL & \CoEF MAL\\\hline
+MOL & \CoEF MOL & MON & \CoEF MON \\\hline
+NE & \CoEF NE & NO & \CoEF NO\\\hline
+POL & \CoEF POL & POR & \CoEF POR \\\hline
+RO & \CoEF RO & SE & \CoEF SE \\\hline
+SLOVA& \CoEF SLOVA& SLOVE& \CoEF SLOVE \\\hline
+SP & \CoEF SP & \TAB{SWE\\SV} & \CoEF SWE\\\hline
+SWI & \CoEF SWI & & \\\bottomrule
+\end{longtable}
+
+%\defaultfontfeatures[\countriesofeuropefamily]{Ligatures=NoCommon}
+
+
+%The Ligatures can also be enabled by
+
+%\begin{verbatim}
+%\usepackage[Ligatures=Common]{countriesofeurope}
+%\end{verbatim}
+
+
+\rmfamily
+\section{Color options}
+
+
+
+With the optional arguments \Lkeyword{fillcolor} and \Lkeyword{linecolor} the countries can printed with
+different colors. The option \Lkeyword{fillcolor} is only valiD, if the option \Lkeyword{outline} is
+set, too.
+
+
+
+\verb|\EUCountry[Scale=37.5,outline,fillcolor=blue!20,linecolor=blue]{Germany}|
+\ifluatex
+ \fontspec{countriesofeurope.otf}
+\else
+ \DeclareFontShape{U}{countriesofeurope}{m}{n}{<->s*[1]countriesofeurope}{}
+\fi
+
+
+\fbox{\EUCountry[Scale=5,outline,fillcolor=blue!20,linecolor=blue]{Germany}}
+
+
+
+\rmfamily
+\bgroup
+\raggedright
+\nocite{*}
+%\bibliographystyle{plain}
+\printbibliography
+\egroup
+
+\printindex