[texworks] Auto-completion - Document Jumps

Paul A Norman paul.a.norman at gmail.com
Wed Jun 15 01:10:24 CEST 2011


Hi,

Was wondering if multicols is useful enough to get into the default
LaTeX list somewhere?
\begin{multicols}{#INS#}#RET#•#RET#\end{multicols}#RET#

Of course that would be in present format ...

{multicols}{#INS#}#RET#•#RET#\end{multicols}#RET#

Also through the recent discussion I realised that there is a useful
by product to all this.
Didn't spot it in the manual during a quick look so here goes --

Aside from auto-completion, any number of the following can be
sprinkled through a document ...

%•
%:  <text> if you want a strong Tags entry•

... and they provide a convenient keyboard jump to location using

Crtl-<TAB> (forwards),
and SHIFT-Crtl-<TAB> (backwards)

-- useful when editing in one place and then needing to mark and go
elsewhere  and pick something up and go back etc etc

On Windows (Xp at least) with Number Lock on using the Numeric Keypad
 <ALT key> 0149

Should get you a bullet (for more see
http://www.allgraphicdesign.com/graphicsblog/2008/02/13/how-to-make-keyboard-bullets-stars-hearts-french-accents-copyright-symbols-more-with-the-alt-key/
)

MacOS I think -  Option+8
Use the Keycaps program to check where various characters are on your keyboard?

Linux varies?
http://en.wikipedia.org/wiki/Bullet_(typography)

Paul

P.S. a simple script for inserting bullets if keyboard is too difficult

// TeXworksScript
// Title:  Make Bullet
// Description: Inserts a bullet for autocompletion
// Author:  Paul Norman
// Version: 0.1
// Date: 2011-03-05
// Script-Type: standalone
// Context: TeXDocument
// Shortcut: Alt+M, Alt+B

 TW.target.insertText("\u2022");



More information about the texworks mailing list