11# opTeX commands
2- # Matthew Bertucci 2022/08/02 for v1.07
2+ # Matthew Bertucci 2022/08/05 for v1.08
33
44#include:plaintex
55#include:luatex
8383\eqlines{code}
8484\eqstyle{code}
8585\loadboldmath{[bold-font-file]} \to {[normal-font-file]}
86- \addUmathfont{cmd}{[normal-font]}{features}{[bold-font]}{features}{factor}#Sd
86+ \addUmathfont{cmd}{[normal-font]}{features}{[bold-font]}{features}{factor}#d
8787\resetmathchars %<\famname ⟨list of sequences⟩%> ;
8888
8989## Typical elements of the document ##
9393\chap %<⟨Chapter title⟩%>#L1
9494\chap[%<label%>] %<⟨Chapter title⟩%>#L1
9595\chap{title}#SL1
96- \chap[label]{title}#Sl
96+ \chap[label%labeldef ]{title}#S
9797\sec %<⟨Section title⟩%>#L2
9898\sec[%<label%>] %<⟨Section title⟩%>#L2
9999\sec{title}#SL2
100- \sec[label]{title}#Sl
100+ \sec[label%labeldef ]{title}#S
101101\secc %<⟨Subsection title⟩%>#L3
102102\secc[%<label%>] %<⟨Subsection title⟩%>#L3
103103\secc{title}#SL3
104- \secc[label]{title}#Sl
104+ \secc[label%labeldef ]{title}#S
105105\nl
106106\nonum
107107\notoc
108108\eqmark
109- \eqmark[label] #l
109+ \eqmark[label%labeldef]
110110\caption/t %<⟨table caption⟩%>
111111\caption/t [%<label%>] %<⟨table caption⟩%>
112112\caption/f %<⟨figure caption⟩%>
113113\caption/f [%<label%>] %<⟨figure caption⟩%>
114114\cskip
115115\numberedpar %<⟨letter⟩%>{%<text%>}
116- \label[label] #l
117- \ref[label] #r
118- \ref[label]{text}#r
119- \pgref[label] #r
120- \pgref[label]{text}#r
116+ \label[label%labeldef]
117+ \ref[label%ref]
118+ \ref[label%ref ]{text}
119+ \pgref[label%ref]
120+ \pgref[label%ref ]{text}
121121\wlabel{text}
122122\showlabels
123123\hyperlinks %<⟨color-in⟩ ⟨color-out⟩%>
454454\CS#*
455455\csplain#*
456456\defaultoptsize
457- \docfile#*
458457\doloadmath
459458\dunhill#*
460459\ea#*
461460\ED#*
462461\EDN#*
463- \enddocument#*
464462\endlayers
465463\eqboxsize
466464\everycaptionf={%<code%>}
495493\localcolor
496494\mathsboff
497495\mathsbon
498- \maxlines
499496\mfontsrule
500497\mnoteindent
501498\mnoteskip
530527\plaintexcatcodes
531528\plaintexsetting#*
532529\PP#*
533- \printdoc %<⟨filename⟩%>#*
534- \printdoctail %<⟨filename⟩%>#*
535530\promile#S
536531\pshow%<⟨num⟩%>
537532\ptmunit
549544\runningfnotes#S
550545\sans#*
551546\scantoeol
552- \seccc %<⟨subsubsection title⟩%>#*
553- \secccc#*
554547\secl%<⟨number⟩%>
555548\setff{font-feature}
556549\setfontcolor#S
586579\uslang#S
587580\uv#S
588581\visiblesp
589- \vitt{file}#*i
590582\voidbox#*
591583\VOL#*
592584\wideformat
595587\Xrefversion{version}#*
596588\YEAR#*
597589
590+ # loaded by \load[doc]
591+ \bgverbcolor#S
592+ \docfile#S
593+ \enddocument#S
594+ \fnamecolor#S
595+ \lt#S
596+ \maxlines#S
597+ \mlinkcolor#S
598+ \printdoc %<⟨filename⟩%>#S
599+ \printdoctail %<⟨filename⟩%>#S
600+ \seccc %<⟨subsubsection title⟩%>#S
601+ \secccc#S
602+ \ulinkcolor#S
603+ \vitt{file}#Si
604+
598605# availability depends on font
599606\Adventor#S
607+ \alter#S
600608\angular#S
601609\Baskervald#S
602610\Baskerville#S
635643\medium#S
636644\Merriweather#S
637645\mono#S
646+ \Montserrat#S
638647\NewCM#S
639648\nocaps#S
640649\nocond#S
643652\noswash#S
644653\onum#S
645654\osize#S
655+ \Overlock#S
646656\Pagella#S
647657\Poltawski#S
648658\Roboto#S
652662\serif#S
653663\Sourcepro#S
654664\stencil#S
665+ \Stix#S
666+ \StixTwo#S
655667\swash#S
656668\Technika#S
657669\Termes#S
658670\tf#S
659671\thin#S
660672\ti#S
661673\XCharter#S
674+ \Xits#S
675+ \xlight#S
662676
663677## pdftex commands implemented in optex
664678\ifpdfabsdim
695709\pdfincludechars
696710\pdfinclusioncopyfonts
697711\pdfinclusionerrorlevel
698- \pdfinfo
712+ \pdfinfo{info}
699713\pdfinsertht
700714\pdflastannot
701715\pdflastlinedepth
36203634\Green#*
36213635\Grey#*
36223636\Maroon#*
3623- \Purple#*
3637+ \Purple#*
0 commit comments