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
阿里云香港配置图提速啦是成立于2012年的十分老牌的一个商家这次给大家评测的是 阿里云香港 16核32G 20M 这款产品,单单说价格上就是十分的离谱原价8631元/月的现价只要 999元 而且还有个8折循环优惠。废话不多说直接进入正题。优惠时间 2021年8月20日-2021年9月20日 优惠码 wn789 8折优惠阿里云香港BGP专线 16核32G 10M带宽 优惠购买 399元购买链接阿里云...
特网云官網特网云服务器在硬件级别上实现云主机之间的完全隔离;采用高端服务器进行部署,同时采用集中的管理与监控,确保业务稳定可靠,搭建纯SSD架构的高性能企业级云服务器,同时采用Intel Haswell CPU、高频DDR4内存、高速Sas3 SSD闪存作为底层硬件配置,分钟级响应速度,特网云采用自带硬防节点,部分节点享免费20G防御,可实现300G防御峰值,有效防御DDoS、CC等恶意攻击,保障...
从介绍看啊,新增的HostYun 俄罗斯机房采用的是双向CN2线路,其他的像香港和日本机房,均为国内直连线路,访问质量不错。HostYun商家通用九折优惠码:HostYun内存CPUSSD流量带宽价格(原价)购买地址1G1核10G300G/月200M28元/月购买链接1G1核10G500G/月200M38元/月购买链接1G1核20G900G/月200M68元/月购买链接2G1核30G1500G/月...
fontfamily为你推荐
在线漏洞检测漏洞扫描工具有哪些缓冲区溢出教程如何防止高手使用缓冲区溢出?硬盘人克隆一个人需要多少人多长时间啊bt封杀北京禁用BT下载,是真的吗?为什么?二层交换机什么是三层交换机?什么是二层叫交换机?有什么区别?网页打开很慢为什么我打开网页很慢cr2格式如何打开CR2格式的照片呢如何快速收录如何做到让百度快速收录购买流量手机买流量怎么买呀nokia最新手机介绍NOKIA最新款手机?
百度域名 日本vps 如何申请免费域名 老域名全部失效请记好新域名 希网动态域名 lamp安装 香港bgp机房 国内免备案主机 星星海 香港托管 美国主机论坛 好玩的桌面 100m免费空间 cpanel空间 腾讯云分析 免费申请网站 多线空间 双线机房 中国电信网络测速 监控服务器 更多