| ... | ... | @@ -12,13 +12,21 @@ LaTeX - [продвинутая система компьютерной верс |
|
|
|
Набросок грамматики языка:
|
|
|
|
|
|
|
|
` document -> documentclass title author date document_body `
|
|
|
|
|
|
|
|
` documentclass -> article | paper `
|
|
|
|
|
|
|
|
` document_body -> begin text end `
|
|
|
|
|
|
|
|
` text -> plain_text | text command text | eps `
|
|
|
|
|
|
|
|
` command -> textbf | it | section | subsection | itemise `
|
|
|
|
|
|
|
|
` it -> \it{text} `
|
|
|
|
|
|
|
|
` section -> \section{plain_text} `
|
|
|
|
|
|
|
|
` subsection -> \subsection{plain_text} `
|
|
|
|
|
|
|
|
` itemize -> begin_itemize items end_itemize `
|
|
|
|
|
|
|
|
|
| ... | ... | |