Topic: emph.vdm (1 of 1), Read 31 times, 1 File Attachment
Conf: VEDIT Macro Library
From: Fritz Heberlein
Date: Thursday, January 20, 2005 10:47 AM

Here is a short macro for the lazy typist. It inserts LateX
formatting codes depending on cursor position, e.g.:
if CP is inside a word insert "\emph{[word]}", if CP is a blank simply insert "\emph{}", if a block is set insert "\emph{[block]}".
Corresponding key definitions are suggested in the preamble.