From 9e360eb6c85299ab352ee67f03e2547574c53c9b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Oct 2017 20:18:55 +0000 Subject: spark-otf (6oct17) git-svn-id: svn://tug.org/texlive/trunk@45483 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/spark-otf/Changes | 10 + Master/texmf-dist/doc/fonts/spark-otf/README.md | 19 + .../doc/fonts/spark-otf/spark-otf-doc.bib | 45 +++ .../doc/fonts/spark-otf/spark-otf-doc.pdf | Bin 0 -> 88672 bytes .../doc/fonts/spark-otf/spark-otf-doc.tex | 436 +++++++++++++++++++++ Master/texmf-dist/doc/latex/spark-otf/Changes | 10 - Master/texmf-dist/doc/latex/spark-otf/README.md | 19 - .../doc/latex/spark-otf/spark-otf-doc.bib | 45 --- .../doc/latex/spark-otf/spark-otf-doc.pdf | Bin 88672 -> 0 bytes .../doc/latex/spark-otf/spark-otf-doc.tex | 436 --------------------- 10 files changed, 510 insertions(+), 510 deletions(-) create mode 100644 Master/texmf-dist/doc/fonts/spark-otf/Changes create mode 100644 Master/texmf-dist/doc/fonts/spark-otf/README.md create mode 100644 Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.bib create mode 100644 Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.pdf create mode 100644 Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.tex delete mode 100644 Master/texmf-dist/doc/latex/spark-otf/Changes delete mode 100644 Master/texmf-dist/doc/latex/spark-otf/README.md delete mode 100644 Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.bib delete mode 100644 Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.pdf delete mode 100644 Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.tex diff --git a/Master/texmf-dist/doc/fonts/spark-otf/Changes b/Master/texmf-dist/doc/fonts/spark-otf/Changes new file mode 100644 index 00000000000..a0258271564 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/spark-otf/Changes @@ -0,0 +1,10 @@ +0.04 2017-09-26 - fix for filenames + - added short form ! for marks + - added char sets for the documentation +0.03 2017-09-24 - added color + - fix for \IfValueTF->\IfBooleanTF + - fix for xelatex +0.02 2017-09-21 - added a star version for LuaLaTeX which + allows any values in the data list + - added error message for pdflatex +0.01 2017-09-19 - first CTAN version diff --git a/Master/texmf-dist/doc/fonts/spark-otf/README.md b/Master/texmf-dist/doc/fonts/spark-otf/README.md new file mode 100644 index 00000000000..6fa1de08362 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/spark-otf/README.md @@ -0,0 +1,19 @@ +# README # +Package spark-otf supports the free fonts from +"After the Flood" which are available from the +website http://aftertheflood.co/projects/atf-spark + +Following font files are supported: + +- Spark - Bar - Medium.otf +- Spark - Bar - Narrow.otf +- Spark - Bar - Thin.otf +- Spark - Dot-line - Medium.otf +- Spark - Dot - Medium.otf +- Spark - Dot - Small.otf + + + +%% This file is distributed under the terms of the LaTeX Project Public +%% License from CTAN archives in directory macros/latex/base/lppl.txt. +%% Either version 1.3 or, at your option, any later version. diff --git a/Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.bib b/Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.bib new file mode 100644 index 00000000000..e8d98235a85 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.bib @@ -0,0 +1,45 @@ +@online{fontconfig, + author ={{\texttt{freedesktop.org}}}, + sortname = {freedesktop}, + title = {Fontconfig}, + subtitle = {A library for configuring and customizing font access}, + date = {2017-07-05}, + urldate={2017-09-26}, + url = {https://www.freedesktop.org/wiki/Software/fontconfig/} +} +@online{wikipedia, + author = {{\WikipediA}}, + sortlabel = {Wikipedia}, + sortname = {Wikipedia}, + title = {Sparkline}, + date = {2017-09-03}, + urldate = {2017-09-19}, + url = {https://en.wikipedia.org/wiki/Sparkline}, +} + +@online{features, + author = {{\WikipediA}}, + sortlabel = {Wikipedia}, + sortname = {Wikipedia}, + title = {List of typographic features}, + date = {2017-02-21}, + urldate = {2017-03-24}, + url = {https://en.wikipedia.org/wiki/List_of_typographic_features}, +} + +@online{tufte, + author = {Edward Tufte}, + title = {History of Sparklines and Edward Tufte Contribution}, + date = {2017-09-19}, + urldate = {2017-09-19}, + url = {https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=000AIr00}, +} + +@online{atf, +author = {Max Gadney and Mike Gallagher and Nick Cross and Sabih Ali}, +title = {AtF Spark}, +subtitle = {Our new typeface for code-free sparklines}, +Organisation = {After the flood}, +url = {http://aftertheflood.co/projects/atf-spark}, +} + diff --git a/Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.pdf b/Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.pdf new file mode 100644 index 00000000000..c69c7c38384 Binary files /dev/null and b/Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.pdf differ diff --git a/Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.tex b/Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.tex new file mode 100644 index 00000000000..4f3233e23c3 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/spark-otf/spark-otf-doc.tex @@ -0,0 +1,436 @@ +%% $Id: spark-otf-doc.tex 584 2017-09-26 18:27:43Z herbert $ +% +\listfiles +\documentclass[fontsize=11pt,DIV=14,parskip=half-]{scrartcl} +\usepackage{fontspec} +\usepackage{graphicx} +\usepackage{multido} +\usepackage[%usefilenames, + TT={Scale=0.88,FakeStretch=0.9}, + SS={Scale=0.9}, + RM={Scale=0.9}, + DefaultFeatures={Ligatures=TeX}]{lucida-otf} % support opentype math fonts +\usepackage[usefilenames=false]{spark-otf} % support opentype spark fonts +\makeatletter +\let\SparkVersion\spark@version +\makeatother +\newsavebox\ZBox \newsavebox\SBox + +\usepackage{biblatex} +\addbibresource{\jobname.bib} + +\usepackage{dtk-logos} % for Wikipedia W + +\pagestyle{headings} + +\usepackage[colorlinks,hyperfootnotes=false]{hyperref} +% define \code for url-like breaking of typewriter fragments. +\ifx\nolinkurl\undefined \let\code\url \else \let\code\nolinkurl \fi + +% Define \cs to prepend a backslash, and be unbreakable: +\DeclareRobustCommand\cs[1]{\mbox{\texttt{\char`\\#1}}} + + +\title{Support for the Spark OpenType fonts \\--\\ v.~\SparkVersion} +\author{Herbert Voß} +\begin{document} +\maketitle +\tableofcontents + +\section{Introduction} + +A sparkline is a very small line chart, typically drawn without axes or coordinates. +It presents the general shape of the variation (typically over time) in some measurement, +such as temperature or stock market price, in a simple and highly condensed way. +Sparklines are small enough to be embedded in text, or several sparklines may be +grouped together as elements of a small multiple. Whereas the typical chart is +designed to show as much data as possible, and is set off from the flow of text, +sparklines are intended to be succinct, memorable, and located where they are discussed.~\cite{wikipedia} + + +\section{The fonts} + +The fonts are available from \url{https://github.com/aftertheflood/spark} and should be saved +either in \path{Library/fonts/} (MAC OSX), \path{c:\Windows\Fonts} (Windows) or +\path{/usr/local/share/fonts} (Linux) or any other location where +the fonts will be found by the system. + +\begin{verbatim} +-rw-r--r-- 1 voss voss 24708 Sep 15 11:20 Spark - Bar - Medium.otf +-rw-r--r-- 1 voss voss 24696 Sep 15 11:20 Spark - Bar - Narrow.otf +-rw-r--r-- 1 voss voss 24680 Sep 15 11:20 Spark - Bar - Thin.otf +-rw-r--r-- 1 voss voss 22140 Sep 15 11:20 Spark - Dot-line - Medium.otf +-rw-r--r-- 1 voss voss 24616 Sep 15 11:20 Spark - Dot - Medium.otf +-rw-r--r-- 1 voss voss 24580 Sep 15 11:20 Spark - Dot - Small.otf +\end{verbatim} + + +The package defines the following font macros (using symbol names): + +\small +\begin{verbatim} +\newfontface\sparkBarMedium{Spark-BarMedium}[RawFeature=+calt,\spark@DefaultFeatures] +\newfontface\sparkBarNarrow{Spark-BarNarrow}[RawFeature=+calt,\spark@DefaultFeatures] +\newfontface\sparkBarThin{Spark-BarThin}[RawFeature=+calt,\spark@DefaultFeatures] +% +\newfontface\sparkDotLine{Spark-Dot-lineMedium}[RawFeature=+calt,\spark@DefaultFeatures] +% +\newfontface\sparkDotMedium{Spark-DotMedium}[RawFeature=+calt,\spark@DefaultFeatures] +\newfontface\sparkDotSmall{Spark-DotSmall}[RawFeature=+calt,\spark@DefaultFeatures] +\end{verbatim} + +\normalsize + +\section{The macros} + +\begin{verbatim} +\sparkBar[][]{values}[] +\sparkDot[][]{values}[] +\sparkBar*[][]{values}[] +\sparkDot*[][]{values}[] +\sparkBar[]{!value,values,...,!value} +\sparkDot[]{!value,values,...,!value} +\sparkBar*[]{!value,values,...,!value} +\sparkDot*[]{!value,values,...,!value} +\end{verbatim} + +If \texttt{[]} is missing, \texttt{Medium} is assumed. The type is mandatory if you use +the first \texttt{[]} argument! The star versions are only valid for Lua\LaTeX\ where the values +can be of any interval. They will be changed to the allowed interval: + +\begin{itemize} +\item for \cs{sparkDot[Line]}: $[0,9]$ +\item for all other: $[0,100]$ +\end{itemize} + + +Instead of using the optional arguments for printing the first and/or last value you +can use the !-notation, then the first and/or last listed value are printed. There is no difference +in using the optional arguments; it saves only some keystrokes if the printed values are +the same as in the list. + +\section{Text examples} + +\subsection{Bars} + + +\subsubsection{Bar-Medium} + +\footnotesize +\begin{verbatim} +Text \sparkBar{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92} Text\hfill + {\huge\sparkBar{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92}}\\ +Text \sparkBar[Medium]{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92} Text\\ +Text \sparkBar[Medium][14]{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92}[92] Text\\ +Text \sparkBar[Medium]{!14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,!92} Text +\end{verbatim} + +\normalsize +Text \sparkBar{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92} Text\hfill + {\huge\sparkBar{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92}}\\ +Text \sparkBar[Medium]{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92} Text\\ +Text \sparkBar[Medium][14]{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92}[92] Text\\ +Text \sparkBar[Medium]{!14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,!92} Text + + +\subsubsection{Bar-Narrow} + +\footnotesize +\begin{verbatim} +Text \sparkBar[Narrow]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,8} Text\\ +Text \sparkBar[Narrow][19]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8} Text\hfill + {\huge\sparkBar[Narrow][19]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8}}\\ +Text \sparkBar[Narrow]{!19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8} Text\hfill + {\huge\sparkBar[Narrow]{!19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8}} +\end{verbatim} + +\normalsize +Text \sparkBar[Narrow]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,8} Text\\ +Text \sparkBar[Narrow][19]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8} Text\hfill + {\huge\sparkBar[Narrow][19]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8}}\\ +Text \sparkBar[Narrow]{!19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8} Text\hfill + {\huge\sparkBar[Narrow]{!19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8}} + +\subsubsection{Bar-Thin} + +\footnotesize +\begin{verbatim} +Text \sparkBar[Thin]{13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22} Text\\ +Text \sparkBar[Thin][13]{13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22}[22] Text\\ +Text \sparkBar[Thin]{!13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22} Text\\ +Text \sparkBar[Thin]{!13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,!22} Text +\end{verbatim} + +\normalsize +Text \sparkBar[Thin]{13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22} Text\\ +Text \sparkBar[Thin][13]{13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22}[22] Text\\ +Text \sparkBar[Thin]{!13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22} Text\\ +Text \sparkBar[Thin]{!13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,!22} Text + + + +\subsection{Dots} + +\subsubsection{Dot-Medium} + +\footnotesize +\begin{verbatim} +Text \sparkDot{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1} Text\hfill + {\huge\sparkDot{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1}}\\ +Text \sparkDot[Medium]{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1} Text\\ +Text \sparkDot[Medium]{!54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,!1} Text +\end{verbatim} + +\normalsize +Text \sparkDot{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1} Text\hfill + {\huge\sparkDot{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1}}\\ +Text \sparkDot[Medium]{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1} Text\\ +Text \sparkDot[Medium]{!54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,!1} Text + + +\subsubsection{Dot-Small} + + +\footnotesize +\begin{verbatim} +Text \sparkDot[Small]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ +Text \sparkDot[Small][1]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}[76] Text\\ +Text \sparkDot[Small]{!1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,!76} Text +\end{verbatim} + +\normalsize +Text \sparkDot[Small]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ +Text \sparkDot[Small][1]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}[76] Text\\ +Text \sparkDot[Small]{!1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,!76} Text + + + +\subsection{Dot-Line} + + + +\footnotesize +\begin{verbatim} +Text \sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ +Text \sparkDot[Line][9]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}[8] Text\hfill + {\huge\sparkDot[Line]{!9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,!8}} +\end{verbatim} + +\normalsize +Text \sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ +Text \sparkDot[Line][9]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}[8] Text\hfill + {\huge\sparkDot[Line]{!9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,!8}} + + + + +\section{Examples for Lua\protect\LaTeX} +The current version of \texttt{spark-otf} supports only star versions for Lua\LaTeX. + + +\subsection{Bars} + + +\footnotesize +\begin{verbatim} +Text \sparkBar*{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ +Text \sparkBar*{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ +Text \sparkBar*[Narrow]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176} Text\\ + +\huge +\sparkBar*{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}\\ +\sparkBar*{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}\\ +\sparkBar*[Narrow]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176} +\end{verbatim} + + +\normalsize\noindent +Text \sparkBar*{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ +Text \sparkBar*{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ +Text \sparkBar*[Narrow]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176} Text\\ + +\huge +\sparkBar*{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}\\ +\sparkBar*{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}\\ +\sparkBar*[Narrow]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176} + + +\normalsize + +\subsection{Dots} + +\footnotesize +\begin{verbatim} +Text \sparkDot*[Line]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ +Text \sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ +Text \sparkDot*[Medium][19]{19,114,12,111,16,17,113,118,113,67,61,74,39,52,38,55,111,88}[88] Text\\ +Text \sparkDot*[Line][111]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176}[176] Text + +\huge +\sparkDot*[Line]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}\\ +\sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}\\ +\sparkDot*[Medium][19]{19,114,12,111,16,17,113,118,113,67,61,74,39,52,38,55,111,88}[88]\\ +\sparkDot*[Line][111]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176}[176] +\end{verbatim} + +\normalsize +Text \sparkDot*[Line]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ +Text \sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ +Text \sparkDot*[Medium][19]{19,114,12,111,16,17,113,118,113,67,61,74,39,52,38,55,111,88}[88] Text\\ +Text \sparkDot*[Line][111]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176}[176] Text + +\huge +\sparkDot*[Line]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}\\ +\sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}\\ +\sparkDot*[Medium][19]{19,114,12,111,16,17,113,118,113,67,61,74,39,52,38,55,111,88}[88]\\ +\sparkDot*[Line][111]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176}[176] + + +\normalsize + +\section{Using color} +It is possible to mark single or some values with a specific color, which must +be given in binary notation, e.g. \verb|ff0000| for red (R-G-B). The macro \verb|\setSparkColor| +\emph{should} include the (last) comma after the value: + +\begin{verbatim} +Text \sparkBar{14,95,68,9,19,41,\setSparkColor{ff0000}{91,}1,81,97,79,45,96,76,17,65,8,92} Text + \sparkBar{!14,95,68,9,19,41,\setSparkColor{ff0000}{91,1,81,97,79,}45,96,76,17,65,8,!92} Text + +Text \sparkDot{14,95,68,9,19,41,\setSparkColor{ff0000}{91,}1,81,97,79,45,96,76,17,65,8,92} Text + \sparkDot{!14,95,68,9,19,41,\setSparkColor{ff0000}{91,1,81,97,79,}45,96,76,17,65,8,!92} Text +\end{verbatim} + +\noindent +Text \sparkBar{14,95,68,9,19,41,\setSparkColor{ff0000}{91,}1,81,97,79,45,96,76,17,65,8,92} Text + \sparkBar{!14,95,68,9,19,41,\setSparkColor{ff0000}{91,1,81,97,79,}45,96,76,17,65,8,!92} Text + +\bigskip +\noindent +Text \sparkDot{14,95,68,9,19,41,\setSparkColor{ff0000}{91,}1,81,97,79,45,96,76,17,65,8,92} Text + \sparkDot{!14,95,68,9,19,41,\setSparkColor{ff0000}{91,1,81,97,79,}45,96,76,17,65,8,!92} Text + +Coloring does \emph{not} work for the star version of the macro and \emph{not} for +\verb|\sparkDot[Line]|. + + +\section{The charsets} + +\subsection{Spark-BarMedium} + +%\includegraphics{images/Spark-BarMedium} + +{\sparkBarMedium +\multido{\iA=32+50}{20000}{\sbox\ZBox{% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\kern0.45pt\fi}}% + \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.45em\fi\kern0.25pt}}% + \usebox\ZBox\\\fi} +} + + +%\string{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1\string} + + + +%-* !"\#\$\%'()*+,-./0123456789.;<=>@CDEGHILNOSTU[\textbackslash]\_ht\{\_\}°¢ + +\subsection*{Spark-BarNarrow} + +{\sparkBarNarrow +\multido{\iA=32+50}{20000}{\sbox\ZBox{% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\kern0.35pt\fi}}% + \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.35em\fi\kern0.25pt}}% + \usebox\ZBox\\\fi} +} + +\subsection*{Spark-BarThin} + +{\sparkBarThin +\multido{\iA=32+50}{20000}{\sbox\ZBox{% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\kern0.1pt\fi}}% + \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.1em\fi\kern0.25pt}}% + \usebox\ZBox\\\fi} +} + + +\subsection*{Spark-DotMedium} + +{\sparkDotMedium +\multido{\iA=32+50}{20000}{\sbox\ZBox{% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\kern0.35pt\fi}}% + \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.35em\fi\kern0.25pt}}% + \usebox\ZBox\\\fi} +} + + +\subsection*{Spark-DotSmall} + +{\sparkDotSmall +\multido{\iA=32+50}{20000}{\sbox\ZBox{% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\kern0.2pt\fi}}% + \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.2em\fi\kern0.25pt}}% + \usebox\ZBox\\\fi} +} + + +\subsection*{Spark-DotLine} + +{\sparkDotLine +\multido{\iA=32+50}{20000}{\sbox\ZBox{% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\kern0.4pt\fi}}% + \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% + \multido{\iB=\iA+1}{50}{% + \sbox\SBox{\symbol{\iB}}% + \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.4em\fi\kern0.25pt}}% + \usebox\ZBox\\\fi} +} + + + +\nocite{*} +\printbibliography + + +\end{document} + + +

