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

Содержимое удалено Содержимое добавлено
Нет описания правки
Строка 27:
 
{| class="wikitable" latexfontsize="scriptsize"
!width="15%"|TypeТип
!Встроенная (в текст) формула
!Inline (within text) formulas
!Выключенная (на отдельной строке) формула
!Displayed equations
!Выключенная формула с автонумерацией
!Displayed and automatically numbered equations
|-
!Окружение
!Environment
|{{LaTeX/LaTeX|code=math}}
|{{LaTeX/LaTeX|code=displaymath}}
|{{LaTeX/LaTeX|code=equation}}
|-
! width="15%"|LaTeXСокращение shorthandLaTeX
|{{LaTeX/LaTeX|code=\(...\) }}
|{{LaTeX/LaTeX|code=\[...\]}}
|
|-
!width="15%"|TeXСокращение shorthandTeX
|{{LaTeX/LaTeX|code=$...$}}
|{{LaTeX/LaTeX|code=$$...$$ }}
|
|-
!width="20%"|CommentКомментарий
|
|
|{{LaTeX/LaTeX|code=equation*}} (starredверсия versionсо звездочкой) suppressesубирает numberingнумерацию, butно требует requiresиспользования amsmath
|}
'''Внимание''': Следует избегать использования {{LaTeX/LaTeX|code=$$...$$}} , так как это может вызывать проблемы, особнно с макросами AMS-LaTeX. Кроме того, в случае возникновения проблем сообщения об ошибках могут оказаться бесполезными.
'''Suggestion''': Using the {{LaTeX/LaTeX|code=$$...$$}} should be avoided, as it may cause problems, particularly with the AMS-LaTeX macros. Furthermore, should a problem occur, the error messages may not be helpful.
 
TheОкружения {{LaTeX/LaTeX|code=equation*}} andи {{LaTeX/LaTeX|code=displaymath}} environmentsявляются areфункционально functionally equivalentэквивалентными.
 
If you are typing text normally, you are said to be in ''text mode'', but while you are typing within one of those mathematical environments, you are said to be in ''math mode'', that has some differences compared to the ''text mode'':