[system] Repository:
ViewVC logotype

Revision 6863

Jump to revision: Previous Next
Author: gage
Date: Tue Jun 14 07:02:31 2011 UTC (8 years, 5 months ago)
Log Message:
the AddToTeXPreamble()  command now adds short commands
(such as \newcommand{\foo}{bar} )

Lines such as 
AddToTeXPreamble("\\newcommand{\\myVec}[1]{ \\overrightarrow{#1}  }" );

are best  added in PGcourse.pl so that the style of \myVec for writing vectors
is determined for the whole course.

You could also use it in a single problem, but the style would not 
be made for hardcopy. If it were and you used the statement in two problems
there would be a "redefine error".

Changed paths:

Path Details
Directorytrunk/pg/macros/PGbasicmacros.pl modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9