[texworks] SCRIPTS: inserting accented letters
Paul A Norman
paul.a.norman at gmail.com
Tue Feb 1 02:57:06 CET 2011
Hi,
After a request for information on the list for inserting accented letters
( "How can I show mutated vowels (umlaut)"), thought to make a little
customisable trial script for situations where the occasional accented
letter is required in differing languages.
http://code.google.com/p/texworks/issues/detail?id=261#c44
This can be achieved in LaTeX using \stuff but as it seems that under a
UTF-8 document using pdflatex these direct characters come out directly in
the pdf, I have left it as it is for now. Also it is easier to work with, if
the character already looks somewhat like its pdf version.
Should work in differing OS-es hopefully - appreciate any feedback on that
point particularly please - I may need to change to a numeric utf-8 style
generation of the characeters.
I've set the short cut to Alt+C Alt+A (Character - Accented) - you can
change that at the top of the script.
When inserted in your document, these (especially capitals) may look strange
in certain editor fonts, but should produce ok under pdflatex, if your
production font has the characters
and if
% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
is at the top of your TeXworks document.
Paul
paul.a.norman at gmail.com
TwScript.paulanorman.com
INSTALL:
Unzip to any directory under you TeXworks script directory - see
http://code.google.com/p/texworks/wiki/TipsAndTricks?can=5#Locating_and_customizing_TeXworks_resources
for further information.
Change the Alt key combination if you want/need to avodid conflicts with any
existing scripts.
Use Tw Menu item, Scripts/Scripting TeXworks/Reload
USAGE:
In you editing document Hold down the Alt Key and before releasing it, tap
the A and then the C keys, than release the Alt key.
Drop down boxe(s) appear, for speed use the arrow keys, and the Enter Key to
select.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20110201/a8b24b92/attachment-0001.html>
More information about the texworks
mailing list