xkd_math | R Documentation |
xkd_math
xkd_math(
x = 0,
y = 0,
width = 100,
height = 100,
angle = 0,
text = "\\nabla\\cdot\\mathbf{E}",
strokeColor = "#000000",
backgroundColor = "#868e96",
fillStyle = "solid",
strokeWidth = 2L,
strokeStyle = "solid",
roughness = 0L,
opacity = 100L,
groupIds = list(),
strokeSharpness = c("sharp", "round"),
boundElementIds = NA,
fontSize = 28L,
fontFamily = 1L,
textAlign = "left",
verticalAlign = "top",
baseline = fontSize,
version = 300,
versionNonce = 12345,
isDeleted = FALSE,
subtype = "math",
containerId = NA,
customData = list(useTex = TRUE, mathOnly = TRUE)
)
x |
x position of glyph in px |
y |
y position of glyph in px |
width |
glyph width in px |
height |
glyph height in px |
angle |
in radians |
text |
text string |
strokeColor |
HTML colour code |
backgroundColor |
HTML colour code |
fillStyle |
"solid" or "hachure" or "cross-hatch" |
strokeWidth |
1 or 2 or 4 |
strokeStyle |
"solid" or "dashed" or "dotted" |
roughness |
degree of wiggliness, 0 or 1 or 2 |
opacity |
0 to 100 |
groupIds |
list of strings indicating groupings |
strokeSharpness |
"sharp" or "round" |
boundElementIds |
list of IDs used for connectors |
fontSize |
in pts |
fontFamily |
1, 2, 3 (FG_Virgil,Cascadia,?) |
textAlign |
"left", "center", "right" |
verticalAlign |
"bottom", "center", "top" |
baseline |
offset in pts? |
version |
of glyph for collaboration |
versionNonce |
of glyph for collaboration |
isDeleted |
tag for collaboration |
subtype |
Subtype |
containerId |
Container ID |
customData |
List of custom data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.