Flossy demo1
Table of Contents
↳
(§2) Testing Zone↳
(§2.9) Various TikZ, q.uiver, and KATEX samples
- Sigils <-> x--y <==>
- Sigils (cont) {sec} {para}
- Html escapes < > &
- Fancy quotes 'a' "b"
- \i[italic], \b[bold], \u[underline] \s[strike], \c[code]
- Links: \href uri=<https://www.google.com> [google.com]
- Note references: \ref to=flossy-test [flossy test]
- Inline $\KaTeX$
italic, bold, underline strike, code
Inline
KATEX
\jarg <flossy test> [Some jargon]. If you write "flossy test" on another page, it will auto-link here.
Some jargon. If you write “flossy test” on another page, it will auto-link here.
Inline annotations\aref;
\adef: They also \aref[nest]!
\adef: hehe
Inline annotations
1
They also nest!
hehe
\ddn:
Drop-downs
can also
:
> Nest!
:)
\table
vheaders=y
hheaders=y
centering=(( true || false ))
| [Plant] [Water freq] [Is happy]
|
[Melon]
:
I am
\u[multi-]line!
[yes!]
| [Bamboo] [1x/wk] [no :(]
\columns count=2
:
I am in a column
:
I am in another column
\columns count=3
:
Here we form
:
three entire
:
columns!
I am in a column
I am in another column
Here we form
three entire
columns!
\code lang=py:
def f(x): return x
\code:
function f(x) { return x; }
\c[a] and \c[b] and \c[c]
def f(x): return x
function f(x) { return x; }
a
and b
and c
\quote attrib=[Beela Kitty]:
mmeow meow
\quote: mrow
mmeow meow
– Beela Kitty
mrow
\fence:
\fence-sec [Abstract] We \i[do] the \u[thing]
\fence:
No header
But many lines!
Abstract We do the thing
No header
But many lines!
Testing Zone2
Some text.
\sec: A section Header
A foot\aref [note]. A footnote.
\adef: A footnote.
Some $f(x) = 2x^2$ math. Some $\text{Aut}(G/A)$ math:
\katex: f(x) = 2x^2
Some math.
Some text.
A foot
note. A footnote.
A footnote.
Some
f(x)=2x2 math. Some
Aut(G/A) math:
f(x)=2x2
Some math.
- a
# b
- c
# x
y
d d
# d
- e
> r
# a
# b
- f
---
# A
# A
# B
# B
# C
# C
# D
# D
# C
# C
# B
# B
---
# one
# two
reset
# one
# two
reset
# one
# two
\bull [(=>)]:
Proof in this direction
line two
line three
\bull [(<=)]:
Proof in the other direction
line two
line three
\bull [power rangers]: \ddn[click me]:
tada
(⇒)Proof in this direction
line two
line three
(⇐)Proof in the other direction
line two
line three
before
-
-
after
before
after
before
---
after
before---
after
before
---after
before
after
before—-
after
before
—-after
Sequences of latters are wrapped in \c[\text{}]:
- @Aut(G)@
- @a b + ab@
... Unless they themselves are wrapped in \c[{}]:
- @\fk{{Beloved}}@ (vs. @\fk{Beloved}@ = \c[\fk{\text{Beloved}}])
- @{I}\ {am}\ {free}@
Sequences of digits and/or hyphens are wrapped in \c[{}]:
- @g^-1 \circ f^-1@
\katex shorthand=yes gather=yes:
Aut(G)
\\ a b + ab
\\ \fk{{Beloved}}
\\ {I}\ {am}\ {free}
\\ g^-1 \circ f^-1
\shatex: Aut(G)
Sequences of latters are wrapped in
\text{}
:
Aut(G)
ab+ab
... Unless they themselves are wrapped in
{}
:
Beloved (vs.
Beloved =
\fk{\text{Beloved}}
)
I am free
Sequences of digits and/or hyphens are wrapped in
{}
:
g−1∘f−1
Aut(G)ab+abBelovedI am freeg−1∘f−1
Aut(G)
before
\katex: \t{test}
after
before
testafter
\katex pre=y: \newcommand{\x}{\approx}
Outside: $a \x b$
\scope[{}]:
\katex pre=y:
\renewcommand{\x}{=}
Inside: $a \x b$
Outside: $a \x b$
Outside:
a≈b
Inside:
a=b
Outside:
a≈b
\tikz:
\node[draw,circle] at (0 :2) (1) {1};
\node[draw,circle] at (51.4 :2) (2) {2};
\node[draw,circle] at (102.8:2) (3) {3};
\node[draw,circle] at (154.2:2) (4) {4};
\node[draw,circle] at (205.7:2) (5) {5};
\node[draw,circle] at (257.1:2) (6) {6};
\node[draw,circle] at (308.5:2) (7) {7};
\begin{scope}[shorten >=5pt, shorten <=5pt, >={latex}]
\draw[->] (1) to[bend left] (4);
\draw[->] (4) to[bend left] (1);
\draw[->] (3) to[loop,out=120,in=60,looseness=6] (3);
\draw[->] (6) to[loop,out=-120,in=-60,looseness=6] (6);
\draw[->] (2) to (5);
\draw[->] (5) to (7);
\draw[->] (7) to (2);
\end{scope}
---
Test this one on firefox:
\tikz:
\newcommand{\sq}[1]{
\begin{scope}[shift={#1}]
\draw (-1, 1) -- (1, 1) -- (1, -1) -- (-1, -1) -- (-1, 1); \end{scope}
}
\sq{(2,2)} \sq{(2,-1)} \sq{(8,2)} \sq{(8,-1)}
\node at (3, -1.75) {symmetries of the regular triangle};
---
\tikz:
\node (A) at (0, 0) {$e^x$} ;
\node (B) at (2, 2) {$\mathrm{mathfrak:} \quad \mathfrak S$} ;
\node (C) at (6, 0) {$\mathrm{mathfrak:} \quad \mathcal A$} ;
\draw [->, dashed] (A) to (B) to (C);
---
\quiver-tikz:
\begin{tikzcd}
\varnothing && \bullet\circ \\
\\
{\mathcal B; \mathbb A} && {\mathsf{CAT}}
\arrow[dashed, from=3-3, to=3-1]
\arrow[from=1-3, to=3-3]
\arrow[from=1-3, to=1-1]
\arrow[squiggly, from=1-1, to=3-1]
\arrow[Rightarrow, from=1-3, to=3-1]
\end{tikzcd}
---
\katex align=y:
f(x) &= 2*x
\\ g(x, y) &= x+y
Test this one on firefox:
f(x)g(x,y)=2∗x=x+y
Annotation\aref to=x [click me] and the sentence continues. actually the whole paragraph is really really really really very really long
\adef name=x:
before\aref[middle]
\adef: middle
after
Annotation
click me and the
sentence continues. actually the whole paragraph is really really really really very really long
Plus zero
Plus one
Plus four
Plus three
Plus zero
Plus
zero
Plus one
Plus four
Plus three
Plus
zero
nb. There’s arguably an “extra newline” here... Known broken.
\table
| [one]
| : \c: two
| [three]
| : \c:
four
| [five]
\quote[before \c: after]
]
\quote:
\quote: \quote:
in in in
in out out
out out out
in in in
in out out
out out out