Skip to content
Browse files
Fixing LaTeX plugin doc.
  • Loading branch information
felixfontein committed Feb 1, 2017
1 parent 7c9fbb8 commit af16221a7c01b691bf0820cc6e4abf2b76e7e115
Showing with 3 additions and 0 deletions.
  1. +3 −0 v7/latex/
@@ -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:
@@ -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}`.
@@ -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}`.

0 comments on commit af16221

Please sign in to comment.