Expand description
[^def]: xxxx
    xxxx
[>]:
xxxxxxxxxxxxxx
    xxxxxxxxxxxxxx
    xxxxxxxxxxxxxx
    xxxxxxxxxxxxxx

Footnotes

Here’s a simple footnote,1 and here’s a longer one.2

\footnote

引用, 然后显示在下面

在 html 非分页场景下和引用一致

  • 分页的情况下显示在该页面下方 (pdf)
  • 非分页场景下和引用一致 (html)

4

\cite

引用, 然后显示在最下方

5

\sidenote

6

7

\labal[H] $$2$$

[:First Term][Definition]:

  • This is the definition of the first term.

[:Second Term]:

  • This is one definition of the second term.
  • This is another definition of the second term. The HTML looks like this:

theorem, definition, lemma, proof

< theorem[勾股定理] counter=“counter”> 若 $a,b$ 为直角三角形的两条直角边,$c$ 为斜边,那么 $a^2 + b^2 + c^2.$

fancy::quote \set

</fancy::quote>

<tabular[ccc]> cell1 & cell2 & cell3 \ cell4 & cell5 & cell6 \ cell7 & cell8 & cell9 \

其中 body text 是字符串类型

执行顺序没有规定, 由作者决定

原则上 先解析 patten -> argument 然后解析 body-text -> body-structure -> argument 最后执行 argument

\cmd[p1][p2][p3](arg1, key2 = arg2) { body-text }

\cmd[p1][p2][p3](arg1, arg2 = v): body-text

<cmd[p1][p2][p3] key1=arg1 key2=arg2/>

<cmd[p1][p2][p3] key1=arg1 key2=arg2> body-structure

    arg1, key2 = arg2
)
body-text

\documentclass[article] {12pt, letterpaper} \usepackagestd

\date: February 2014 \title: First document \author: Hubert Farnsworth \thanks{funded by the Overleaf team}

< document> First document. This is a simple example, with no extra parameters or packages included.


  1. This is the first footnote. 

  2.  
  3. Here’s one with multiple paragraphs and code. Indent paragraphs to include them in the footnote. { my code } Add as many paragraphs as you like. 

  4.  
  5.  
  6.  
  7.  
  8. 开始定义 

Structs

Available arguments for the command
XMLCommand

Enums

Aka. Macro. It can be understood as a mark that attempts to expand in a given context until the position cannot be expanded
Marks position of XMLCommand