[texworks] SCRIPT: format selected characters

Paul A Norman paul.a.norman at gmail.com
Thu May 20 10:00:30 CEST 2010


Here is a small script to facilitate formatting selected text in the
Tw editor, as shown below.

Format Selected Text Characters

Presents a drop-down box to choose one of these standard LaTeX character formats
and applies it to highlighted text in the Tw editor.


\textnormal  textnormal  main document font
\textrm  rmfamily  roman
\textit  itshape  italics
\emph  n/a  emphasis
\textmd  mdseries  medium weight (default)
\textbf  bfseries  boldface
\textup  upshape  upright (default)
\textsl  slshape  slanted
\textsf  sffamily  sans serif
\textsc  scshape  small caps
\texttt  ttfamily  typewriter
\underline  underline  underline
\textsuperscript  n/a  this is superscript

List from:--

 Section 5.2
 "LATEX for Word Processor Users"
 version 1.0.6
 Guido Gonzato, Ph.D.
 November 7, 2009

page: latex4wpsu30.html#x42-480005.2.3

More information about the texworks mailing list