3.14 Skribe User Manual -- Characters, Strings and Symbols

3.14.1 Characters

The function char introduces a character in the produced document. The purpose of this function is to introduce escape characters or to introduce characters that cannot be typesetted in the document (for instance because the editors does not support them). The escapes characters are [, ] and ;.

prototype
(char char)
argumentdescription
charThe character to be introduced. Specified value can be a character, a string or an integer
Example:
(itemize (item [The character ,(code "#\\a"): ,(char #\a).])
         (item [The character ,(code "\"a\""): ,(char "a").])
         (item [The character ,(code "97"): ,(char 97).]))
Ex. 18: Some characters

Produces:

  • The character #\a: a.
  • The character "a": a.
  • The character 97: a.

3.14.2 Strings

the function ! introduces raw strings in the target. That is, the strings introduced by ! are written as is, without any transformation from the engine.

prototype
(! format node...)
argumentdescription
formatThe format of the command.
node...The arguments.

The sequences $1, $2, ... in the format are replaced with the actual values of the arguments node.

Example:
[A simple ,(! "string"). A more annoying one ,(! "<strong>string</strong>"). 
A last one with arguments ,(! "<u>$1 $2</u>" (bold 1) (it 2)).]
Ex. 19: Some characters

Produces:

A simple string. A more annoying one string. A last one with arguments 1 2.

3.14.3 Symbols

The function symbol introduces special symbols in the produced file. Note that the rendering of symbols is unportable. It depends of the capacity of the targeted format.

prototype
(symbol symbol)
argumentdescription
symbolThe symbol to introduce.

Here is the list of recognized symbols:

Symbol nameRendering
-->
->
1/2½
1/4¼
3/4¾
<+
<-
<--
<-->
<->
<=
<==
<==>
<=>
==>
=>
AEligatureÆ
AacuteÁ
AcircumflexÂ
AgraveÀ
AlphaΑ
AmulÄ
AringÅ
AtildeÃ
BetaΒ
CcedillaÇ
ChiΧ
DeltaΔ
Downarrow
ETHÐ
EacuteÉ
EcircumflexÊ
EgraveÈ
EpsilonΕ
EtaΗ
EumlË
GammaΓ
IacuteÍ
IcircumflexÎ
IgraveÌ
IotaΙ
IumlÏ
KappaΚ
LambdaΛ
MuΜ
NtildeÑ
NuΝ
OacuteÓ
OcurcumflexÔ
OeligatureŒ
OgraveÒ
OmegaΩ
OmicronΟ
OslashØ
OtildeÕ
OumlÖ
PhiΦ
PiΠ
PsiΨ
RhoΡ
SigmaΣ
THORNÞ
TauΤ
ThetaΘ
UacuteÚ
UcircumflexÛ
UgraveÙ
Uparrow
UpsilonΥ
UumlÜ
XiΞ
YacuteÝ
ZetaΖ
aacuteá
acircumflexâ
aeligatureæ
agraveà
alef
alphaα
amulä
and
angle
approx
aringå
asterisk
atildeã
betaβ
bottom
bullet
cap
ccedillaç
cent¢
chiχ
circo
clubs
cong
copyright©
cup
currency¤
dagdag
dashv-|
ddagddag
degree°
deltaδ
diams
divide÷
downarrow
eacuteé
ecircumflexê
egraveè
ellipsis
emptyset
epsilonε
equiv
etaη
ethð
eumlë
euro
exists
femaleª
forall
gammaγ
ge
hearts
iacuteí
icircumflexî
iexcl¡
igraveì
image
in
infinity
integral
iotaι
iquestion¿
iumlï
kappaκ
lambdaλ
langle
lceil
le
lfloor
lguillemet«
lhd<
loz
male¸
microµ
mid|
middot·
models|=
muμ
mul¨
nabla
neq
ni
not¬
notin
nsupset
ntildeñ
nuν
oacuteó
ocurcumflexô
oeligatureœ
ograveò
omegaω
omicronο
oplus
or
oslashø
otildeõ
otimes
oumlö
paragraph
parallel||
partial
perp
phiφ
piπ
pivϖ
plusminus±
pound£
prod
propto
psiψ
rangle
rceil
real
registered®
rfloor
rguillemet»
rhd>
rhoρ
section§
sigmaσ
sigmafς
sim
spades
sqrt
subset
subseteq
sum
supset
supseteq
szligß
tauτ
therefore
thetaθ
thetasymϑ
thornþ
times×
tm
topT
uacuteú
ucircumflexû
ugraveù
uparrow
upsilonυ
uumlü
vdash|-
weierp
xiξ
yacuteý
yen¥
ymulÿ
zetaζ

This Html page has been produced by Skribe.
Last update Tue Jun 29 09:37:13 2010.