# Tag Info

1

To make a format file from matteo.tex, you should simply add at the end of matteo.tex the control word \dump and then type on the command line tex matteo Now a file called matteo.fmt should have been generated. To load such file, you should type on the command line tex &matteo. If the format in matteo.tex does not extends plain tex, in order to ...

10

There have been many attempts to use Postscript's programming power to implement a fuller document-production environment. AFAIK they all fall short of TeX's line-fitting abilities. The most basic is the typewriter emulator from the Postscript Tutorial (Blue Book), which is then extended in the later Reid books (the Green Book and Thinking In Postscript) to ...

19

The insertion of the “frozen \relax” is not documented in the TeXbook, where \relax appears 57 times, mostly in listings. No mention of this insertion is made in the discussion of conditionals. The insertion is documented in section 12.5.3 of TeX by Topic: Of course it's in “TeX the program”: module 510 describes the insertion in incomplete conditionals. ...

6

LaTeX font system is really complicated. You can have some idea of why it's very difficult by looking source code of TeX font. an example, droid package that provide droid font into LaTeX : http://www.ctan.org/tex-archive/fonts/droid How fonts are used by TeX Tex doesn't manipulate fonts, In the first implementation of tex compiler (no ...

19

Well pdflatex can handle true type fonts to a certain extent. E.g. the winfonts package allows to use arial.ttf and other truetype fonts in windows. The main difference between pdftex and the new engines xetex and luatex is not the font format but the existence of the tfm-file with the metric informations: When using pdftex the tfm-file must exist before ...

3

You should use a non active - in the replacement text: \def\foo{\catcode\-=\active \begingroup\lccode~=`- \lowercase{\endgroup\def~}{$-$}% } \begingroup\foo This is a - sign and not a hyphen. \endgroup Now - is a hyphen. \bye In a LaTeX context you probably want to use \ensuremath{-} instead of $-$.

3

morewrites – Always room for a new write stream The pack­age aims to solve the er­ror “No room for a new \write”, which oc­curs when the user or when the user’s pack­ages have ’al­lo­cated too many streams us­ing \newwrite (TeX has a fixed max­i­mum num­ber – 16 – [of] such streams built-in to its code). The pack­age hooks into TeX ...

1

An experiment This approach of breaking vertical boxes helped me. I tried to figure out how many lines I am dealing with in a block. I am usually using the lineno package for that and its \linelabel and \lineref commands. These commands are similar to their \label and \ref counterparts. I am able to get a number of lines using this method. If I need a ...

0

The answers are already exhaustive; I just wanted a snippet that I could quickly paste in a terminal shell after typing pdflatex (only), as a quick reminder - and this seems to work for me: \documentclass{article} \begin{document} %%% % \def\a{1}\def\b{1} \if\a\b{\typeout{T1}}\else{\typeout{F1}}\fi % T1 % \def\a{1}\def\b{0} ...

0


4

You want something like \usepackage{letltxmacro} and \LetLtxMacro\colassavedincludegraphics\includegraphics \renewcommand\includegraphics[2][]{} for disabling the command; for reenabling it \LetLtxMacro\includegraphics\colassavedincludegraphics For the specific command \let might be sufficient, but \LetLtxMacro is safer for commands that accept ...

3

It seems that you are looking for \let: \let\something=\includegraphics

Top 50 recent answers are included