]> git.lyx.org Git - features.git/commitdiff
Math.lyx: add missing things from previous commit
authorUwe Stöhr <uwestoehr@web.de>
Fri, 6 Jan 2012 21:54:02 +0000 (21:54 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Fri, 6 Jan 2012 21:54:02 +0000 (21:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40580 a592a061-630c-0410-9148-cb99ea01b6c8

lib/doc/fr/Math.lyx
lib/doc/ja/Math.lyx

index 25a5fae673881fdbd7f0d1ea5997e0dfdfa80b73..dbe34749b0a2d1ee909d3425d4667ce44dfa8c50 100644 (file)
@@ -36143,11 +36143,11 @@ To change the size of
 cancelto
 \series default
 's 
-\begin_inset Quotes eld
+\begin_inset Quotes fld
 \end_inset
 
 subscript
-\begin_inset Quotes erd
+\begin_inset Quotes frd
 \end_inset
 
  value one can load the package 
index f16195c24b66d36887f8c4924b253c2db1ce32d9..085f713a87cd3ed89dcac82968f1a879344f6924 100644 (file)
@@ -35222,6 +35222,164 @@ cancelto
 
 \end_layout
 
+\begin_layout Standard
+
+\lang english
+To change the size of 
+\series bold
+
+\backslash
+cancelto
+\series default
+'s 
+\begin_inset Quotes eld
+\end_inset
+
+subscript
+\begin_inset Quotes erd
+\end_inset
+
+ value one can load the package 
+\series bold
+cancel
+\series default
+ with either the option 
+\series bold
+samesize
+\series default
+ which leads to the same size as for the canceled value or with the option
+\series bold
+Smaller
+\series default
+ which makes is it a bit smaller than the size one gets without using a
+ package option.
+ In this document 
+\series bold
+cancel
+\series default
+ was loaded with this line:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage[samesize]{cancel}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To color the cancellation bar one adds this command as TeX code:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+CancelColor}{
+\backslash
+color{red}}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+red
+\series default
+ can be replaced by a color of your choice.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+CancelColor}{
+\backslash
+color{red}}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula 
+\[
+\frac{\left(x_{0}+bB\right)^{2}}{\left(1+b^{2}\right)^{\cancelto{2}{3}}}=\frac{x_{0}^{2}+B^{2}-r_{g}^{2}}{\cancel{1+b^{2}}}
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+CancelColor}{
+\backslash
+color{black}}
+\end_layout
+
+\end_inset
+
+
+\lang english
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\lang english
+reset the color
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For further customizations, see the documentation of the package
+\lang japanese
+\series bold
+cancel
+\series default
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "cancel"
+
+\end_inset
+
+.
+\end_layout
+
 \begin_layout Subsection
 節見出し中の数式
 \begin_inset CommandInset label