Need help? Call 517-432-6200 or ithelp@msu.edu

Commit ff673c26 by Paul Rubin

Initial commit.

0 parents
Showing with 29 additions and 0 deletions
File mode changed
#\DeclareLyXModule[changebar]{Change bars}
#
#DescriptionBegin
#Enables LyX to add vertical change bars in the margin of PDF output
#when change tracking is turned on and pdflatex output format is chosen.
#DescriptionEnd
#
#Author: Paul A. Rubin (rubin@msu.edu)
#Based on code proposed by Juergen Spitzmueller
#(http://comments.gmane.org/gmane.editors.lyx.general/66666).
#
# Note: providecommand is needed to prevent compilation errors if a
# document does not have both change tracking and display changes in output
# enabled.
#
Format 49
AddToPreamble
\usepackage[pdftex]{changebar}
\providecommand{\lyxadded}{}
\renewcommand{\lyxadded}[3]{%
{\protect\cbstart\color{lyxadded}{}#3\protect\cbend}%
}
\providecommand{\lyxdeleted}{}
\renewcommand{\lyxdeleted}[3]{%
{\protect\cbstart\color{lyxdeleted}\sout{#3}\protect\cbend}%
}
EndPreamble
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!