Packagefontfamily

fontfamily  时间:2021-02-18  阅读:()
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

hosteons:10Gbps带宽,免费Windows授权,自定义上传ISO,VPS低至$21/年,可选洛杉矶达拉斯纽约

hosteons当前对美国洛杉矶、达拉斯、纽约数据中心的VPS进行特别的促销活动:(1)免费从1Gbps升级到10Gbps带宽,(2)Free Blesta License授权,(3)Windows server 2019授权,要求从2G内存起,而且是年付。 官方网站:https://www.hosteons.com 使用优惠码:zhujicepingEDDB10G,可以获得: 免费升级10...

CloudCone(12.95美元/月CN2 GT线路,KVM架构1 Gbps带宽

整理一下CloudCone商家之前推送的闪购VPS云服务器产品,数量有限,活动推出可能很快机器就售罄了,有需要美国便宜VPS云服务器的朋友可以关注一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务器提供商,国外实力大厂,自己开发的主机系统面板,CloudCone主要销售美国洛杉矶云服务器产品,优势特点是...

Webhosting24:€15/年-AMD Ryzen/512MB/10GB/2TB/纽约&日本&新加坡等机房

Webhosting24是一家始于2001年的意大利商家,提供的产品包括虚拟主机、VPS、独立服务器等,可选数机房包括美国洛杉矶、迈阿密、纽约、德国慕尼黑、日本、新加坡、澳大利亚悉尼等。商家VPS主机采用AMD Ryzen 9 5950X CPU,NVMe磁盘,基于KVM架构,德国机房不限制流量,网站采用欧元计费,最低年付15欧元起。这里以美国机房为例,分享几款套餐配置信息。CPU:1core内存...

fontfamily为你推荐
优酷路由宝怎么赚钱优酷路由宝整的可以赚钱吗?可以赚多少?依赖注入依赖注入是什么意思?网站运营一般网站如何运营申请证书一、如何申请证书?唱吧电脑版官方下载唱吧有电脑版的么? 在哪里下载啊?二层交换机什么是三层交换机?什么是二层叫交换机?有什么区别?机械键盘轴打游戏用机械键盘到底什么轴好?电子商务网站模板我想开发一个电子商务网站,但是想加入自己设计的模板,可以吗?网站优化方案网站优化方案如何写?三星s8什么时候上市大约什么时候买S8合适
独立ip空间 godaddy域名解析教程 已经备案域名 香港ufo 阿里云邮箱登陆首页 mach win8升级win10正式版 商务主机 河南服务器 165邮箱 七夕促销 服务器维护方案 域名和空间 cn3 vip购优惠 中国电信宽带测速网 卡巴斯基是免费的吗 申请网站 视频服务器是什么 秒杀品 更多