[texworks] Setting Typeset Preferences in head of preamble in document
Paul A Norman
paul.a.norman at gmail.com
Mon Feb 28 11:32:58 CET 2011
Been used to setting my typesetting runtime preferences in the Edit
Preferences under Typesetting tab and processing tools
Just found out (under MiKTeX at least) that the very top of a .tex
(pdflatex) document can receive pdflatex typesetting switches, like
changing the output name
If its mentioned in our Tw manual I missed it so far, but this seems
You seem to need to place these above the normal template' suggested
top two lines
% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
List of qavailabel switches:
Not sure yet whether these can be combined on one line.
This one lets you set a different output name when you need one (like
when using pdfpages package):
of for e.g.
(Obviously sync is not available with a different output name?)
Seems a safer place to use
rather than bulk setting in Tw Preferences.
There is even a -
Presume this is distribution specific e.g. TeXLive would handle this
differently -- or is this a general pdflatex wide thing?
More information about the texworks