LATEXSupportForDogmaFontsFromEmigreGraphicsBorisVeytsman2008/03/20,v1.
3AbstractThispackageprovidesLATEXsupportfortheDogmaFontsfromEmigreGraphics,designedbyZuzanaLicko,1994.
Ithaseverythingyouneedtotypesetinthisfont-exceptthefontitself,ofcourse.
Contents1Introduction22Installation23UsingLATEXStyle24Implementation44.
1Identication44.
2FontinstDriver44.
3LetterspacingDriver74.
4FontmapGeneration84.
5StyleFile8borisv@lk.
net,boris@varphi.
com1Table1:PFBFilesFileFontdogmab01.
pfbDogmaBolddogmab07.
pfbDogmaBlackdogmao00.
pfbDogmaOutlinedogmsb74.
pfbDogmaScriptBold1IntroductionThispackageprovidessupportlesfortheDogmaFontfamilyfromEmigreGraph-ics.
AccordingtotheFontnamescheme[1]thiscorrespondstothefamilyfdg.
ThepackageiswrittenforthesetoffontscurrentlyusedbyNoStarchPress,http://www.
nostarch.
com.
Thecopyrightstatementinthefontsrefersto1994.
Itispossiblethatotherversionsofthefontshaveslightlydierentmetrics,andpackageshouldbechangedtoaccommodatethis.
Tomakethiseasier,IreleasethepackageunderBSD-stylelicense.
Thisisevenmoreappropriatesincemostofthelesisgeneratedfollowingthegreatcourse[2].
ThesupportislimitedtoT1andTS1encoding.
NoVTeXsupportlesareincluded.
2InstallationFirst,youneedtopurchasethefontsthemselves:thepfblesarenotincludedinthepackage.
IfyougotthefontsfromNoStarchpress,donotrenamethepfbles.
However,ifthereareuppercaselettersinyourlenames,down-casethem.
Ifyouobtainedthelesfromanothersource,renamethefontsaccordingtoTable1.
IfyourTEXsystemisTDS-compliant,installthelesinto$TEXMF/fonts/type1/public/dogma.
Downloadhttp://ctan.
tug.
org/install/fonts/psfonts/emigre/dogma.
tds.
zipandunzipthislein$TEXMF.
Add+fdg.
maptothecongurationlesofdvips,pdftexandyourdvipreviewer.
Installtheles*.
fdand*.
styin$TEXMF/tex/latex/dogma.
anddocumen-tation(*.
pdfandREADME)in$TEXMF/doc/latex/dogma.
Runupdmapandtexhashprogramstoupdatethecongurationlesandlenamesdatabase.
Thestyledogma.
styprovidesanumberofcommandsforusingthefontfamily(seeSection3)3UsingLATEXStyleTouseDogmafont,youmayjustadd\usepackage{dogma}toyourpreamble.
Thepackagedenesanumberoffontshapesandseries,aslistedinTable2.
Tousethem,issuethestandardNFSScommand,forexample2Table2:FontsProvidedByThePackageSeriesShapesb(bold)n(upright),it(script),sl(slanted),sc(smallcaps),ol(outline)bk(boldletterspaced5%)n(upright)bq(boldletterspaced10%)n(upright)br(boldletterspaced20%)n(upright)bs(boldletterspaced30%)n(upright)h(heavy)n(upright),sl(slanted),sc(smallcaps)\fontfamily{fdg}\fontshape{ol}\fontseries{b}\selectfontAdditionally,thecommands\textdogmabold,\textdogmablack,\textdogmaoutline,\textdogmabold\textdogmablack\textdogmaoutline\textdogmascript\textdogmascripttypesettheirargumentsinthecorrespondingfonts,forexam-ple\textdogmaoutline{Zuzana~Licko}.
ThestandarditalicscommandsinsideboldfontswitchfromDogmaBoldtoDogmaScriptBold,andinsideheavyfontswitchfromDogmaHeavytoDogmaHeavySlanted.
ItisprobablynotagoodideatouseDogmafontinthebodyofthetext.
optionscaledHowever,ifyoudenitelywanttodothis,thepackagedogmaprovidesaparameterforbetterblendingbodyfontswithDogmafont.
Ifyoucallthestylewiththeoptionalparameterscaled=.
.
.
,thefontwillbescaleddownbythecorrespondingfactor,forexample\usepackage[scaled=0.
94]{dogma}.
34Implementation4.
1IdenticationWestartwiththedeclarationwhoweare.
Most.
dtxlesputdrivercodeinaseparatedriverle.
drv.
Werollthiscodeintothemainle,andusethepseudo-guardforit.
1style\NeedsTeXFormat{LaTeX2e}2gobble3\ProvidesFile{dogma.
dtx}4/gobble5style\ProvidesClass{dogma}6fdgdrv\ProvidesFile{fdg-drv.
tex}7fdgmap\ProvidesFile{fdg-map.
tex}8!
t1k&!
ts1k&!
t1q&!
ts1q&!
t1r&!
ts1r&!
t1s&!
ts1s9[2008/03/20v1.
3UsingDogmaFontFromEmigreGraphicsinLaTeX]10/!
t1k&!
ts1k&!
t1q&!
ts1q&!
t1r&!
ts1r&!
t1s&!
ts1sAndthedrivercode:11gobble12\documentclass{ltxdoc}13\usepackage{booktabs}14\usepackage{url}15\usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black,16pagecolor=black,urlcolor=black,hyperindex=false]{hyperref}17\PageIndex18\CodelineIndex19\RecordChanges20\EnableCrossrefs21\begin{document}22\DocInput{dogma.
dtx}23\end{document}24/gobble4.
2FontinstDriverThisfollows[2].
First,thepreamble25fdgdrv26\inputfontinst.
styThereisno"medium"forDogma(althoughafmlesaysthatDogmaBlackismedium,thisisalie).
Weusescriptforitalics27\substitutesilent{m}{bx}28\substitutesilent{bx}{b}29\setint{smallcapsscale}{750}30\setint{slant}{167}kspreadLetterspacingspread5%31\setint{kspread}{25}4qspreadLetterspacingspread10%32\setint{qspread}{50}rspreadLetterspacingspread20%33\setint{rspread}{100}sspreadLetterspacingspread30%34\setint{sspread}{150}Startingrecordingtransforms:35\recordtransforms{fdg-rec.
tex}Abunchoffonts:36\transformfont{fdgb8r}{\reencodefont{8r}{\fromafm{dogmab01}}}37\transformfont{fdgh8r}{\reencodefont{8r}{\fromafm{dogmab07}}}38\transformfont{fdgbl8r}{\reencodefont{8r}{\fromafm{dogmao00}}}39\transformfont{fdgbw8r}{\reencodefont{8r}{\fromafm{dogmsb74}}}Outlineandscriptfontsarealreadyslanted.
Weslanttheothertwoones.
40\transformfont{fdgbo8r}{\slantfont{\int{slant}}%41\reencodefont{8r}{\fromafm{dogmab01}}}42\transformfont{fdgho8r}{\slantfont{\int{slant}}%43\reencodefont{8r}{\fromafm{dogmab07}}}Thereisnohookinfontinst.
styforwritingourownpreambleto.
fdle.
However,weneedtoaddscalingcommandstothepreamble.
OK,wewillpatchfontinst:44\fontinstcc45\def\fd_family#1#2#3{46\a_toks{#3}47\edef\lowercase_file{\lowercase{48\edef\noexpand\lowercase_file{#1#2.
fd}}}49\lowercase_file50\open_out{\lowercase_file}51\out_line{\percent_char~Filename:~\lowercase_file}52\out_line{\percent_char~Created~by:~tex~\jobname}53\out_line{\percent_char~Created~using~fontinst~v\fontinstversion}54\out_line{}55\out_line{\percent_char~THIS~FILE~SHOULD~BE~PUT~IN~A~TEX~INPUTS~56DIRECTORY}57\out_line{}58\out_line{\string\ProvidesFile{\lowercase_file}}59\out_lline{[60\the\year/61\ifnum10>\month0\fi\the\month/62\ifnum10>\day0\fi\the\day\space63Fontinst~v\fontinstversion\space64font~definitions~for~#1/#2.
65]}66\out_line{}5Hereisourpatch:67\out_line{\string\expandafter\string\ifx\string\csname\space68Dgm@scale\string\endcsname\string\relax}69\out_line{\space\string\let\string\Dgm@@scale\string\@empty}70\out_line{\string\else}71\out_line{\space\string\edef\string\Dgm@@scale\left_brace_char72s*[\string\csname\spaceDgm@scale\string\endcsname]73\right_brace_char\percent_char}74\out_line{\string\fi\percent_char}75\out_line{}Endofthepatch.
76\out_line{\string\DeclareFontFamily{#1}{#2}{\the\a_toks}}77{78\csname#1-#2\endcsname79\out_line{}80\let\do_shape=\substitute_shape81\csname#1-#2\endcsname82\let\do_shape=\remove_shape83\csname#1-#2\endcsname84}85\x_cs\g_let{#1-#2}\x_relax86\out_line{}87\out_line{\string\endinput}88\close_out{Font~definitions}89}90\normalccNowweinstallthefonts.
FirstT1.
Notethescalingcode(takenfromPSNFSSpackages).
91\installfonts92\installfamily{T1}{fdg}{}93\installfont{fdgb8t}{fdgb8r,newlatin}{t1}{T1}{fdg}{b}{n}{94\string\Dgm@@scale}95\installfont{fdgh8t}{fdgh8r,newlatin}{t1}{T1}{fdg}{h}{n}{96\string\Dgm@@scale}97\installfont{fdgbl8t}{fdgbl8r,newlatin}{t1}{T1}{fdg}{b}{ol}{98\string\Dgm@@scale}99\installfont{fdgbw8t}{fdgbw8r,newlatin}{t1}{T1}{fdg}{b}{it}{100\string\Dgm@@scale}101\installfont{fdgbo8t}{fdgbo8r,newlatin}{t1}{T1}{fdg}{b}{sl}{102\string\Dgm@@scale}103\installfont{fdgho8t}{fdgho8r,newlatin}{t1}{T1}{fdg}{h}{sl}{104\string\Dgm@@scale}105\installfont{fdgb8tk}{fdgb8r,newlatin}{t1k}{T1}{fdg}{bk}{n}{106\string\Dgm@@scale}107\installfont{fdgb8tq}{fdgb8r,newlatin}{t1q}{T1}{fdg}{bq}{n}{108\string\Dgm@@scale}109\installfont{fdgb8tr}{fdgb8r,newlatin}{t1r}{T1}{fdg}{br}{n}{110\string\Dgm@@scale}6111\installfont{fdgb8ts}{fdgb8r,newlatin}{t1s}{T1}{fdg}{bs}{n}{112\string\Dgm@@scale}113\installfont{fdgbc8t}{fdgb8r,newlatin}{t1c}{T1}{fdg}{b}{sc}{114\string\Dgm@@scale}115\installfont{fdghc8t}{fdgh8r,newlatin}{t1c}{T1}{fdg}{h}{sc}{116\string\Dgm@@scale}117\endinstallfontsAndthenTS1118\installfonts119\installfamily{TS1}{fdg}{}120\installfont{fdgb8c}{fdgb8r,textcomp}{ts1}{TS1}{fdg}{b}{n}{121\string\Dgm@@scale}122\installfont{fdgh8c}{fdgh8r,textcomp}{ts1}{TS1}{fdg}{h}{n}{123\string\Dgm@@scale}124\installfont{fdgbl8c}{fdgbl8r,textcomp}{ts1}{TS1}{fdg}{b}{ol}{125\string\Dgm@@scale}126\installfont{fdgbw8c}{fdgbw8r,textcomp}{ts1}{TS1}{fdg}{b}{it}{127\string\Dgm@@scale}128\installfont{fdgbo8c}{fdgbo8r,textcomp}{ts1}{TS1}{fdg}{b}{sl}{129\string\Dgm@@scale}130\installfont{fdgho8c}{fdgho8r,textcomp}{ts1}{TS1}{fdg}{h}{sl}{131\string\Dgm@@scale}132\installfont{fdgb8ck}{fdgb8r,textcomp}{ts1k}{TS1}{fdg}{bk}{n}{133\string\Dgm@@scale}134\installfont{fdgb8cq}{fdgb8r,textcomp}{ts1q}{TS1}{fdg}{bq}{n}{135\string\Dgm@@scale}136\installfont{fdgb8cr}{fdgb8r,textcomp}{ts1r}{TS1}{fdg}{br}{n}{137\string\Dgm@@scale}138\installfont{fdgb8cs}{fdgb8r,textcomp}{ts1s}{TS1}{fdg}{bs}{n}{139\string\Dgm@@scale}140\installfontas{fdgb8c}{TS1}{fdg}{b}{sc}{141\string\Dgm@@scale}142\installfontas{fdgh8c}{TS1}{fdg}{h}{sc}{143\string\Dgm@@scale}144\endinstallfontsAndtheend:145\endrecordtransforms146\bye147/fdgdrv4.
3LetterspacingDriverThisfollows[3].
WeneedbothT1andTS1les:148t1k|ts1k|t1q|ts1q|t1r|ts1r|t1s|ts1s149\relax150\encoding151t1k|ts1k\resetint{letterspacing}{\int{kspread}}152t1q|ts1q\resetint{letterspacing}{\int{qspread}}7153t1r|ts1r\resetint{letterspacing}{\int{rspread}}154t1s|ts1s\resetint{letterspacing}{\int{sspread}}155\setcommand\gobblethree#1#2#3{}%156\let\ligature=\gobblethree157t1k|t1q|t1r|t1s\inputetx{t1}158ts1k|ts1q|ts1r|ts1s\inputetx{ts1}159\endencoding160/t1k|ts1k|t1q|ts1q|t1r|ts1r|t1s|ts1s4.
4FontmapGenerationThisisastandardprocedure[2]161fdgmap162\inputfinstmsc.
sty163\resetstr{PSfontsuffix}{.
pfb}164\adddriver{dvips}{fdg.
map}165\inputfdg-rec.
tex166\donedrivers167\bye168/fdgmap4.
5StyleFileThescalingcodeisfromthehelvetpackage:169style170\RequirePackage[T1]{fontenc}171\RequirePackage{textcomp}172\RequirePackage{keyval}173\define@key{Dogma}{scaled}[1]{%174\def\Dgm@scale{#1}}175\def\ProcessOptionsWithKV#1{%176\let\@tempc\relax177\let\Dgm@tempa\@empty178\ifx\@classoptionslist\relax\else179\@for\CurrentOption:=\@classoptionslist\do{%180\@ifundefined{KV@#1@\CurrentOption}%181{}%182{%183\edef\Dgm@tempa{\Dgm@tempa,\CurrentOption,}%184\@expandtwoargs\@removeelement\CurrentOption185\@unusedoptionlist\@unusedoptionlist186}%187}%188\fi189\edef\Dgm@tempa{%190\noexpand\setkeys{#1}{%191\Dgm@tempa\@ptionlist{\@currname.
\@currext}%192}%193}%8194\Dgm@tempa195\let\CurrentOption\@empty196}197\ProcessOptionsWithKV{Dogma}198\AtEndOfPackage{%199\let\@unprocessedoptions\relax200}201\DeclareTextFontCommand{\dogmabold}{%202\fontfamily{fdg}\fontseries{b}\selectfont}203\DeclareTextFontCommand{\dogmablack}{%204\fontfamily{fdg}\fontseries{h}\selectfont}205\DeclareTextFontCommand{\dogmaoutline}{%206\fontfamily{fdg}\fontshape{ol}\fontseries{b}\selectfont}207\DeclareTextFontCommand{\dogmascript}{%208\fontfamily{fdg}\fontshape{it}\selectfont}209/style9AcknowledgementThispackagewaswrittenforNoStarchPress,http://www.
nostarch.
com.
References[1]KarlBerry.
Fontname.
FilenamesForTEXFonts,September2005.
http://ctan.
tug.
org/tex-archive/info/fontname.
[2]PhilippLehman.
TheFontInstallationGuide,December2004.
http://www.
ctan.
org/tex-archive/info/Type1fonts/fontinstallationguide.
[3]AlanHoenig.
TEXUnbound:LATEXandTEXStrategiesforFonts,Graphics,andMore.
OxfordUniversityPress,USA,1998.
10ChangeHistoryv1.
0General:Firstfullyfunctionalver-sion1v1.
0aGeneral:Documentationupdate.
.
1v1.
0bGeneral:Documentationupdate.
.
1v1.
0cGeneral:Installationupdate1v1.
1General:Addedletterspacedfont.
1v1.
2qspread:Changedspacing5v1.
3General:Addedseveralletterspacedfonts1Documentationupdate1kspread:Changedspacing4qspread:Changedspacing5rspread:Changedspacing5sspread:Changedspacing511IndexNumberswritteninitalicrefertothepagewherethecorrespondingentryisde-scribed;numbersunderlinedrefertothecodelineofthedenition;numbersinromanrefertothecodelineswheretheentryisused.
Symbols\@classoptionslist.
178,179\@currext191\@currname191\@empty.
.
.
69,177,195\@expandtwoargs.
.
.
184\@for179\@ifundefined180\@ptionlist191\@removeelement.
.
.
184\@tempc176\@unprocessedoptions199\@unusedoptionlist.
185A\a46,76\adddriver164\AtEndOfPackage.
.
.
198B\begin21\bye146,167C\close88\CodelineIndex.
.
.
.
18\csname67,72,78,81,83\CurrentOption179,180,183,184,195D\day62\DeclareFontFamily.
76\DeclareTextFontCommand.
201,203,205,207\def45,174,175\define@key173\Dgm@@scale69,71,94,96,98,100,102,104,106,108,110,112,114,116,121,123,125,127,129,131,133,135,137,139,141,143\Dgm@scale174\Dgm@tempa.
.
.
177,183,189,191,194\do80,82,179\DocInput22\documentclass.
.
.
.
12\dogmablack203\dogmabold201\dogmaoutline205\dogmascript207\donedrivers166E\edef47,48,71,183,189\else70,178\EnableCrossrefs.
.
20\encoding150\end23\endcsname.
68,72,78,81,83\endencoding159\endinput87\endinstallfonts.
.
117,144\endrecordtransforms145\expandafter67F\fd45\fi61,62,74,188\fontfamily.
202,204,206,208\fontinstcc44\fontinstversion53,63\fontseries202,204,206\fontshape.
.
.
206,208\fromafm.
.
36–39,41,43G\g85\gobblethree.
.
155,156I\ifnum61,62\ifx67,178\input.
.
.
.
26,162,165\inputetx.
.
.
.
157,158\installfamily.
92,119\installfont.
93,95,97,99,101,103,105,107,109,111,113,115,120,122,124,126,128,130,132,134,136,138\installfontas140,142\installfonts.
.
91,118\int.
.
.
.
40,42,151–154J\jobname52K\kspread31L\left71\let.
69,80,82,156,176,177,195,199\ligature156\lowercase.
.
47–51,58M\month61N\NeedsTeXFormat.
.
.
.
1\noexpand48,190\normalcc90O\open50options:scaled312\out.
.
.
51–55,57–59,66,67,69–71,74–76,79,86,87P\PageIndex17\percent51–53,55,73,74\ProcessOptionsWithKV175,197\ProvidesClass5\ProvidesFile3,6,7,58Q\qspread32R\RecordChanges.
.
.
.
19\recordtransforms.
35\reencodefont.
.
.
.
36–39,41,43\relax68,149,176,178,199\remove82\RequirePackage170–172\resetint.
.
.
.
151–154\resetstr163\right73\rspread33Sscaled(option)3\selectfont.
202,204,206,208\setcommand155\setint29–34\setkeys190\slantfont40,42\space62,63,67,69,71,72\sspread34\string.
.
58,67–72,74,76,87,94,96,98,100,102,104,106,108,110,112,114,116,121,123,125,127,129,131,133,135,137,139,141,143\substitute80\substitutesilent27,28T\textdogmablack.
.
.
.
3\textdogmabold3\textdogmaoutline.
.
3\textdogmascript.
.
.
3\the60–62,76\transformfont36–40,42U\usepackage13–15X\x85Y\year6013
蓝竹云怎么样 蓝竹云好不好蓝竹云是新商家这次给我们带来的 挂机宝25元/年 美国西雅图云服务器 下面是套餐和评测,废话不说直接开干~~蓝竹云官网链接点击打开官网江西上饶挂机宝宿主机配置 2*E5 2696V2 384G 8*1500G SAS RAID10阵列支持Windows sever 2008,Windows sever 2012,Centos 7.6,Debian 10.3,Ubuntu1...
前些天赵容分享过DogYun(狗云)香港BGP线路AMD 5950X经典低价云服务器的信息(点击查看),刚好账户还有点余额够开个最低配,所以手贱尝试下,这些贴上简单测试信息,方便大家参考。官方网站:www.dogyun.com主机配置我搞的是最低款优惠后14.4元/月的,配置单核,512MB内存,10GB硬盘,300GB/50Mbps月流量。基本信息DogYun的VPS主机管理集成在会员中心,包括...
spinservers怎么样?spinservers大硬盘服务器。Spinservers刚刚在美国圣何塞机房补货120台独立服务器,CPU都是双E5系列,64-512GB DDR4内存,超大SSD或NVMe存储,数量有限,机器都是预部署好的,下单即可上架,无需人工干预,有需要的朋友抓紧下单哦。Spinservers是Majestic Hosting Solutions,LLC旗下站点,主营美国独立...
fontfamily为你推荐
中国电信互联星空怎么在中国电信网上营业厅自行开通互联星空消费权限怎么样免费装扮qq空间要怎么免费装扮QQ空间!公章制作word里如何制作公章?唱吧电脑版官方下载电脑上可以安装唱吧吗?xp系统停止服务xp系统停止服务怎么办虚拟专用网虚拟专用网 有什么用处?网站优化方案网站优化方案应该从哪些方面去分析?如何清理ie缓存怎么清理IE的缓存域名库想自己买一个域名,然后自己做一个网站,挂上去。请问基本流程是什么样的?去鼠标加速度请教如何正确的去处鼠标加速度~
免备案虚拟空间 亚洲大于500m oneasiahost blackfriday ix主机 免费cdn加速 ixwebhosting 魔兽世界台湾服务器 帽子云 日本bb瘦 hostker 百度云1t 美国网站服务器 免费cdn 东莞服务器 免费mysql数据库 台湾google 丽萨 谷歌台湾 镇江高防 更多