]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/ja/Math.lyx
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / lib / doc / ja / Math.lyx
index b9b91467d46099cc2c55001badbf1a0bad54920e..44fd4a9a1d76d91400162c4f2da582e39a94aef1 100644 (file)
 %\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
 %\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
 
-% increase link area for cross-references and autoname them,
-%\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
-\newlength{\abc}
-\settowidth{\abc}{\space}
-\AtBeginDocument{%
-\addto\extrasenglish{
- \renewcommand{\equationautorefname}{\hspace{-\abc}}
- \renewcommand{\sectionautorefname}{sec.\negthinspace}
- \renewcommand{\subsectionautorefname}{sec.\negthinspace}
- \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}}
-}
-
 % don't load packages twice
 % see first footnote in sec. 9.3
 \@ifundefined{textcolor}{\usepackage{color}}{}
 % provides caption formatting
 %\setkomafont{captionlabel}{\bfseries}
 
-% used in sec. 23.6
+% used in sec. 24.5
 \usepackage[samesize]{cancel}
 
 % enables calculation of values
 \usepackage{calc}
 
-% for multiple columns used in sec. 23.7
+% for multiple columns used in sec. 24.7
 \usepackage{multicol}
 
 % needed in sec. 19.4
@@ -299,6 +287,10 @@ eurosym
 \series default
 ・
 \series bold
+mathdots
+\series default
+・
+\series bold
 mhchem
 \series default
 ・
@@ -872,6 +864,32 @@ spce
 \end_inset
 
 のような矢印は、キーボードから対応する矢印キーを押すことを表します。
+\lang english
+The 
+\family sans
+Tab
+\family default
+ key can often be used instead of 
+\begin_inset Formula $\to$
+\end_inset
+
+ and 
+\begin_inset Formula $\downarrow$
+\end_inset
+
+, and 
+\family sans
+Shift+Tab
+\family default
+ instead of 
+\begin_inset Formula $\leftarrow$
+\end_inset
+
+ and 
+\begin_inset Formula $\uparrow$
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Subsection*
@@ -1789,19 +1807,6 @@ spce
 \end_inset
 
 e^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce 
-\end_layout
-
-\end_inset
-
-
 \backslash
 frac
 \begin_inset ERT
@@ -2002,21 +2007,13 @@ cfracright
 cfrac
 \series default
 は中央揃えです。以下の各分数は、それぞれの揃え位置を示しています。
-\begin_inset Newline newline
-\end_inset
-
-
 \series bold
 
-\begin_inset Formula $\cfrac[l]{A}{B+C}$
-\end_inset
-
-, 
-\begin_inset Formula $\cfrac{A}{B+C}$
-\end_inset
+\begin_inset Formula 
+\[
+\cfrac[l]{A}{B+C}\,,\,\cfrac{A}{B+C}\,,\,\cfrac[r]{A}{B+C}
+\]
 
-, 
-\begin_inset Formula $\cfrac[r]{A}{B+C}$
 \end_inset
 
 
@@ -5631,7 +5628,7 @@ Note:
 \series default
  LaTeX limits the number of matrix columns with decorations to 10.
  If you need more than 10
-\begin_inset space \thinspace{}
+\begin_inset space ~
 \end_inset
 
 columns, you have to add this line to the document preamble:
@@ -25692,6 +25689,20 @@ status collapsed
 
 \begin_layout Standard
 行内数式では、すべての派生型で、関数名の前の余白がすこし小さく設定されます。
