% The author of this work is Amit Raj Dhawan
% This work has been released under
% Creative Commons Attribution-Share Alike 3.0 Unported License
% on July 19, 2010. For details visit:
% http://creativecommons.org/licenses/by-sa/3.0/.
%
% roman text (Family 0)
\def\twentyrm{\font\fzzozznzzt=LinLibertineT-lf-ly1 at20pt \fzzozznzzt}%
\def\eighteenrm{\font\fzzozznzzt=LinLibertineT-lf-ly1 at18pt \fzzozznzzt}%
\def\sixteenrm{\font\fzzozznzzt= LinLibertineT-lf-ly1 at16pt \fzzozznzzt}%
\def\fourteenrm{\font\fzzozznzzt=LinLibertineT-lf-ly1 at14pt \fzzozznzzt}%
\def\twelverm{\font\fzzozznzzt=  LinLibertineT-lf-ly1 at12pt \fzzozznzzt}%
\font\tenrm=        LinLibertineT-lf-ly1
\def\ninerm{\font\fzzozznzzt=       LinLibertineT-lf-ly1 at9pt \fzzozznzzt}%
\def\eightrm{\font\fzzozznzzt=      LinLibertineT-lf-ly1 at8pt \fzzozznzzt}%
\font\sevenrm=      LinLibertineT-lf-ly1 at7pt
\def\sixrm{\font\fzzozznzzt=        LinLibertineT-lf-ly1 at6pt \fzzozznzzt}%
\font\fiverm=       LinLibertineT-lf-ly1 at5pt
%
% math italic (Family 1)
\def\twentyi{\font\fzzozznzzt=pxmi at19.4pt \fzzozznzzt}%
\def\eighteeni{\font\fzzozznzzt=pxmi at17.46pt \fzzozznzzt}%
\def\sixteeni{\font\fzzozznzzt=pxmi at15.52pt \fzzozznzzt}%
\def\fourteeni{\font\fzzozznzzt=pxmi at13.58pt \fzzozznzzt}%
\def\twelvei{\font\fzzozznzzt=pxmi at11.64pt \fzzozznzzt}%
\font\teni=         pxmi at9.7pt% linear scaling by 0.97
\def\ninei{\font\fzzozznzzt=pxmi at8.73pt \fzzozznzzt}%
\def\eighti{\font\fzzozznzzt=pxmi at7.76pt \fzzozznzzt}%
\font\seveni=       pxmi at6.79pt
\def\sixi{\font\fzzozznzzt=pxmi at5.82pt \fzzozznzzt}%
\font\fivei=        pxmi at4.85pt
%
% math symbols (Family 2)
\def\twentysy{\font\fzzozznzzt=pxsy at19.4pt \fzzozznzzt}%
\def\eighteensy{\font\fzzozznzzt=pxsy at17.46pt \fzzozznzzt}%
\def\sixteensy{\font\fzzozznzzt=pxsy at15.52pt \fzzozznzzt}%
\def\fourteensy{\font\fzzozznzzt=pxsy at13.58pt \fzzozznzzt}%
\def\twelvesy{\font\fzzozznzzt=pxsy at11.64pt \fzzozznzzt}%
\font\tensy=         pxsy at9.7pt% linear scaling by 0.97
\def\ninesy{\font\fzzozznzzt=pxsy at8.73pt \fzzozznzzt}%
\def\eightsy{\font\fzzozznzzt=pxsy at7.76pt \fzzozznzzt}%
\font\sevensy=       pxsy at6.79pt
\def\sixsy{\font\fzzozznzzt=pxsy at5.82pt \fzzozznzzt}%
\font\fivesy=        pxsy at4.85pt
%
% math extension (Family 3)
\def\twentyex{\font\fzzozznzzt=pxex at19.4pt \fzzozznzzt}%
\def\eighteenex{\font\fzzozznzzt=pxex at17.46pt \fzzozznzzt}%
\def\sixteenex{\font\fzzozznzzt=pxex at15.52pt \fzzozznzzt}%
\def\fourteenex{\font\fzzozznzzt=pxex at13.58pt \fzzozznzzt}%
\def\twelveex{\font\fzzozznzzt=pxex at11.64pt \fzzozznzzt}%
\font\tenex=         pxex at9.7pt% linear scaling by 0.97
\def\nineex{\font\fzzozznzzt=pxex at8.73pt \fzzozznzzt}%
\def\eightex{\font\fzzozznzzt=pxex at7.76pt \fzzozznzzt}%
\font\sevenex=       pxex at6.79pt
\def\sixex{\font\fzzozznzzt=pxex at5.82pt \fzzozznzzt}%
\font\fiveex=        pxex at4.85pt
%
% italic text (Family 4)
\def\twentyit{\font\fzzozznzzt=  LinLibertineTI-lf-ly1 at20pt \fzzozznzzt}%
\def\eighteenit{\font\fzzozznzzt=LinLibertineTI-lf-ly1 at18pt \fzzozznzzt}%
\def\sixteenit{\font\fzzozznzzt= LinLibertineTI-lf-ly1 at16pt \fzzozznzzt}%
\def\fourteenit{\font\fzzozznzzt=   LinLibertineTI-lf-ly1 at14pt \fzzozznzzt}%
\def\twelveit{\font\fzzozznzzt=  LinLibertineTI-lf-ly1 at12pt \fzzozznzzt}%
\font\tenit=        LinLibertineTI-lf-ly1
\def\nineit{\font\fzzozznzzt=       LinLibertineTI-lf-ly1 at9pt \fzzozznzzt}%
\def\eightit{\font\fzzozznzzt=      LinLibertineTI-lf-ly1 at8pt \fzzozznzzt}%
\font\sevenit=      LinLibertineTI-lf-ly1 at7pt
\def\sixit{\font\fzzozznzzt=        LinLibertineTI-lf-ly1 at6pt \fzzozznzzt}%
\font\fiveit=       LinLibertineTI-lf-ly1 at5pt
%
% slanted text (Family 5)
\def\twentysl{\font\fzzozznzzt=  LinLibertineTI-lf-ly1 at20pt \fzzozznzzt}%
\def\eighteensl{\font\fzzozznzzt=LinLibertineTI-lf-ly1 at18pt \fzzozznzzt}%
\def\sixteensl{\font\fzzozznzzt= LinLibertineTI-lf-ly1 at16pt \fzzozznzzt}%
\def\fourteensl{\font\fzzozznzzt=   LinLibertineTI-lf-ly1 at14pt \fzzozznzzt}%
\def\twelvesl{\font\fzzozznzzt=  LinLibertineTI-lf-ly1 at12pt \fzzozznzzt}%
\font\tensl=        LinLibertineTI-lf-ly1
\def\ninesl{\font\fzzozznzzt=       LinLibertineTI-lf-ly1 at9pt \fzzozznzzt}%
\def\eightsl{\font\fzzozznzzt=      LinLibertineTI-lf-ly1 at8pt \fzzozznzzt}%
\font\sevensl=      LinLibertineTI-lf-ly1 at7pt
\def\sixsl{\font\fzzozznzzt=        LinLibertineTI-lf-ly1 at6pt \fzzozznzzt}%
\font\fivesl=       LinLibertineTI-lf-ly1 at5pt
%
% boldface text (Family 6)
\def\twentybf{\font\fzzozznzzt=  LinLibertineTZ-lf-ly1 at20pt \fzzozznzzt}%
\def\eighteenbf{\font\fzzozznzzt=   LinLibertineTZ-lf-ly1 at18pt \fzzozznzzt}%
\def\sixteenbf{\font\fzzozznzzt= LinLibertineTZ-lf-ly1 at16pt \fzzozznzzt}%
\def\fourteenbf{\font\fzzozznzzt=   LinLibertineTZ-lf-ly1 at14pt \fzzozznzzt}%
\def\twelvebf{\font\fzzozznzzt=  LinLibertineTZ-lf-ly1 at12pt \fzzozznzzt}%
\font\tenbf=        LinLibertineTZ-lf-ly1
\def\ninebf{\font\fzzozznzzt=       LinLibertineTZ-lf-ly1 at9pt \fzzozznzzt}%
\def\eightbf{\font\fzzozznzzt=      LinLibertineTZ-lf-ly1 at8pt \fzzozznzzt}%
\font\sevenbf=      LinLibertineTZ-lf-ly1 at7pt
\def\sixbf{\font\fzzozznzzt=        LinLibertineTZ-lf-ly1 at6pt \fzzozznzzt}%
\font\fivebf=       LinLibertineTZ-lf-ly1 at5pt
%
% typewriter text (Family 7)
\def\twentytt{\font\fzzozznzzt=  ly1-zi4r-1 at20pt \fzzozznzzt}%
\def\eighteentt{\font\fzzozznzzt=   ly1-zi4r-1 at18pt \fzzozznzzt}%
\def\sixteentt{\font\fzzozznzzt= ly1-zi4r-1 at16pt \fzzozznzzt}%
\def\fourteentt{\font\fzzozznzzt=ly1-zi4r-1 at14pt \fzzozznzzt}%
\def\twelvett{\font\fzzozznzzt=  ly1-zi4r-1 at12pt \fzzozznzzt}%
\font\tentt=        ly1-zi4r-1
\def\ninett{\font\fzzozznzzt=       ly1-zi4r-1 at9pt \fzzozznzzt}%
\def\eighttt{\font\fzzozznzzt=      ly1-zi4r-1 at8pt \fzzozznzzt}%
\font\seventt=      ly1-zi4r-1 at7pt
\def\sixtt{\font\fzzozznzzt=        ly1-zi4r-1 at6pt \fzzozznzzt}%
\font\fivett=       ly1-zi4r-1 at5pt
%
% Family 0 (roman text)
\textfont0=\tenrm
\scriptfont0=\sevenrm
\scriptscriptfont0=\fiverm
\def\rm{\fam=0 \tenrm}%
%
% Family 1 (math italic)
\textfont1=\teni
\scriptfont1=\seveni
\scriptscriptfont1=\fivei
\def\mit{\fam=1}%
%
% Family 2 (math symbol)
\textfont2=\tensy
\scriptfont2=\sevensy
\scriptscriptfont2=\fivesy
\def\cal{\fam=2}%
%
% Family 3 (math extension)
\textfont3=\tenex
\scriptfont3=\sevenex
\scriptscriptfont3=\fiveex
%
% Family 4 (italic text)
\def\it{\fam=\itfam \tenit}%
\textfont\itfam=\tenit
\scriptfont\itfam=\sevenit
\scriptscriptfont\itfam=\fiveit
%
% Family 5 (slanted text)
\def\sl{\fam=\slfam \tensl}%
\textfont\slfam=\tensl
\scriptfont\slfam=\sevensl
\scriptscriptfont\slfam=\fivesl
%
% Family 6 (boldface text)
\def\bf{\fam=\bffam \tenbf}%
\textfont\bffam=\tenbf
\scriptfont\bffam=\sevenbf
\scriptscriptfont\bffam=\fivebf
%
% Family 7 (typewriter text)
\def\tt{\fam=\ttfam \tentt}%
\textfont\ttfam=\tentt
\scriptfont\ttfam=\seventt
\scriptscriptfont\ttfam=\fivett
%
% italic boldface
% italic boldface
\def\twentyitbf{\font\fzzozznzzt=   LinLibertineTZI-lf-ly1 at20pt \fzzozznzzt}%
\def\eighteenitbf{\font\fzzozznzzt= LinLibertineTZI-lf-ly1 at18pt \fzzozznzzt}%
\def\sixteenitbf{\font\fzzozznzzt=  LinLibertineTZI-lf-ly1 at16pt \fzzozznzzt}%
\def\fourteenitbf{\font\fzzozznzzt=    LinLibertineTZI-lf-ly1 at14pt \fzzozznzzt}%
\def\twelveitbf{\font\fzzozznzzt=   LinLibertineTZI-lf-ly1 at12pt \fzzozznzzt}%
\font\itbf=            LinLibertineTZI-lf-ly1
\def\nineitbf{\font\fzzozznzzt=        LinLibertineTZI-lf-ly1 at9pt \fzzozznzzt}%
\def\eightitbf{\font\fzzozznzzt=       LinLibertineTZI-lf-ly1 at8pt \fzzozznzzt}%
\font\sevenitbf=       LinLibertineTZI-lf-ly1 at7pt
\def\sixitbf{\font\fzzozznzzt=         LinLibertineTZI-lf-ly1 at6pt \fzzozznzzt}%
\font\fiveitbf=        LinLibertineTZI-lf-ly1 at5pt
%
% slanted boldface
\def\twentyslbf{\font\fzzozznzzt=   LinLibertineTZI-lf-ly1 at20pt \fzzozznzzt}%
\def\eighteenslbf{\font\fzzozznzzt= LinLibertineTZI-lf-ly1 at18pt \fzzozznzzt}%
\def\sixteenslbf{\font\fzzozznzzt=  LinLibertineTZI-lf-ly1 at16pt \fzzozznzzt}%
\def\fourteenslbf{\font\fzzozznzzt=    LinLibertineTZI-lf-ly1 at14pt \fzzozznzzt}%
\def\twelveslbf{\font\fzzozznzzt=   LinLibertineTZI-lf-ly1 at12pt \fzzozznzzt}%
\font\slbf=            LinLibertineTZI-lf-ly1
\def\nineslbf{\font\fzzozznzzt=        LinLibertineTZI-lf-ly1 at9pt \fzzozznzzt}%
\def\eightslbf{\font\fzzozznzzt=       LinLibertineTZI-lf-ly1 at8pt \fzzozznzzt}%
\font\sevenslbf=       LinLibertineTZI-lf-ly1 at7pt
\def\sixslbf{\font\fzzozznzzt=         LinLibertineTZI-lf-ly1 at6pt \fzzozznzzt}%
\font\fiveslbf=        LinLibertineTZI-lf-ly1 at5pt
%
% caps
\def\twentycaps{\font\fzzozznzzt=   LinLibertineT-lf-sc-ly1 at20pt \fzzozznzzt}%
\def\eighteencaps{\font\fzzozznzzt= LinLibertineT-lf-sc-ly1 at18pt \fzzozznzzt}%
\def\sixteencaps{\font\fzzozznzzt=  LinLibertineT-lf-sc-ly1 at16pt \fzzozznzzt}%
\def\fourteencaps{\font\fzzozznzzt=    LinLibertineT-lf-sc-ly1 at14pt \fzzozznzzt}%
\def\twelvecaps{\font\fzzozznzzt=   LinLibertineT-lf-sc-ly1 at12pt \fzzozznzzt}%
\font\caps=            LinLibertineT-lf-sc-ly1 % putrc7t from Adobe can be used to get \l etc.
\def\ninecaps{\font\fzzozznzzt=        LinLibertineT-lf-sc-ly1 at9pt \fzzozznzzt}%
\def\eightcaps{\font\fzzozznzzt=       LinLibertineT-lf-sc-ly1 at8pt \fzzozznzzt}%
\font\sevencaps=       LinLibertineT-lf-sc-ly1 at7pt
\def\sixcaps{\font\fzzozznzzt=         LinLibertineT-lf-sc-ly1 at6pt \fzzozznzzt}%
\font\fivecaps=        LinLibertineT-lf-sc-ly1 at5pt
%
% caps boldface
\def\twentycapsbf{\font\fzzozznzzt=   LinLibertineTZ-lf-sc-ly1 at20pt \fzzozznzzt}%
\def\eighteencapsbf{\font\fzzozznzzt= LinLibertineTZ-lf-sc-ly1 at18pt \fzzozznzzt}%
\def\sixteencapsbf{\font\fzzozznzzt=  LinLibertineTZ-lf-sc-ly1 at16pt \fzzozznzzt}%
\def\fourteencapsbf{\font\fzzozznzzt=    LinLibertineTZ-lf-sc-ly1 at14pt \fzzozznzzt}%
\def\twelvecapsbf{\font\fzzozznzzt=       LinLibertineTZ-lf-sc-ly1 at12pt \fzzozznzzt}%
\font\capsbf=            LinLibertineTZ-lf-sc-ly1
\def\ninecapsbf{\font\fzzozznzzt=        LinLibertineTZ-lf-sc-ly1 at9pt \fzzozznzzt}%
\def\eightcapsbf{\font\fzzozznzzt=       LinLibertineTZ-lf-sc-ly1 at8pt \fzzozznzzt}%
\font\sevencapsbf=       LinLibertineTZ-lf-sc-ly1 at7pt
\def\sixcapsbf{\font\fzzozznzzt=         LinLibertineTZ-lf-sc-ly1 at6pt \fzzozznzzt}%
\font\fivecapsbf=        LinLibertineTZ-lf-sc-ly1 at5pt
%
% Some missing glyphs
\font\tenmiss=pxr at9.7pt
\font\sevenmiss=pxr at6.79pt
\font\fivemiss=pxr at4.85pt
%
\newfam\misscharfam
\textfont\misscharfam=\tenmiss
\scriptfont\misscharfam=\sevenmiss
\scriptscriptfont\misscharfam=\fivemiss
%
\def\Gamma{{\fam=\misscharfam \mathchar"7800}}%
\def\Delta{{\fam=\misscharfam \mathchar"7801}}%
\def\Theta{{\fam=\misscharfam \mathchar"7802}}%
\def\Lambda{{\fam=\misscharfam \mathchar"7803}}%
\def\Xi{{\fam=\misscharfam \mathchar"7804}}%
\def\Pi{{\fam=\misscharfam \mathchar"7805}}%
\def\Sigma{{\fam=\misscharfam \mathchar"7806}}%
\def\Upsilon{{\fam=\misscharfam \mathchar"7807}}%
\def\Phi{{\fam=\misscharfam \mathchar"7808}}%
\def\Psi{{\fam=\misscharfam \mathchar"7809}}%
\def\Omega{{\fam=\misscharfam \mathchar"780A}}%
%
% AMS Symbols
\def\loadmsam{\font\tenmsa=pxsya at9.7pt \font\sevenmsa=pxsya at6.79pt \font\fivemsa=pxsya at4.85pt \fam\msafam \textfont\msafam=\tenmsa \scriptfont\msafam=\sevenmsa \scriptscriptfont\msafam=\fivemsa \global\let\loadmsam\empty}%
\def\loadmsbm{\font\tenmsb=pxsyb at9.7pt\font\sevenmsb=pxsyb at6.79pt\font\fivemsb=pxsyb at4.85pt \fam\msbfam \textfont\msbfam=\tenmsb \scriptfont\msbfam=\sevenmsb \scriptscriptfont\msbfam=\fivemsb \global\let\loadmsbm\empty}%
\def\UseAMSsymbols{\loadmsam\loadmsbm}%
%
%
\rm