summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/inconsolata/test.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-05 23:45:52 +0000
committerKarl Berry <karl@freefriends.org>2009-06-05 23:45:52 +0000
commitbcf8a283f49f11085e8fa38f2dd47905a8e9b060 (patch)
tree732b21e3d29bae4e7aa5969e6357047657dd3402 /Master/texmf-dist/doc/fonts/inconsolata/test.tex
parenta833487de83417141e1037d2f4ba3878fd63f37b (diff)
new font inconsolata
git-svn-id: svn://tug.org/texlive/trunk@13639 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/inconsolata/test.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/inconsolata/test.tex45
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/inconsolata/test.tex b/Master/texmf-dist/doc/fonts/inconsolata/test.tex
new file mode 100644
index 00000000000..fdea8594bca
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/inconsolata/test.tex
@@ -0,0 +1,45 @@
+% Copyright 2009 Karl Berry.
+% You may freely use, modify and/or distribute this file.
+
+\documentclass{article}
+
+% No need for excessive margins.
+\usepackage{fullpage}
+
+% Try to output everything in a given TFM.
+\usepackage{fonttable}
+
+% What we're testing.
+\usepackage{inconsolata} % can use [scaled=1.1]
+
+% For testing, much easier not to have to put entries in the system map files.
+\pdfmapfile{+fi4.map}
+
+\usepackage[T1]{fontenc}
+
+\def\dofontenc#1#2{{\tt #1:} \fonttable{#2 at 15pt}\newpage}
+
+\begin{document}
+
+\thispagestyle{empty}
+\pagestyle{empty}
+
+% tables of (mostly) supported encodings.
+% To actually use them in a document, need to specify
+% \usepackage[XYZ1]{fontenc}
+% where XYZ1 is the LaTeX encoding name: T1, TS1, EI1, OT1, LY1, QX.
+%
+\dofontenc{ec/T1}{ec-inconsolata}
+\dofontenc{EI1}{ei1-inconsolata}
+\dofontenc{qx/QXtt}{qx-inconsolata}
+\dofontenc{rm/OT1tt}{rm-inconsolata}
+\dofontenc{texnansi/LY1}{texnansi-inconsolata}
+\dofontenc{TS1}{ts1-inconsolata}
+
+\rm A bit of text in cmr: Hello \textparagraph \texteuro end.\par
+\tt Switching to tt for Inconsolata: ``Hello'' \textparagraph
+end. O0123456789. `H\'e\'al\`e\`ane' \& \`\i
+\'\j see documentation about dotless j.
+
+\sf this is sf.
+\end{document}