Skip to content

Commit

Permalink
Fixing LaTeX plugin doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Feb 1, 2017
1 parent 7c9fbb8 commit af16221
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v7/latex/README.md
Expand Up @@ -33,6 +33,7 @@ The following LaTeX or LaTeX-similar constructs can be used:
* Block with `\begin{codelisting}{lang} ... \end{codelisting}`.

The language field is currently passed unprocessed to pygments.

* Controls like `\\` and `\newpar`.
* Section headers like `\chapter{...}`, `\section{...}`, `\subsection{...}` and `subsubsection{...}`.
* Theorem environments:
Expand All @@ -51,6 +52,7 @@ The following LaTeX or LaTeX-similar constructs can be used:
To add a QED sign at the end of an environment, use `\qed` inside the environment. This is done automatically for `proof` environments.

Also, the environments have an optional title argument: `\begin{theorem}[Fermat's Last Theorem] ... \end{theorem}`

* Labels `\label{...}` are recognized in some contexts (section headers and theorem environments) and can be refered to with `\ref{...}` or `\ref[Text]{label}`.
* URLs can be inserted with `\url{...}` and hyperlinks with `\href{url}{text}`.
* Short texts in foreign languages can be marked with `\foreignlanguage{language}{text}`.
Expand All @@ -68,6 +70,7 @@ LaTeX compatibility
-------------------

Almost everything listed above is compatible to LaTeX, except:

* The `\begin{blockquote} ... \end{blockquote}` environment.
* The formula list environment `\begin{formulalist} \formula{...} ... \end{formulalist}`.
* The picture group environment `\begin{picturegroup} \picture{title}{commands} ... \end{picturegroup}`.
Expand Down

0 comments on commit af16221

Please sign in to comment.