License · CC0 1.0 · Peerpedia collaboration terms
← Peerpedia demo — a template for your first note Paper detailsSnapshot 261028.6fd5b75a1fd9
Peerpedia demo — a template for your first note
Accepted 28 Oct 2026, 06:01 UTC · Latest accepted text
PR conversation · 1 snapshot
Snapshot history
- Snapshot 261028.6fd5b75a1fd9 — Convert this test article to BananaMark syntax: labels, environment titles, math blocks, diagrams a…
Convert this test article to BananaMark syntax: labels, environment titles, math blocks, diagrams and YAML bibliography; update the demonstration instructions.
- Submission hash
6fd5b75a1fd9020d4e5ccad6130bf1251daf294f5a6a5c520b17683d00e0fd26- Base version
261020.482cb0378e6f
View Markdown changes
Drawings and commutative diagrams
--- Base version+++ Proposed version@@ -1,12 +1,12 @@-## Draw a mathematical picture {#sec:diagrams}+## Draw a mathematical picture {@sec:diagrams} -A fenced `tikzpicture` block compiles into a drawing. The example below contains five rows of dots. Their lengths are $1,2,3,4,5$, so the picture has fifteen dots, matching @eq:sum with $n=5$.+A fenced `tikz` block with an explicit `tikzpicture` environment compiles into a drawing. The example below contains five rows of dots. Their lengths are $1,2,3,4,5$, so the picture has fifteen dots, matching @eq:sum with $n=5$. -The surrounding figure block supplies a caption and a reference label.+The surrounding example block uses the custom display name “Figure” and supplies a caption and a reference label. ````markdown-::: figure Five rows contain fifteen dots {#fig:triangle}-```tikzpicture+::: example (Figure) [Five rows contain fifteen dots] {@fig:triangle}+```tikz \begin{tikzpicture}[scale=0.65] \foreach \row in {1,...,5} { \foreach \col in {1,...,\row} {@@ -18,8 +18,8 @@ ::: ```` -::: figure Five rows contain fifteen dots {#fig:triangle}-```tikzpicture+::: example (Figure) [Five rows contain fifteen dots] {@fig:triangle}+```tikz \begin{tikzpicture}[scale=0.65] \foreach \row in {1,...,5} { \foreach \col in {1,...,\row} {@@ -32,14 +32,14 @@ You can link directly to @fig:triangle from another chapter. A new drawing may take a moment to compile. Once it is ready, readers receive the saved result. -## Show two routes with the same result {#sec:commutative}+## Show two routes with the same result {@sec:commutative} A commutative diagram says that two paths give the same answer. In this example every corner is the integers. Going across multiplies an integer by two. Going down multiplies it by three. Either route from the upper left to the lower right multiplies it by six. -Use a `tikzcd` fence for arrows and their labels.+Use a `tikz` fence with an explicit `tikzcd` environment for arrows and their labels. ````markdown-```tikzcd+```tikz \begin{tikzcd} \mathbb{Z} \arrow[r, "2"] \arrow[d, "3"'] & \mathbb{Z} \arrow[d, "3"] \\@@ -48,7 +48,7 @@ ``` ```` -```tikzcd+```tikz \begin{tikzcd} \mathbb{Z} \arrow[r, "2"] \arrow[d, "3"'] & \mathbb{Z} \arrow[d, "3"] \\
Accepted by ChenqiMeng on 28 Oct 2026, 06:01 UTC. The submitted snapshot is preserved.
Conversation
0 commentsNo comments yet. Discuss the proposed change here.
Sign in to join the conversation.