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

RAKsmart新年钜惠:E3服务器秒杀$30/月起,新上韩国服务器,香港/日本/美国站群服务器,VPS月付$1.99起,GPU服务器,高防服务器_vps香港

RAKsmart发布了新年钜惠活动,即日起到2月28日,商家每天推出限量服务器秒杀,美国服务器每月30美元起,新上了韩国服务器、GPU服务器、香港/日本/美国常规+站群服务器、1-10Gbps不限流量大带宽服务器等大量库存;VPS主机全场提供7折优惠码,同时针对部分特惠套餐无码直购每月仅1.99美元,支持使用PayPal或者支付宝等方式付款,有中英文网页及客服支持。爆款秒杀10台/天可选精品网/大...

棉花云1折起(49元), 国内BGP 美国 香港 日本

棉花云官网棉花云隶属于江西乐网科技有限公司,前身是2014年就运营的2014IDC,专注海外线路已有7年有余,是国内较早从事海外专线的互联网基础服务提供商。公司专注为用户提供低价高性能云计算产品,致力于云计算应用的易用性开发,并引导云计算在国内普及。目前公司研发以及运营云服务基础设施服务平台(IaaS),面向全球客户提供基于云计算的IT解决方案与客户服务(SaaS),拥有丰富的国内BGP、双线高防...

久久网云-目前最便宜的国内,香港,美国,日本VPS云服务器19.9元/月起,三网CN2,2天内不满意可以更换其他机房机器,IP免费更换!。

久久网云怎么样?久久网云好不好?久久网云是一家成立于2017年的主机服务商,致力于为用户提供高性价比稳定快速的主机托管服务,久久网云目前提供有美国免费主机、香港主机、韩国服务器、香港服务器、美国云服务器,香港荃湾CN2弹性云服务器。专注为个人开发者用户,中小型,大型企业用户提供一站式核心网络云端服务部署,促使用户云端部署化简为零,轻松快捷运用云计算!多年云计算领域服务经验,遍布亚太地区的海量节点为...

fontfamily为你推荐
discuzntdiscuz x2和discuz nt什么区别,不都是做社区论坛吗,为什么大家都用前一个依赖注入依赖注入是什么意思?手机区号手机号码网站联盟网站联盟的运作流程显卡温度多少正常显卡温度是多少才算正常的?不兼容Google play 服务提示不兼容怎么办?申请证书手机申请证书申请证书求高手教下怎么申请证书iphone越狱后怎么恢复iPhone越狱后怎么恢复?天天酷跑刷金币天天酷跑怎么刷金币?
快速域名备案 亚洲大于500m 唯品秀 photonvps 韩国加速器 godaddy域名转出 牛人与腾讯客服对话 绍兴高防 小米数据库 促正网秒杀 中国电信测速112 七夕促销 qq云端 linux服务器维护 新睿云 免费php空间 双11促销 远程登录 小米电视主机 主机之家 更多