{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92}

+ +

{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,8}

+ +

{13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22}

+ +

{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1}

+ +

{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}

+ +

{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}

+\NewDocumentCommand\spark{omo}{{\sparklinesbarmedium + \IfValueT{#1}{#1}\string{#2\string}\IfValueT{#3}{#3}}} diff --git a/Master/texmf-dist/doc/latex/spark-otf/Changes b/Master/texmf-dist/doc/latex/spark-otf/Changes deleted file mode 100644 index a0258271564..00000000000 --- a/Master/texmf-dist/doc/latex/spark-otf/Changes +++ /dev/null @@ -1,10 +0,0 @@ -0.04 2017-09-26 - fix for filenames - - added short form ! for marks - - added char sets for the documentation -0.03 2017-09-24 - added color - - fix for \IfValueTF->\IfBooleanTF - - fix for xelatex -0.02 2017-09-21 - added a star version for LuaLaTeX which - allows any values in the data list - - added error message for pdflatex -0.01 2017-09-19 - first CTAN version diff --git a/Master/texmf-dist/doc/latex/spark-otf/README.md b/Master/texmf-dist/doc/latex/spark-otf/README.md deleted file mode 100644 index 6fa1de08362..00000000000 --- a/Master/texmf-dist/doc/latex/spark-otf/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# README # -Package spark-otf supports the free fonts from -"After the Flood" which are available from the -website http://aftertheflood.co/projects/atf-spark - -Following font files are supported: - -- Spark - Bar - Medium.otf -- Spark - Bar - Narrow.otf -- Spark - Bar - Thin.otf -- Spark - Dot-line - Medium.otf -- Spark - Dot - Medium.otf -- Spark - Dot - Small.otf - - - -%% This file is distributed under the terms of the LaTeX Project Public -%% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. diff --git a/Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.bib b/Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.bib deleted file mode 100644 index e8d98235a85..00000000000 --- a/Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.bib +++ /dev/null @@ -1,45 +0,0 @@ -@online{fontconfig, - author ={{\texttt{freedesktop.org}}}, - sortname = {freedesktop}, - title = {Fontconfig}, - subtitle = {A library for configuring and customizing font access}, - date = {2017-07-05}, - urldate={2017-09-26}, - url = {https://www.freedesktop.org/wiki/Software/fontconfig/} -} -@online{wikipedia, - author = {{\WikipediA}}, - sortlabel = {Wikipedia}, - sortname = {Wikipedia}, - title = {Sparkline}, - date = {2017-09-03}, - urldate = {2017-09-19}, - url = {https://en.wikipedia.org/wiki/Sparkline}, -} - -@online{features, - author = {{\WikipediA}}, - sortlabel = {Wikipedia}, - sortname = {Wikipedia}, - title = {List of typographic features}, - date = {2017-02-21}, - urldate = {2017-03-24}, - url = {https://en.wikipedia.org/wiki/List_of_typographic_features}, -} - -@online{tufte, - author = {Edward Tufte}, - title = {History of Sparklines and Edward Tufte Contribution}, - date = {2017-09-19}, - urldate = {2017-09-19}, - url = {https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=000AIr00}, -} - -@online{atf, -author = {Max Gadney and Mike Gallagher and Nick Cross and Sabih Ali}, -title = {AtF Spark}, -subtitle = {Our new typeface for code-free sparklines}, -Organisation = {After the flood}, -url = {http://aftertheflood.co/projects/atf-spark}, -} - diff --git a/Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.pdf b/Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.pdf deleted file mode 100644 index c69c7c38384..00000000000 Binary files a/Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.tex b/Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.tex deleted file mode 100644 index 4f3233e23c3..00000000000 --- a/Master/texmf-dist/doc/latex/spark-otf/spark-otf-doc.tex +++ /dev/null @@ -1,436 +0,0 @@ -%% $Id: spark-otf-doc.tex 584 2017-09-26 18:27:43Z herbert $ -% -\listfiles -\documentclass[fontsize=11pt,DIV=14,parskip=half-]{scrartcl} -\usepackage{fontspec} -\usepackage{graphicx} -\usepackage{multido} -\usepackage[%usefilenames, - TT={Scale=0.88,FakeStretch=0.9}, - SS={Scale=0.9}, - RM={Scale=0.9}, - DefaultFeatures={Ligatures=TeX}]{lucida-otf} % support opentype math fonts -\usepackage[usefilenames=false]{spark-otf} % support opentype spark fonts -\makeatletter -\let\SparkVersion\spark@version -\makeatother -\newsavebox\ZBox \newsavebox\SBox - -\usepackage{biblatex} -\addbibresource{\jobname.bib} - -\usepackage{dtk-logos} % for Wikipedia W - -\pagestyle{headings} - -\usepackage[colorlinks,hyperfootnotes=false]{hyperref} -% define \code for url-like breaking of typewriter fragments. -\ifx\nolinkurl\undefined \let\code\url \else \let\code\nolinkurl \fi - -% Define \cs to prepend a backslash, and be unbreakable: -\DeclareRobustCommand\cs[1]{\mbox{\texttt{\char`\\#1}}} - - -\title{Support for the Spark OpenType fonts \\--\\ v.~\SparkVersion} -\author{Herbert Voß} -\begin{document} -\maketitle -\tableofcontents - -\section{Introduction} - -A sparkline is a very small line chart, typically drawn without axes or coordinates. -It presents the general shape of the variation (typically over time) in some measurement, -such as temperature or stock market price, in a simple and highly condensed way. -Sparklines are small enough to be embedded in text, or several sparklines may be -grouped together as elements of a small multiple. Whereas the typical chart is -designed to show as much data as possible, and is set off from the flow of text, -sparklines are intended to be succinct, memorable, and located where they are discussed.~\cite{wikipedia} - - -\section{The fonts} - -The fonts are available from \url{https://github.com/aftertheflood/spark} and should be saved -either in \path{Library/fonts/} (MAC OSX), \path{c:\Windows\Fonts} (Windows) or -\path{/usr/local/share/fonts} (Linux) or any other location where -the fonts will be found by the system. - -\begin{verbatim} --rw-r--r-- 1 voss voss 24708 Sep 15 11:20 Spark - Bar - Medium.otf --rw-r--r-- 1 voss voss 24696 Sep 15 11:20 Spark - Bar - Narrow.otf --rw-r--r-- 1 voss voss 24680 Sep 15 11:20 Spark - Bar - Thin.otf --rw-r--r-- 1 voss voss 22140 Sep 15 11:20 Spark - Dot-line - Medium.otf --rw-r--r-- 1 voss voss 24616 Sep 15 11:20 Spark - Dot - Medium.otf --rw-r--r-- 1 voss voss 24580 Sep 15 11:20 Spark - Dot - Small.otf -\end{verbatim} - - -The package defines the following font macros (using symbol names): - -\small -\begin{verbatim} -\newfontface\sparkBarMedium{Spark-BarMedium}[RawFeature=+calt,\spark@DefaultFeatures] -\newfontface\sparkBarNarrow{Spark-BarNarrow}[RawFeature=+calt,\spark@DefaultFeatures] -\newfontface\sparkBarThin{Spark-BarThin}[RawFeature=+calt,\spark@DefaultFeatures] -% -\newfontface\sparkDotLine{Spark-Dot-lineMedium}[RawFeature=+calt,\spark@DefaultFeatures] -% -\newfontface\sparkDotMedium{Spark-DotMedium}[RawFeature=+calt,\spark@DefaultFeatures] -\newfontface\sparkDotSmall{Spark-DotSmall}[RawFeature=+calt,\spark@DefaultFeatures] -\end{verbatim} - -\normalsize - -\section{The macros} - -\begin{verbatim} -\sparkBar[][]{values}[] -\sparkDot[][]{values}[] -\sparkBar*[][]{values}[] -\sparkDot*[][]{values}[] -\sparkBar[]{!value,values,...,!value} -\sparkDot[]{!value,values,...,!value} -\sparkBar*[]{!value,values,...,!value} -\sparkDot*[]{!value,values,...,!value} -\end{verbatim} - -If \texttt{[]} is missing, \texttt{Medium} is assumed. The type is mandatory if you use -the first \texttt{[]} argument! The star versions are only valid for Lua\LaTeX\ where the values -can be of any interval. They will be changed to the allowed interval: - -\begin{itemize} -\item for \cs{sparkDot[Line]}: $[0,9]$ -\item for all other: $[0,100]$ -\end{itemize} - - -Instead of using the optional arguments for printing the first and/or last value you -can use the !-notation, then the first and/or last listed value are printed. There is no difference -in using the optional arguments; it saves only some keystrokes if the printed values are -the same as in the list. - -\section{Text examples} - -\subsection{Bars} - - -\subsubsection{Bar-Medium} - -\footnotesize -\begin{verbatim} -Text \sparkBar{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92} Text\hfill - {\huge\sparkBar{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92}}\\ -Text \sparkBar[Medium]{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92} Text\\ -Text \sparkBar[Medium][14]{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92}[92] Text\\ -Text \sparkBar[Medium]{!14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,!92} Text -\end{verbatim} - -\normalsize -Text \sparkBar{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92} Text\hfill - {\huge\sparkBar{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92}}\\ -Text \sparkBar[Medium]{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92} Text\\ -Text \sparkBar[Medium][14]{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92}[92] Text\\ -Text \sparkBar[Medium]{!14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,!92} Text - - -\subsubsection{Bar-Narrow} - -\footnotesize -\begin{verbatim} -Text \sparkBar[Narrow]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,8} Text\\ -Text \sparkBar[Narrow][19]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8} Text\hfill - {\huge\sparkBar[Narrow][19]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8}}\\ -Text \sparkBar[Narrow]{!19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8} Text\hfill - {\huge\sparkBar[Narrow]{!19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8}} -\end{verbatim} - -\normalsize -Text \sparkBar[Narrow]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,8} Text\\ -Text \sparkBar[Narrow][19]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8} Text\hfill - {\huge\sparkBar[Narrow][19]{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8}}\\ -Text \sparkBar[Narrow]{!19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8} Text\hfill - {\huge\sparkBar[Narrow]{!19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,!8}} - -\subsubsection{Bar-Thin} - -\footnotesize -\begin{verbatim} -Text \sparkBar[Thin]{13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22} Text\\ -Text \sparkBar[Thin][13]{13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22}[22] Text\\ -Text \sparkBar[Thin]{!13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22} Text\\ -Text \sparkBar[Thin]{!13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,!22} Text -\end{verbatim} - -\normalsize -Text \sparkBar[Thin]{13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22} Text\\ -Text \sparkBar[Thin][13]{13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22}[22] Text\\ -Text \sparkBar[Thin]{!13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22} Text\\ -Text \sparkBar[Thin]{!13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,!22} Text - - - -\subsection{Dots} - -\subsubsection{Dot-Medium} - -\footnotesize -\begin{verbatim} -Text \sparkDot{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1} Text\hfill - {\huge\sparkDot{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1}}\\ -Text \sparkDot[Medium]{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1} Text\\ -Text \sparkDot[Medium]{!54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,!1} Text -\end{verbatim} - -\normalsize -Text \sparkDot{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1} Text\hfill - {\huge\sparkDot{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1}}\\ -Text \sparkDot[Medium]{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1} Text\\ -Text \sparkDot[Medium]{!54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,!1} Text - - -\subsubsection{Dot-Small} - - -\footnotesize -\begin{verbatim} -Text \sparkDot[Small]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ -Text \sparkDot[Small][1]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}[76] Text\\ -Text \sparkDot[Small]{!1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,!76} Text -\end{verbatim} - -\normalsize -Text \sparkDot[Small]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ -Text \sparkDot[Small][1]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}[76] Text\\ -Text \sparkDot[Small]{!1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,!76} Text - - - -\subsection{Dot-Line} - - - -\footnotesize -\begin{verbatim} -Text \sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ -Text \sparkDot[Line][9]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}[8] Text\hfill - {\huge\sparkDot[Line]{!9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,!8}} -\end{verbatim} - -\normalsize -Text \sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ -Text \sparkDot[Line][9]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}[8] Text\hfill - {\huge\sparkDot[Line]{!9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,!8}} - - - - -\section{Examples for Lua\protect\LaTeX} -The current version of \texttt{spark-otf} supports only star versions for Lua\LaTeX. - - -\subsection{Bars} - - -\footnotesize -\begin{verbatim} -Text \sparkBar*{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ -Text \sparkBar*{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ -Text \sparkBar*[Narrow]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176} Text\\ - -\huge -\sparkBar*{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}\\ -\sparkBar*{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}\\ -\sparkBar*[Narrow]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176} -\end{verbatim} - - -\normalsize\noindent -Text \sparkBar*{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ -Text \sparkBar*{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ -Text \sparkBar*[Narrow]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176} Text\\ - -\huge -\sparkBar*{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}\\ -\sparkBar*{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}\\ -\sparkBar*[Narrow]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176} - - -\normalsize - -\subsection{Dots} - -\footnotesize -\begin{verbatim} -Text \sparkDot*[Line]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ -Text \sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ -Text \sparkDot*[Medium][19]{19,114,12,111,16,17,113,118,113,67,61,74,39,52,38,55,111,88}[88] Text\\ -Text \sparkDot*[Line][111]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176}[176] Text - -\huge -\sparkDot*[Line]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}\\ -\sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}\\ -\sparkDot*[Medium][19]{19,114,12,111,16,17,113,118,113,67,61,74,39,52,38,55,111,88}[88]\\ -\sparkDot*[Line][111]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176}[176] -\end{verbatim} - -\normalsize -Text \sparkDot*[Line]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76} Text\\ -Text \sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8} Text\\ -Text \sparkDot*[Medium][19]{19,114,12,111,16,17,113,118,113,67,61,74,39,52,38,55,111,88}[88] Text\\ -Text \sparkDot*[Line][111]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176}[176] Text - -\huge -\sparkDot*[Line]{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}\\ -\sparkDot[Line]{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}\\ -\sparkDot*[Medium][19]{19,114,12,111,16,17,113,118,113,67,61,74,39,52,38,55,111,88}[88]\\ -\sparkDot*[Line][111]{111,179,188,146,154,177,191,124,170,122,127,129,140,133,131,195,126,176}[176] - - -\normalsize - -\section{Using color} -It is possible to mark single or some values with a specific color, which must -be given in binary notation, e.g. \verb|ff0000| for red (R-G-B). The macro \verb|\setSparkColor| -\emph{should} include the (last) comma after the value: - -\begin{verbatim} -Text \sparkBar{14,95,68,9,19,41,\setSparkColor{ff0000}{91,}1,81,97,79,45,96,76,17,65,8,92} Text - \sparkBar{!14,95,68,9,19,41,\setSparkColor{ff0000}{91,1,81,97,79,}45,96,76,17,65,8,!92} Text - -Text \sparkDot{14,95,68,9,19,41,\setSparkColor{ff0000}{91,}1,81,97,79,45,96,76,17,65,8,92} Text - \sparkDot{!14,95,68,9,19,41,\setSparkColor{ff0000}{91,1,81,97,79,}45,96,76,17,65,8,!92} Text -\end{verbatim} - -\noindent -Text \sparkBar{14,95,68,9,19,41,\setSparkColor{ff0000}{91,}1,81,97,79,45,96,76,17,65,8,92} Text - \sparkBar{!14,95,68,9,19,41,\setSparkColor{ff0000}{91,1,81,97,79,}45,96,76,17,65,8,!92} Text - -\bigskip -\noindent -Text \sparkDot{14,95,68,9,19,41,\setSparkColor{ff0000}{91,}1,81,97,79,45,96,76,17,65,8,92} Text - \sparkDot{!14,95,68,9,19,41,\setSparkColor{ff0000}{91,1,81,97,79,}45,96,76,17,65,8,!92} Text - -Coloring does \emph{not} work for the star version of the macro and \emph{not} for -\verb|\sparkDot[Line]|. - - -\section{The charsets} - -\subsection{Spark-BarMedium} - -%\includegraphics{images/Spark-BarMedium} - -{\sparkBarMedium -\multido{\iA=32+50}{20000}{\sbox\ZBox{% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\kern0.45pt\fi}}% - \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.45em\fi\kern0.25pt}}% - \usebox\ZBox\\\fi} -} - - -%\string{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1\string} - - - -%-* !"\#\$\%'()*+,-./0123456789.;<=>@CDEGHILNOSTU[\textbackslash]\_ht\{\_\}°¢ - -\subsection*{Spark-BarNarrow} - -{\sparkBarNarrow -\multido{\iA=32+50}{20000}{\sbox\ZBox{% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\kern0.35pt\fi}}% - \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.35em\fi\kern0.25pt}}% - \usebox\ZBox\\\fi} -} - -\subsection*{Spark-BarThin} - -{\sparkBarThin -\multido{\iA=32+50}{20000}{\sbox\ZBox{% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\kern0.1pt\fi}}% - \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.1em\fi\kern0.25pt}}% - \usebox\ZBox\\\fi} -} - - -\subsection*{Spark-DotMedium} - -{\sparkDotMedium -\multido{\iA=32+50}{20000}{\sbox\ZBox{% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\kern0.35pt\fi}}% - \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.35em\fi\kern0.25pt}}% - \usebox\ZBox\\\fi} -} - - -\subsection*{Spark-DotSmall} - -{\sparkDotSmall -\multido{\iA=32+50}{20000}{\sbox\ZBox{% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\kern0.2pt\fi}}% - \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.2em\fi\kern0.25pt}}% - \usebox\ZBox\\\fi} -} - - -\subsection*{Spark-DotLine} - -{\sparkDotLine -\multido{\iA=32+50}{20000}{\sbox\ZBox{% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\kern0.4pt\fi}}% - \ifdim\wd\ZBox>0pt \sbox\ZBox{\makebox[4em][r]{\iA: }% - \multido{\iB=\iA+1}{50}{% - \sbox\SBox{\symbol{\iB}}% - \ifdim\wd\SBox>0pt\usebox\SBox\else\kern0.4em\fi\kern0.25pt}}% - \usebox\ZBox\\\fi} -} - - - -\nocite{*} -\printbibliography - - -\end{document} - - -

{14,95,68,9,19,41,91,1,81,97,79,45,96,76,17,65,8,92}

- -

{19,32,93,4,95,46,13,23,50,86,94,68,58,41,89,57,74,8}

- -

{13,15,59,73,42,1,41,51,4,97,35,55,37,24,89,21,30,22}

- -

{54,39,26,65,29,58,36,99,16,56,76,69,71,77,7,40,79,1}

- -

{1,79,88,46,54,77,91,24,70,22,27,29,40,33,31,95,26,76}

- -

{9,4,2,1,6,7,3,8,3,7,1,4,9,2,8,5,1,8}

-\NewDocumentCommand\spark{omo}{{\sparklinesbarmedium - \IfValueT{#1}{#1}\string{#2\string}\IfValueT{#3}{#3}}} -- cgit v1.2.3