Математические формулы в LaTeX: различия между версиями

Содержимое удалено Содержимое добавлено
→‎Sums and integrals: Перевод
Строка 331:
However this requires the {{LaTeX/LaTeX|code=\usepackage{letltxmacro}<!---->}} package
 
== SumsРяды andи integralsинтегралы ==
TheКоманды {{LaTeX/LaTeX|code=\sum}} andи {{LaTeX/LaTeX|code=\int}} commandsсоздают insertсимволы theРяда sumи andИнтеграла integralсоответсвенно. symbolsНижний respectively,предел withзадаётся limitsсимволом specified"_", usingа theверхний caret (<code>"^</code>) and underscore (<code>_</code>)". Пример The typical notation for sumsиспользования isРяда:
{{LaTeX/Example|code=
 
Строка 341:
\,</math>
}}
или
or
{{LaTeX/Example|code=
 
Строка 352:
 
 
Пределы для интегралов задаются по правилам такой же нотации, что и для Рядов. Так же важно обозначать дифференциал некоторой величины прямым шрифтом, что достигается командой "{{LaTeX/LaTeX|code=\mathrm}}", и с небольшим отступом от подынтегрального выражения с помощью команды "{{LaTeX/LaTeX|code=\,}}"
The limits for the integrals follow the same notation. It's also important to represent the integration variables with an upright d, which in math mode is obtained through the \mathrm{} command, and with a small space separating it from the integrand, which is attained with the \, command.
{{LaTeX/Example|code=
 
\int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x
 
|render=<math>
\int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x
\,</math>
}}
 
Есть много других "больших" команд, которые работают подобным образом:
There are many other "big" commands which operate in a similar manner:
{|
| <code>\sum</code> ||width="5%"| <math>\sum \,</math>
Строка 401:
|}
 
ForЧто moreбы integralиспользоваться symbols,больше includingинтегральных thoseсимволов, notкоторые includedне byвходят defaultв in theшрифт Computer Modern font, tryподключите theпакет {{LaTeX/Package|esint}} package.
 
TheКоманда {{LaTeX/LaTeX|code=\substack}} command<ref name="amsmath"/> allowsпозволяет theиспользовать useдва ofобратных слэша {{LaTeX/LaTeX|code=\\}} toдля записи пределов writeРяда theили limitsинтеграла overв multipleнесколько linesстрок:
{{LaTeX/Example|code=
 
Строка 417:
}}
 
Если вы хотите, чтобы пределы интеграла были указаны выше или ниже символа, используйте команду {{LaTeX/LaTeX|code=\limits}}:
If you want the limits of an integral to be specified above and below the symbol (like the sum), use the {{LaTeX/LaTeX|code=\limits}} command:
{{LaTeX/Example|code=
 
Строка 426:
\,</math>
}}
HoweverОднако ifесли youвы wantхотите, thisчтобы toэто applyприменялось toко ALLВСЕМ integralsинтегралам, itто isнужно preferableуказать to specify theпараметр {{LaTeX/Parameter|intlimits}} optionпри whenподключении loading theпакета {{LaTeX/Package|amsmath}} package:
{{LaTeX/Usage|code=
\usepackage[intlimits]{amsmath}
}}
 
SubscriptsНижние andи superscriptsверхние inпределы otherв contextsдругих asконтекстах, wellа asтакже otherдругие parametersпараметры toпакета {{LaTeX/Package|amsmath}} packageсвязанные relatedс toними, themописаны areв describedглаве in [[LaTeX/Advanced_Mathematics#Advanced_formatting|Advanced Mathematics]] chapter.
 
ForДля biggerбольших integrals,интегралов youможно mayиспользовать use personal declarations, or theпакет {{LaTeX/Package|bigints}} package <ref name=LM> http://hdl.handle.net/2268/6219</ref>.
 
== Brackets, braces and delimiters ==