]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/ja/Math.lyx
German and Japanese Intro.lyx: fix a link
[lyx.git] / lib / doc / ja / Math.lyx
index a2097a9e53f75b9620f42dcd3cce946ef4756ca0..24b14a2b9299ae16c13ee5155e0ab06174938eee 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
@@ -876,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*
@@ -1793,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
@@ -2006,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
 
 
@@ -25696,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
@@ -27805,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
@@ -29585,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
@@ -29595,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
@@ -30926,6 +30951,7 @@ status open
 \begin_layout Plain Layout
 
 \series bold
+\color none
 (注意)
 \series default
 ラテン文字を使うと、一つの文書の中で、最大26個の数式しか番号を振ることができません。
@@ -31758,6 +31784,7 @@ status open
 \begin_layout Plain Layout
 
 \series bold
+\color none
 【註】
 \backslash
 ce
@@ -31795,6 +31822,43 @@ hyphen$Cl}
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\color none
+\lang english
+Note:
+\series default
+ It is not possible in LyX to use the character ^ to get an up-arrow as
+ described in the 
+\series bold
+mhchem
+\series default
+ manual.
+ One instead uses a negative thin space followed by the command 
+\series bold
+
+\backslash
+uparrow
+\series default
+: 
+\begin_inset Formula $\ce{Fe + 2H+ -> Fe^{2+} + H2\negthinspace\uparrow}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -33871,6 +33935,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 break-paragraph;math-extern maxima
+\end_layout
+
 \begin_layout Standard
 \begin_inset Newpage newpage
 \end_inset
@@ -34796,7 +35017,7 @@ status collapsed
 \series bold
 
 \backslash
-usepackage[samesize]{cancel}
+usepackage{cancel}
 \end_layout
 
 \begin_layout Standard
@@ -35041,6 +35262,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
@@ -37015,7 +37394,6 @@ Vert
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring 参考文献
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "TLC2"
@@ -37036,7 +37414,6 @@ The LaTeX Companion
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring 参考文献
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "Mathmode"
@@ -37055,7 +37432,6 @@ target "ftp://ftp.dante.de/tex-archive/info/math/voss/mathmode/Mathmode.pdf"
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring 参考文献
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "AMS"
@@ -37087,7 +37463,6 @@ target "ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf"
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring 参考文献
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "Symbols"
@@ -37106,7 +37481,38 @@ target "ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
 \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
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "hyperref"
@@ -37139,7 +37545,6 @@ target "http://www.tug.org/applications/hyperref/ftp/doc/manual.pdf"
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring 参考文献
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "mhchem"
@@ -37172,7 +37577,6 @@ target "http://www.tug.org/applications/hyperref/ftp/doc/manual.pdf"
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring 参考文献
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "Mathclap"
@@ -37216,7 +37620,6 @@ mathclap
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring 参考文献
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "Duden"
@@ -37233,7 +37636,6 @@ Duden Band 1
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring 参考文献
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "Checklist"