mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 19:14:51 +00:00
Math.lyx: add missing things from previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40580 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
74160055ba
commit
436ed2cf19
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user