formulae, formula, subformula
	{display:block;}
formula, math
	{font-size:16pt;
	font-family:"Palatino Linotype", serif;
	line-height:1.5em;
	white-space:nowrap;
	text-align:left;}
formula
	{margin:0.5ex 1em 0.5ex 12%;
	page-break-inside:avoid;}
formula:before
	{content:"(" counter(equation) ")";
	counter-increment:equation;
	display:block;
	float:right;}
fraction
	{display:inline-table;
	white-space:nowrap;
	border-collapse:collapse;
	text-align:center;
	vertical-align:0.6em;
	margin:0 2px;
	font-size:1em;}
num, den
	{line-height:1.5em;
	font-size:0.9em;}
num
	{display:inline-table;
	vertical-align:text-bottom;}
den
	{border-top:solid 1px;
	display:table-row;}
fraction matrix, fraction vector, fraction cases,
fraction fence:before, fraction fence:after
	{margin-bottom:2px;
	margin-top:2px;}
sup num, sub num, inf num, sur num,
sup den, sub den, inf den, sur den
	{font-size:0.8em;}
inf, sub, sur, sup
	{font-size:0.7em;
	line-height:1em;
	vertical-align:-0.8ex;}
sur, sup
	{vertical-align:1.4ex;}
sub sub, sup sub, sur sub, inf sub,
sub sup, sup sup, sur sup, inf sup,
sub sur, sup sur, sur sur, inf sur,
sub inf, sup inf, sur inf, inf inf
	{font-size:0.8em;}
float, markers
	{display:inline-table;
	white-space:nowrap;
	border-collapse:collapse;
	line-height:1.1em;
	vertical-align:0.75em;}
float > sub, float > sup,
float > inf, float > sur, 
markers > marker, markers > submarker
	{display:inline-table;
	line-height:1.2em;
	vertical-align:text-bottom;
	text-align:left;}
float > inf, float > sur
	{text-align:right;}
float > sub, float > inf, markers > submarker
	{display:table-row;}
marker, submarker
	{font-size:0.7em;}
fence + markers, ope + markers
	{border-collapse:separate;
	border-spacing:0 1.2ex;}
ope + markers
	{border-spacing:0 0.5ex;}
math fence + markers
	{border-spacing:0 0.7ex;}
math ope + markers
	{border-spacing:0 0.2ex;}
ope + marker, fence + marker, 
ope + submarker, fence + submarker
	{line-height:1em;
	vertical-align:-1.5em;}
ope + marker
	{vertical-align:1.2em;}
ope + submarker
	{vertical-align:-0.8em;}
math ope + marker
	{vertical-align:1em;}
math ope + submarker
	{vertical-align:-0.6em;}
fence + marker
	{vertical-align:1.7em;}
fence + submarker
	{vertical-align:-1.4em;}
math fence + marker
	{vertical-align:1.2em;}
math fence + submarker
	{vertical-align:-1em;}
ope
	{vertical-align:middle;}
formula ope
	{font-size:1.6em;}

over, under
	{display:inline-table;
	white-space:normal;
	text-align:center;}
over
	{display:inline-block;}
over > *, under > *
	{white-space:nowrap;}
sat
	{display:block;}
under > ker, under > sat
	{display:table-row;}
sat
	{font-size:0.7em;
	line-height:1.2em;}
math under, math over, math sat
	{line-height:1.1em;}
underbrace
	{display:table-row;
	line-height:3px;}
underbrace:before, overbrace:before
	{display:block;
	content:"\A0";
	height:3px;
	border-width:1px 1px 0 1px;
	border-style:solid;}
underbrace:before
	{border-width:0 1px 1px 1px;}
det, matrix, vector, cases, apply
	{display:inline-table;
	border-collapse:collapse;
	vertical-align:middle;
	text-align:center;
	font-size:0.9em;}
apply
	{font-size:1em;}
apply > *
	{display:table-cell}
apply > marker, apply > submarker
	{font-size:0.7em;
	line-height:1.1em;
	vertical-align:bottom;}
apply > marker
	{vertical-align:top;}
math det, math matrix, math vector, math cases
	{font-size:0.7em;}
row, case, entry
	{display:table-row;}
cell, value, scope
	{display:table-cell;
	line-height:1.7em;
	white-space:nowrap;
	padding:1px 8px;}
matrix > row:before, matrix > row:after,
entry:before, entry:after
	{display:table-cell;
	content:"\A0";
	border-bottom:solid 1px;
	border-left:solid 1px;
	border-top:hidden;}
matrix > row:after, entry:after
	{border-left:none;
	border-right:solid 1px;}
row:first-child:before, row:first-child:after, 
entry:first-child:before, entry:first-child:after
	{border-top:solid 1px;}
det
	{border-left:solid 1px;
	border-right:solid 1px;}
cases
	{border:dashed 1px gray;}
value
	{text-align:right;}
scope
	{text-align:left;}
radical 
	{display:inline-table;
	border-collapse:collapse;
	margin:1px;}
radicand, radix 
	{display:table-cell;}
radicand
	{border-top:solid 1px;
	border-left:groove 2px;
	padding:2px 5px 0 3px;}
radix
	{vertical-align:bottom;
	text-align:right;
	font-size:0.7em;
	line-height:1em;}
radix:after
	{display:block;
	content:"\2014";
	line-height:1.3em;
	margin-right:-0.2ex;}
	
fence:before, fence:after
	{border-style:solid;
	content:"\A0";
	display:inline-block;
	vertical-align:middle;
	height:2.5em;}
fence:before
	{margin-left:2px;
	border-width:1px 0 1px 1px;}
fence:after
	{margin-right:2px;
	border-width:1px 1px 1px 0;}
math fence:before, math fence:after
	{height:2em;}
fence[left="curly"]:before
	{border-left-style:dashed;}
fence[right="curly"]:after
	{border-right-style:dashed;}
fence[left="dashed"]:before
	{border-style:dashed;
	border-width:0 0 0 1px;}
fence[right="dashed"]:after
	{border-style:dashed;
	border-width:0 1px 0 0;}
fence[left="double"]:before
	{border-style:double;
	border-width:0 0 0 3px;}
fence[right="double"]:after
	{border-style:double;
	border-width:0 3px 0 0;}
fence[left="round"]:before
	{border-style:double;
	border-width:1px 0 1px 3px;}
fence[right="round"]:after
	{border-style:double;
	border-width:1px 3px 1px 0;}
fence[left="solid"]:before
	{border-style:solid;
	border-width:0 0 0 1px;}
fence[right="solid"]:after
	{border-style:solid;
	border-width:0 1px 0 0;}
fence[left="none"]:before
	{content:normal;}
wrap:before 
	{content:"\200B"; 
	white-space:normal;}
line:before
	{content:"\A"; 
	white-space:pre;}
bold
	{font-weight:bold;}
italic
	{font-style:italic;}
overline
	{text-decoration:overline;}
strike
	{text-decoration:line-through;}
underline
	{text-decoration:underline;}
	