+\lang english
+By default the modulo-functions take only the first following character
+ into account.
+ To use more than one character, one has to put them into TeX-braces:
+\begin_inset Formula 
+\begin{align*}
+\underline{\textrm{Command}\raisebox{-0.9mm}{}} &  & \underline{\textrm{Result}}\\
+\mathrm{a\backslash pod\textrm{\spce}bcd} &  & a\pod bcd\\
+\mathrm{a\backslash pod\backslash\{bc\to d} &  & a\pod{bc}d
+\end{align*}
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section
@@ -27801,6 +27812,9 @@ reference "sub:標準align環境"
 align環境
 \series default
 が作り出されることになります。
+\lang english
+The align environment is recommended because it provides in any case a typograph
+ically correct output.
 \end_layout
 
 \begin_layout Standard
@@ -29581,7 +29595,15 @@ status collapsed
 
 \end_inset
 
-で付けることができます。このとき、カーソルは別行建て数式の中になくてはなりません。すると、テキストフィールドの中に
+で付けることができます。このとき、カーソルは別行建て数式の中になくてはなりません。
+\lang english
+Alternatively you can right-click on the formula and choose 
+\family sans
+Equation Label
+\family default
+.
+\lang japanese
+すると、テキストフィールドの中に
 \series bold
 eq:と
 \series default
@@ -29591,7 +29613,14 @@ eq:と
 挿入\SpecialChar \menuseparator
 ラベル
 \family default
-メニューをもういちど使って下さい。
+メニューをもういちど使って下さい
+\lang english
+or you right-click on a formula and then on 
+\family sans
+Equation Label
+\family default
+\lang japanese
+。
 \end_layout
 
 \begin_layout Standard
@@ -33867,6 +33896,163 @@ status open
 
 \end_layout
 
+\begin_layout Section
+
+\lang english
+Computer Algebra Systems
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+LyX offers the exchange between mathematical expressions written in LyX's
+ math editor and external applications or user defined scripts.
+ Currently supported applications are 
+\family sans
+Maple
+\family default
+, 
+\family sans
+Mathematica
+\family default
+, 
+\family sans
+Maxima
+\family default
+ and 
+\family sans
+Octave
+\family default
+.
+ Note that the set of supported mathematical constructs is limited only
+ to very simple cases.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Usage
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Write some expression in a formula, go to the 
+\family sans
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Use Computer Algebra System
+\family default
+ menu and choose the application you have installed on the computer.
+ After that the result of computation should show on the right side of the
+ expression together with the 
+\begin_inset Quotes eld
+\end_inset
+
+=
+\begin_inset Quotes erd
+\end_inset
+
+ operator.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Here are few simple examples (with results from 
+\family typewriter
+Maxima
+\family default
+) to show what kind of computations can be performed:
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Formula $\frac{37}{3}*2-\sum_{i=1}^{3}i^{i}=-\frac{22}{3}$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Formula $\frac{37.0}{3}=12.33333333333333$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Formula $\int_{1}^{2}\sin(x)dx=\cos1-\cos2$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Formula $\det\left[\begin{array}{ccc}
+1 & 6 & 7\\
+2 & 5 & 8\\
+3 & 4 & 17
+\end{array}\right]=-56$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Formula $\lim_{x\rightarrow0}\left(\frac{\sin(x)}{x}\right)=1$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Keyboard shortcut
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Currently there is no keyboard shortcut for calling the algebra applications.
+ One can easily bind a shortcut to the 
+\family sans
+math-extern
+\family default
+ LyX function (see the 
+\family sans
+\emph on
+LyX Functions
+\family default
+\emph default
+ manual).
+ One could e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space ~
+\end_inset
+
+bind the 
+\family sans
+Return
+\family default
+ key inside the math editor.
+ To bind it to 
+\family typewriter
+Maxima
+\family default
+ one would use this shortcut definition command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+command-alternatives paragraph-break;math-extern maxima
+\end_layout
+
 \begin_layout Standard
 \begin_inset Newpage newpage
 \end_inset
@@ -34792,7 +34978,7 @@ status collapsed
 \series bold
 
 \backslash
-usepackage[samesize]{cancel}
+usepackage{cancel}
 \end_layout
 
 \begin_layout Standard
@@ -35037,6 +35223,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
@@ -37099,6 +37443,39 @@ target "ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
 \end_inset
 
 
+\end_layout
+
+\begin_layout Bibliography
+\labelwidthstring 参考文献
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "cancel"
+
+\end_inset
+
+LaTeX 
+\series bold
+cancel
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ぱっけーじ@パッケージ ! cancel
+\end_layout
+
+\end_inset
+
+パッケージの
+\begin_inset CommandInset href
+LatexCommand href
+name "取扱説明書"
+target "http://mirrors.ctan.org/macros/latex/contrib/cancel/cancel.pdf"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Bibliography