diff options
Diffstat (limited to 'Master/texmf-dist/doc/pdftex/01-fake-interword-space/fake-interword-space.tex')
-rw-r--r-- | Master/texmf-dist/doc/pdftex/01-fake-interword-space/fake-interword-space.tex | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/pdftex/01-fake-interword-space/fake-interword-space.tex b/Master/texmf-dist/doc/pdftex/01-fake-interword-space/fake-interword-space.tex new file mode 100644 index 00000000000..09d7bff39f4 --- /dev/null +++ b/Master/texmf-dist/doc/pdftex/01-fake-interword-space/fake-interword-space.tex @@ -0,0 +1,34 @@ +\input plain.tex +\input pdftexconfig.tex +\input pdftexmagfix.tex + +\pdfmapline{+dummy-space <dummy-space.pfb} +\pdfglyphtounicode{space}{0020} +\pdfcompresslevel=0 +\pdfobjcompresslevel=0 + +Text with no interword spaces. + +\pdfinterwordspaceon + +Switch to text with faked interword spaces. + +\pdfinterwordspaceoff + +Back to text with no interword \pdffakespace spaces. + +% Test of \pdffakespace in vertical mode +\pdffakespace + +% Test of \pdffakespace in math mode +$a\pdffakespace b$ + +Back to text with no interword \pdffakespace\pdffakespace spaces. + +% Test of \pdffakespace in vertical mode +\pdffakespace +\pdffakespace + +% Test of \pdffakespace in math mode +$a\pdffakespace \pdffakespace b$ +\bye |