/
of\scriptfont2,eventhoughtheplacementofthe\script of\scriptfont2,eventhoughtheplacementofthe\script

of\scriptfont2,eventhoughtheplacementofthe\script"partsarea ected.Fore - PDF document

briana-ranney
briana-ranney . @briana-ranney
Follow
382 views
Uploaded On 2015-11-05

of\scriptfont2,eventhoughtheplacementofthe\script"partsarea ected.Fore - PPT Presentation

5j5jsinceweareindisplaystylewhereh istheheightofthe character16isfontdimension16oftextfont2thesocalledsub1dimensionand5isfontdimension5oftextfont2thesocalledxheightNotethatj5j ID: 183855

5j5j;sinceweareindisplaystyle whereh( )istheheightofthe character 16isfontdimension16of\textfont2(theso-called\sub1"dimension) and5isfontdimension5of\textfont2(theso-called\x-height").Notethatj5j

Share:

Link:

Embed:

Download Presentation from below link

Download Pdf The PPT/PDF document "of\scriptfont2,eventhoughtheplacementoft..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

of\scriptfont2,eventhoughtheplacementofthe\script"partsarea ected.Forexpressionsthathaveonlysuperscripts,inregularmathmode,i.e.,notindisplaystyle,the14thfontdimension(sup2)of\textfont2wouldbechanged(insteadofthe13thoneasbefore),andin\cramped"displaystyle,the15thfontdimension(sup3)of\textfont2wouldbechanged.SubscriptplacementTheprocedureforsubscriptplacementissimilartothatofsuperscriptplacement,exceptthat(a)itisslightlymorestraightforward,except(b)itusesa\cramped"style.Towit:18a.Sincethenucleusisacharacterbox,setv=0.18b.SetboxXtothecontentsofthesubscript,herejk,in\cramped"scriptstyle,andadd\scriptspacetothewidthofX.AppendboxXtothehorizontallist,shiftingitdownbymaxv;16;h( )�4 5j5j;sinceweareindisplaystyle,whereh( )istheheightofthe character,16isfontdimension16of\textfont2(theso-called\sub1"dimension),and5isfontdimension5of\textfont2(theso-called\x-height").Notethatj5jisusedsincethex-heightofafontmay(conceivably)benegative.Wehaveh( )=4:30554pt,5=4:30554pt,and16=1:49998pt.Thismeansthesubscriptisloweredby16=1:49998ptunderPlainTEX.However,thedepthof is1:94444pt,andtheheightofkinscriptstyleis4:8611pt.Thismeans16=(1:94444+4:8611)pt=6:8055ptwouldplacethetopofjkatthebottomofthe .Comparingthesetwooptions,wehave jkversus jkwhichwasproducedbythefollowingTEXcode. 1.\tmp=\the\fontdimen16\tensy2.\centerline{$\gamma_{jk}$\quad3.{\rmversus}\quad4.$\fontdimen16\tensy=6.8055pt5.\gamma_{jk}$}6.\fontdimen16\tensy=\tmp TUGboat,Volume31(2010),No.195Notethatforexpressionsthathaveonlysub-scripts,the16thfontdimensionof\textfont2wouldbechangedregardlessofthestylewheretheexpressionoccurs.OptionalchangesAdditionalaestheticchangesforthesecondexamplemightincludemovingthesubscriptsslightlyclosertothe duetotheshapeofthej.Thismaybeaccomplishedbyasmallkerninthesubscript,suchas\gamma_{\mkern-2.7mujk}However,consideringhowsmallthedi erencesmayberelativetothefontdimensions,itmaybediculttodistinguishthehorizontallyunadjustedversionwiththeadjustedversion. jkversus jkBothtypesofscriptstogetherRule18acontainsmorecomplicatedinstructionswhenthenucleusoftheexpressionisnotsimplyacharacter,andRules18d,18e,and18fcontainevenmorecomplicatedinstructionswhenthereisasuperscriptandasubscriptinthesameexpression.Takencollectively,thee ectofthislattersetofrulesisnotthesameassimplyplacingthesuperscriptindependentlyofthesubscript,oneaftertheother,ineitherorder.Thesetwomorechallengingcircumstancesarenotcoveredhere;everythinganauthorneedstoknow,andalotmore,tomakearbitrarychangesinsuperscriptandsubscriptplacements,isinAppendixGofTheTEXbook.Itsucestostatethatnomatterhowexotictheexpressionbecomes,theplacementofsuperscriptsandsubscriptsinTEXisenormously exibleduetotheabilitytochangeafewfontdimensionsatstrategicpositions.TimothyHallPQIConsultingP.O.Box425616Cambridge,MA02142-0012tgh(at)pqicdotcom