lyx_mirror/lib/layouts/changebars.module
Juergen Spitzmueller 4345331870 Collapsable -> Collapsible (part 4)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This last part updates the layout format and changes collapsable color.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
2017-10-16 10:30:04 +02:00

30 lines
869 B
Plaintext

#\DeclareLyXModule[changebar.sty]{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: the \providecommand statements are necessary to avoid
# error messages from the \renewcommand statements if change
# tracking is turned off in the document.
#
Format 65
AddToPreamble
\usepackage{changebar}
\providecommand{\lyxadded}[3]{}
\providecommand{\lyxdeleted}{}
\renewcommand{\lyxadded}[3]{
{\protect\cbstart\color{lyxadded}{}#3\protect\cbend}
}
\renewcommand{\lyxdeleted}[3]{%
{\protect\cbstart\color{lyxdeleted}\sout{#3}\protect\cbend}
}
EndPreamble