Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
eoa-publication-model/examples/124_eoatex/texfiles/07_math.tex
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
58 lines (48 sloc)
1.52 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\EOAsection{Mathematics} | |
\EOAnewtheorem{theorem1}{My Theorem} | |
Latex is very good in typesetting math. There are inline equations | |
like \EOAineq{\sqrt{9} = 3} and block equations (see below). Here is | |
another equation: \EOAineq{2^2 = 4}. | |
\begin{EOAequation}{LabelOfThisEquation} | |
6 + 6 = 12 | |
\end{EOAequation} | |
\begin{EOAequation}{AnotherLabelOfThisEquation} | |
g_{\mu \nu} = 7 | |
\end{EOAequation} | |
Block equations can be unnumbered, as well. | |
\begin{EOAequationnonumber} | |
6 + 6 = 12 | |
\end{EOAequationnonumber} | |
\begin{EOAsubequations}{subequations1} | |
Formulas can be grouped in sub-equations. | |
\begin{align} | |
6 + 6 = 12\\ | |
12 + 12 = 24\\ | |
24 + 24 = 48 | |
\end{align} | |
\end{EOAsubequations} | |
\begin{theorem1} | |
A statement. | |
\end{theorem1} | |
An array of equations. All of them numbered individually\EOAindex{Indexing|)}. | |
\begin{EOAequationarray}{LabelOfArray} | |
1 + 1 = 2\\ | |
4 + 4 = 8 | |
\end{EOAequationarray} | |
An unnumbered array of equations: | |
\begin{EOAequationarraynonumber} | |
1 + 1 = 2\\ | |
2 + 2 = 4\\ | |
4 + 4 = 8 | |
\end{EOAequationarraynonumber} | |
\begin{theorem1} | |
Another statement. | |
\end{theorem1} | |
\EOAsection{Chemistry} | |
Here is an example of an inline chemical formula. We embed it in its | |
original context: The deposition of calcite (CaCO\EOAdown{3}), the | |
dominant mineral in karst environments, is controlled by the | |
reversible chemical reaction \EOAchem{2HCO3^- + Ca^2+ <=> CaCO3 + CO2 | |
+ H2O}. Consequently, the dissolution or precipitation of calcium | |
carbonate is strictly influenced by changes in the chemical | |
equilibrium of this reaction. |