diff options
author | Karl Berry <karl@freefriends.org> | 2018-07-24 21:44:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-07-24 21:44:53 +0000 |
commit | a30761b01ce80a822f0c544edc4c2b3264dbc876 (patch) | |
tree | 8377e5e48856baf63224b5e23bab48b7aa74bfbc /Master/texmf-dist/doc/latex | |
parent | 1b726505a6706626ec3f57ce6205d1665a963f2f (diff) |
xfakebold (24jul18)
git-svn-id: svn://tug.org/texlive/trunk@48268 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/xfakebold/Changes | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/xfakebold/README | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdf | bin | 0 -> 64970 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex | 81 |
4 files changed, 99 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/xfakebold/Changes b/Master/texmf-dist/doc/latex/xfakebold/Changes new file mode 100644 index 00000000000..6668f7a8912 --- /dev/null +++ b/Master/texmf-dist/doc/latex/xfakebold/Changes @@ -0,0 +1,4 @@ +xfakebold.sty ---------------- + +v 0.01 2018-07-23 first CTAN version + diff --git a/Master/texmf-dist/doc/latex/xfakebold/README b/Master/texmf-dist/doc/latex/xfakebold/README new file mode 100644 index 00000000000..4f88583c69e --- /dev/null +++ b/Master/texmf-dist/doc/latex/xfakebold/README @@ -0,0 +1,14 @@ +This package akkows to use bold characters in text math mode. +It works only with vectorfonts which are created by outlines. + + +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. + + +Herbert Voß, hvoss@tug.org
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdf b/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdf Binary files differnew file mode 100644 index 00000000000..99145c631c1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdf diff --git a/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex b/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex new file mode 100644 index 00000000000..71fa8372720 --- /dev/null +++ b/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex @@ -0,0 +1,81 @@ +% $Id: xfakebold-doc.tex 787 2018-07-23 18:03:13Z herbert $ +\listfiles +\documentclass[english]{article} +\usepackage{dejavu-otf} +\usepackage{xfakebold} +%\usepackage{luatex85} +%\pdfcompresslevel=0 +\usepackage{babel} +\usepackage[a4paper,tmargin=1cm,bmargin=1.5cm,includeheadfoot]{geometry} +\usepackage{listings} +\title{\texttt{xfakebold}, v. 0.01\\ using bold characters with \texttt{pdflatex} or \texttt{lualatex}} +\author{Herbert Voß} + +\lstset{basicstyle=\ttfamily\small,language={[LaTeX]TeX},frame=lrtb} +\begin{document} + +\maketitle + +\tableofcontents +\section{Introduction} +The package fakes a vector font with outline characters by the text render of PDF. +It writes directly into the pdf output with \verb|\pdfliteral| (pdflatex ) or \verb|\pdfextension| \verb|literal| +(lualatex). The package defines two macros which can be used in text and in math mode. However, for the text +mode one should use the bold version of the text font which should be available in most cases. This is different to the +math mode where only some free math fonts provide a bold version. + +%\meaning\setBold + +%\meaning\unsetBold + +\section{Optional argument} +The only package option is \verb|bold| which is preset by 0.3, which is the linewidth of +the outlines of the characters. + +\begin{lstlisting} +\usepackage[bold=0.6]{fakebold} +\end{lstlisting} + +makes the characters more bold. + +\section{The example code} + +\begin{lstlisting} +\documentclass{article} +\usepackage{fakebold} +\begin{document} +An example: +$\pi^{\pi}=\directlua{tex.print(math.pi^math.pi)}$ +$\displaystyle\int\limits_1^{\infty}\frac1{x^2}\symup dx=1$ + +\setBold\noindent +An example: +$\pi^{\pi}=\directlua{tex.print(math.pi^math.pi)}$ +$\displaystyle\int\limits_1^{\infty}\frac1{x^2}\symup dx=1$ + +\unsetBold\noindent +An example: +$\pi^{\pi}=\directlua{tex.print(math.pi^math.pi)}$ +$\displaystyle\int\limits_1^{\infty}\frac1{x^2}\symup dx=1$ +\end{document} +\end{lstlisting} + +\section{The output} + + +An example: +$\pi^{\pi}=\directlua{tex.print(math.pi^math.pi)}$ +$\displaystyle\int\limits_1^{\infty}\frac1{x^2}\symup dx=1$ + +\setBold\noindent +An example: +$\pi^{\pi}=\directlua{tex.print(math.pi^math.pi)}$ +$\displaystyle\int\limits_1^{\infty}\frac1{x^2}\symup dx=1$ + +\unsetBold\noindent +An example: +$\pi^{\pi}=\directlua{tex.print(math.pi^math.pi)}$ +$\displaystyle\int\limits_1^{\infty}\frac1{x^2}\symup dx=1$ + + +\end{document}
\ No newline at end of file |