On Tue, Feb 11, 2014 at 7:48 AM, Rich Shepard <[email protected]>wrote:
> On Tue, 11 Feb 2014, Liviu Andronic wrote:
>
> Load the Logical Markup module, then select text, right-click, Text Style,
>> Code.
>>
>
> Liviu,
>
> I was not aware of this module; I'll go look for it. Are modules
> different
> from packages?
>
>
I was not aware of this module either, good to know. But I am not sure I
understand its advantages. All it does is to define 4 new commands
such as
\newcommand{\code}[1]{\texttt{#1}} and similarly for the other tree styles.
So if I apply the "code" command to, say "code fragment" I have
\code{code fragment}
instead of the "fingerpainted"
\texttt{code fragment}
The resulting Latex code seems more complex: I have a new command in the
preamble (\code) that simply applies a "fingerpainting" command instead of
the fingerpainting command itself. Two commands instead of one.
What am I missing?
Stefano
--
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph: +1 (979) 845-2125
Texas A&M University Fax: +1 (979) 845-6421
College Station, Texas, USA
[email protected]
http://stefano.cleinias.org