[texworks] Setting Typeset Preferences in head of preamble in document

Stefan Löffler st.loeffler at gmail.com
Mon Feb 28 21:05:56 CET 2011


On 2011-02-28 11:32, Paul A Norman wrote:
> 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
> (http://www.latex-community.org/forum/viewtopic.php?f=5&t=3021&st=0&sk=t&sd=a&start=0#p11886)

This is a MiKTeX modification - at least it doesn't work under TeXLive.

> If its mentioned in our Tw manual I missed it so far, but this seems
> pretty useful.
> You seem to need to place these above the normal template' suggested
> top two lines
> % !TEX TS-program = pdflatex
> % !TEX encoding = UTF-8 Unicode

These two are documented in the manual (look at the index). There is
more at http://code.google.com/p/texworks/wiki/TipsAndTricks that may be
of interest to you.


More information about the texworks mailing list