DocFormatter
Radical
Draws a square-root shape around is elements.
Example 1
Example
=
Block
{
TextHeight
:
20pt;
"Pythagorian Theorem"
;
Paragraph
{
var
a
=
Symbol
(
"a"
);
var
b
=
Symbol
(
"b"
);
var
c
=
Symbol
(
"c"
);
c
;
Tex
.
Equals
;
Radical
{
a
^
2
+
b
^
2;
};
};
};
Pythagorian Theorem
c
 =Â
a
2
 +Â
b
2
Example 2
Example2
=
Block
{
TextHeight
:
20pt;
"Cube Root"
;
Paragraph
{
Radical
{
Degree
:
3;
8;
};
Tex
.
Equals
;
2;
};
};
Cube Root
8
3
 =Â
2
Properties
Name
Description
Baseline
Baseline as a percentage of the height
ConnectPoints
Connect points for a shape
Degree
Degree of radical, if any
HAlignment
Horizontal cell and canvas alignment options
Leading
Leading as a percentage of the height
Midline
Midline as a percentage of the height
TextAbbreviate
Abbreviate unit names
TextAlignment
Vertical aligments for text in a span
TextBackground
Fill color for the area behind the text
TextCase
Text casing options
TextColor
Fill color for the text
TextColumns
Break lines after n characters
TextCulture
CultureInfo object
TextDenominator
Show double values as fractions whose max denominator is this value (e.g. 8
means 3.125 -> 3 1/8)
TextDiagonal
Use diagonal fractions
TextDigits
Number of decimal digits for doubles (e.g. 3 -> 3.142)
TextDivision
Add space after n characters
TextEquation
Format text as a math equation
TextFace
Type of font face
TextFamily
The name of a font family or a FontFamily object
TextFormat
Numeric/date format (e.g. MM-DD-YYYY)
TextGroup
Group digits together (e.g. 1,000,000)
TextHeight
Height of text in measure or % (e.g. 8 pts or 90%)
TextHidden
Do not show text
TextItalic
Use Italic version of font family
TextLanguage
Flags indicating the language of the text
TextLetterSpace
Extra space between letters
TextLiteral
Do not proofread
TextMinDigits
Remove trailing zeros
TextNumPadding
The minimum left-zero-padded size of the number (e.g. 4 -> 0001)
TextOffset
Vertical offset of text in measure or % of font height
TextOverline
Show a line over the text
TextPercent
Show numbers as a percentage (e.g. 12.2%)
TextRadix
Radix for integers (e.g. 2 -> binary, 10 -> decimal, 16 -> hexadecimal)
TextScientific
Show numbers in scientific notation (e.g. 3.02x10^23)
TextSignificant
Treat TextDigits as the number of significant figures (e.g. if 3 then 1.2 -> 1.20
and 3124 -> 3120
TextStacked
Stack Nary superscripts and subscripts above and below operators
TextStretch
Horizontal font stretch factor (e.g. 2.0 -> twice as wide)
TextStrike
Text strike-out styles
TextUnderline
Text underline styles
TextValue
Force symbolic numbers (e.g. PI) into their numberic values
TextWeight
Typeface weight options (e.g. normal=400, bold=700)
TextWordSpace
Extra space between words
TipNoPublish
Do not publish tips
VAlignment
Vertical cell and canvas alignment options
X
Offset of the item relative to its parent
Y
Offset of the item relative to its parent