Advance native LaTeX execution and preview
This commit is contained in:
1 parent
91f9d76b16
commit
2741546ca8
414 files changed
+99872
-933
No files matched your search
@@ -0,0 +1,22 @@
|
||||
% Native display mode, real pre/post penalties, skips and continuation state.
|
||||
\input math-fonts
|
||||
\hsize=240pt \parskip=4pt
|
||||
\displaywidowpenalty=50 \widowpenalty=150
|
||||
\predisplaypenalty=10000 \postdisplaypenalty=0
|
||||
\abovedisplayskip=12pt plus3pt minus9pt
|
||||
\belowdisplayskip=12pt plus3pt minus9pt
|
||||
\abovedisplayshortskip=0pt plus3pt
|
||||
\belowdisplayshortskip=7pt plus3pt minus4pt
|
||||
\noindent Native display formulas keep actual mathematical font masters.\par
|
||||
\noindent Short prefix.$$x_i^2+y_j$$Continuation shares the paragraph state.\par
|
||||
\noindent This longer prefix selects the ordinary display skips by its measured extent.
|
||||
$${a+b\over c+d}=x$$The fraction keeps its measured baseline and depth.\par
|
||||
\noindent Inline $y$ precedes a display.$$x+y=z$$Its italic kern stays separate from the visible edge.\par
|
||||
\predisplaypenalty=-10000 \postdisplaypenalty=0
|
||||
\noindent Before forced page.$$a+b=c$$After forced page.\par
|
||||
\predisplaypenalty=10000 \postdisplaypenalty=-10000
|
||||
\noindent Final formula prefix.$$x_2^3$$After formula starts another page.\par
|
||||
\postdisplaypenalty=0
|
||||
\vbox{\hsize=180pt\noindent Boxed display.$$a+b$$Resumed boxed text.\par}
|
||||
\message{Native display execution completed.}
|
||||
\end
|
||||
Reference in new issue
Block a user