summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/uspace/uspace.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/uspace/uspace.tex')
-rw-r--r--macros/latex/contrib/uspace/uspace.tex16
1 files changed, 10 insertions, 6 deletions
diff --git a/macros/latex/contrib/uspace/uspace.tex b/macros/latex/contrib/uspace/uspace.tex
index b46a4f7b01..add8dfbf46 100644
--- a/macros/latex/contrib/uspace/uspace.tex
+++ b/macros/latex/contrib/uspace/uspace.tex
@@ -1,3 +1,4 @@
+\PassOptionsToPackage{unicode}{hyperref}
\documentclass[paper=B5,DIV=calc,parskip=half]{scrartcl}
\usepackage{ifluatex}
\ifluatex
@@ -5,8 +6,7 @@
\fi
\usepackage{fontspec}
-%\defaultfontfeatures{Ligatures={TeX,Common},Scale=MatchLowercase}
-\setmainfont[]{Charis SIL}
+\setmainfont[Ligatures={TeX,Common}]{Charis SIL}
\setsansfont[Ligatures={TeX,Common}, Scale=MatchLowercase]{TeX Gyre Heros}
\setmonofont[Ligatures=,Scale=MatchLowercase]{DejaVu Sans Mono}
@@ -23,7 +23,7 @@
\\{\small\href{mailto:vhaisman+uspace@gmail.com?subject=[uspace]}{vhaisman@gmail.com}}}{}}
\date{\today}
\title{\texttt{uspace} user manual}
-\subtitle{v0.04}
+\subtitle{v0.05}
\usepackage{xcolor}
\usepackage{multicol}
@@ -31,7 +31,6 @@
\usepackage{metalogo}
\usepackage{hologo}
-\PassOptionsToPackage{unicode}{hyperref}
\usepackage{bookmark}
\hypersetup{
colorlinks,
@@ -40,6 +39,8 @@
urlcolor={blue!80!black},
breaklinks=true}
\urlstyle{same} % don't use monospace font for urls
+\usepackage{footnotehyper}
+\makesavenoteenv{labeling}
\setlength{\emergencystretch}{3em} % prevent overfull lines
@@ -65,6 +66,7 @@
\newcommand{\punctsp}{\textsc{punctuation space}}
\newcommand{\thinsp}{\textsc{thin space}}
\newcommand{\hairsp}{\textsc{hair space}}
+\newcommand{\medmathsp}{\textsc{medium math space}}
\newcommand{\linesep}{\textsc{line separator}}
\newcommand{\nel}{\textsc{next line (nel)}}
\newcommand{\parasep}{\textsc{paragraph separator}}
@@ -93,9 +95,9 @@ and their implementations:\nobreak%
\item[\nbsp{\footnotemark[1]} (\texttt{U+00A0})] \lstinline|~|
\item[\shy{\footnotemark[1]} (\texttt{U+00AD})] \lstinline|\-|
\item[\emquad{\footnotemark[2]} (\texttt{U+2001})] \lstinline|\quad|
-\item[\emspaceC{\footnotemark[2]} (\texttt{U+2001})] \lstinline|\quad|
+\item[\emspaceC{\footnotemark[2]} (\texttt{U+2003})] \lstinline|\quad|
\item[\enquad{\footnotemark[3]} (\texttt{U+2000})] \lstinline|\enskip|
-\item[\enspaceC{\footnotemark[3]} (\texttt{U+2000})] \lstinline|\enskip|
+\item[\enspaceC{\footnotemark[3]} (\texttt{U+2002})] \lstinline|\enskip|
\item[\threePerEm{} (\texttt{U+2004})] \lstinline|\hspace{0.33333em}|
\item[\fourPerEm{} (\texttt{U+2005})] \lstinline|\hspace{0.25em}|
\item[\sixPerEm{} (\texttt{U+2006})] \lstinline|\hspace{0.16667em}|
@@ -103,6 +105,7 @@ and their implementations:\nobreak%
\item[\punctsp{} (\texttt{U+2008})] \lstinline|\hspace{\fontcharwd \font `\,}|
\item[\thinsp{} (\texttt{U+2009})] \lstinline|\leavevmode\allowbreak\,|
\item[\hairsp{} (\texttt{U+200A})] \lstinline|\hspace{0.08333em}|
+\item[\medmathsp{} (\texttt{U+205F})] \lstinline|\hspace{0.22222em}|
\item[\linesep{} (\texttt{U+2028})] \lstinline|\newline|
\item[\nel{} (\texttt{U+0085})] \lstinline|\newline|
\item[\parasep{} (\texttt{U+2029})] \lstinline|\csname par\endcsname|
@@ -127,6 +130,7 @@ This package would not be what it is without help and comments from people of
\begin{description}[style=nextline, labelwidth=4.5em, leftmargin=!,
labelindent=0em]
+ \item[\texttt{v0.05}] Add implementation for \medmathsp{}.
\item[\texttt{v0.04}] Add implementation for \linesep{}, \nel{}
and \parasep{}.
\item[\texttt{v0.03}] Change implementation for \punctsp{} and \thinsp{} to