summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-16 00:38:26 +0000
committerKarl Berry <karl@freefriends.org>2010-02-16 00:38:26 +0000
commit447b3550695ac59a4334aa691831d6fdfb3202df (patch)
tree19b7c0b670d5ea3287fd0c72ae5474872ff70bd1
parent66d52648f02454ea42c196cb510e82db059ceb6d (diff)
anyfontsize doc update (15feb10)
git-svn-id: svn://tug.org/texlive/trunk@17050 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/anyfontsize/anyfontsize.pdfbin0 -> 188161 bytes
-rw-r--r--Master/texmf-dist/doc/latex/anyfontsize/anyfontsize.tex69
2 files changed, 69 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/anyfontsize/anyfontsize.pdf b/Master/texmf-dist/doc/latex/anyfontsize/anyfontsize.pdf
new file mode 100644
index 00000000000..a9520a747b2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/anyfontsize/anyfontsize.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/anyfontsize/anyfontsize.tex b/Master/texmf-dist/doc/latex/anyfontsize/anyfontsize.tex
new file mode 100644
index 00000000000..630c3c5e2eb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/anyfontsize/anyfontsize.tex
@@ -0,0 +1,69 @@
+\documentclass[pagesize=auto]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage[utf8]{inputenc}
+\usepackage{microtype}
+
+\addtokomafont{title}{\rmfamily}
+
+\leftmargini=3.8mm
+\labelsep=1.2mm
+
+\makeatletter
+\l@addto@macro\@listI{\parsep=0mm \itemsep=0mm }
+\makeatother
+
+\title{The \textsf{anyfontsize} package}
+\author{Péter Szabó \texttt{<pts@fazekas.hu>}}
+\date{Sat Feb 3 13:56:49 CET 2007}
+
+
+\begin{document}
+
+\maketitle
+
+\noindent
+\textsf{anyfontsize.sty} is a \LaTeXe\ package that lets the user select any
+font size (via e.\,g.\ \verb+\fontsize{...}{...}\selectfont+), even those
+sizes that are not listed in the \texttt{.fd} file. If such a size is requested,
+\LaTeX\ will search the nearest listed size, and \textsf{anyfontsize} will scale
+that font to the requested size. For a similar functionality that
+works only for the CM fonts, try the \textsf{type1cm.sty} package, or, even
+better, use the new Latin Modern (LM) fonts, which are available at
+any size.
+
+For PostScript \texttt{Type1} fonts (such as Times (with \textsf{times.sty}) or Latin Modern
+(with \textsf{lmodern.sty})), you usually don't need \textsf{anyfontsize.sty}, because these
+fonts are available at all sizes.
+
+\textsf{anyfontsize.sty} doesn't work well with pdf\/\LaTeX\ + the EC fonts (because
+pdf\/\TeX\ won't regenarate missing PK fonts for you). Compile the document
+with \texttt{latex(1)} first (which will regenarte the missing PK fonts), and after
+that you can use \texttt{pdflatex(1)}.
+
+Test with this document:
+%
+\begin{verbatim}
+\documentclass{article}
+\usepackage{anyfontsize}
+\usepackage{t1enc}
+%\input t1cmr.fd
+%\DeclareFontFamily{T1}{cmr}{}
+%\DeclareFontShape{T1}{cmr}{m}{n}{<10>ecrm1000}{}
+\begin{document}
+\fontsize{23}{28}\selectfont foo
+\end{document}
+\end{verbatim}
+
+
+\minisec{History:}
+
+\begin{itemize}
+\item 2007/02/04: original release
+\item 2007/11/22: added space bugfix, as suggested by Christian Schroeppel
+\end{itemize}
+
+\end{document}