Indented equations block
tags: equations mathjax indented
Description/Summary
Testing equations with mathjax — indented or not.Content
No indentation #
\begin{equation} \label{eq:1} C = W\log_{2} (1+\mathrm{SNR}) \end{equation}
With indentation #
ox-hugo
Issue #128
\begin{equation} \label{eq:2} C = W\log_{2} (1+\mathrm{SNR}) \end{equation}
Above equation (LaTeX environment) is the same as the first one, but:
-
It is indented in the Org source.
This test verifies that the indentation is auto-removed in the exported Markdown file.
-
It has a different label (
\label{eq:2}
instead of\label{eq:1}
); Mathjax requires the equation labels to be unique.
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Indented equations block" | |
Title | "Indented equations block" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/posts/indented-equations/" | |
RelPermalink | "/posts/indented-equations/" | |
Data |
| |
NextPage | Image with Hugo figure shortcode parameters set using ATTR_HTML | |
PrevPage | Indented source block | |
NextInSection | Image with Hugo figure shortcode parameters set using ATTR_HTML | |
PrevInSection | Indented source block |
Page Params (Debug)
Key | Type | Value |
---|---|---|
description | string | "Testing equations with mathjax --- indented or not." |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2018-04-01 23:32:28 -0400 -0400 |
tags | []string | "equations" "mathjax" "indented" |
title | string | "Indented equations block" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "2844424aff845aa02f7fb6d4a3f4d6f6" |
BaseFileName | "indented-equations" |
TranslationBaseName | "indented-equations" |
Lang | "en" |
Section | "posts" |
LogicalName | "indented-equations.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/indented-equations.md" |