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

Commit 9f162406 by Paul Rubin

Expanded the documentation in README.md.

Removed the pdftex option from the usepackage command (unnecessary?).
Added a default argument in the providecommand command for lyxadded.
1 parent c494f9cd
Showing with 9 additions and 6 deletions
......@@ -6,8 +6,11 @@ This module allows you to add "changebars" (vertical bars) in the margins of doc
The `changebar` package (changebar.sty) must be installed.
### Usage
In `Document > Settings ... > Modules`, select `Change bars` and click `Add` followed by `OK`.
In `Document > Settings... > Modules`, select `Change bars` and click `Add` followed by `OK`.
Change bars will appear in the output only if `Document > Change Tracking > Track Changes` and `Document > Change Tracking > Show Changes in Output` are both selected.
Change bars will appear in the output only if `Document > Change Tracking > Show Changes in Output` is selected.
**IMPORTANT:** Use of the `Change bars` module will cause problems with any compilation method other than PDF (pdflatex).
\ No newline at end of file
**IMPORTANT:** Use of the `Change bars` module will cause problems with any compilation method other than `PDF (pdflatex)`.
### Options
Please consult the package documentation for details regarding options to the `changebar` package. One commonly used option determines the placement of the change bars. The choices (fairly self-explanatory) are `outerbars`, `innerbars` (default), `leftbars` and `rightbars`. To specify the location, enter the option in `Document > Settings... > Document Class > Class options > Custom:`.
\ No newline at end of file
......@@ -17,8 +17,8 @@
Format 49
AddToPreamble
\usepackage[pdftex]{changebar}
\providecommand{\lyxadded}{}
\usepackage{changebar}
\providecommand{\lyxadded}[3]{#3}
\renewcommand{\lyxadded}[3]{%
{\protect\cbstart\color{lyxadded}{}#3\protect\cbend}%
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!