File:Metafont-example-output.svg
维基百科,自由的 encyclopedia
![File:Metafont-example-output.svg](http://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Metafont-example-output.svg/568px-Metafont-example-output.svg.png)
此SVG文件的PNG预览的大小:568 × 247像素。 其他分辨率:320 × 139像素 | 640 × 278像素 | 1,024 × 445像素 | 1,280 × 557像素 | 2,560 × 1,113像素。
原始文件 (SVG文件,尺寸为568 × 247像素,文件大小:3 KB)
摘要
描述Metafont-example-output.svg |
English: To create the image, put the following code in mfont.mf (from w:Metafont's Example section)
mode_setup;
% Define a beanlike shape for the character B
beginchar("B",11pt#,11pt#,0);
% Setup coordinates as an equation system
y1=y2=y3=0;
y4=y5=y6=h;
x1=x4=0;
x2=x5=w;
x3=x6=2*w;
% Define pen
pickup pencircle xscaled 0.2w yscaled 0.04w rotated 45;
% Draw the character curve
draw z1..z3..z6{z2-z6}..z5..{z4-z2}z4..cycle;
endchar;
end
and the following code in \documentclass{article}
\newfont{\obrfont}{mfont}
\begin{document}
\pagestyle{empty}
\begin{center}
{\obrfont B}
\end{center}
\end{document}
Put those two files in the same directory, compile with these commands: $ latex main $ dvisvgm -n1 -e -Z0.1 mainThe end result is the file main.svg |
日期 | |
来源 | 自己的作品 |
作者 | ngoclong19 |
许可协议
我,本作品著作权人,特此采用以下许可协议发表本作品:
![]() ![]() |
本作品采用知识共享CC0 1.0 通用公有领域贡献许可协议授权。 |
采用本宣告发表本作品的人,已在法律允许的范围内,通过在全世界放弃其对本作品拥有的著作权法规定的所有权利(包括所有相关权利),将本作品贡献至公有领域。您可以复制、修改、传播和表演本作品,将其用于商业目的,无需要求授权。
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
![]() |
本图像的分类需要调整。 马上检查!
|
说明
添加一行文字以描述该文件所表现的内容
此文件中描述的项目
描绘内容
创作作者 简体中文(已转写)
某些值没有维基数据项目
版权状态 简体中文(已转写)
受版权保护,并由版权所有者释出于公有领域 简体中文(已转写)
17 7 2015
文件历史
点击某个日期/时间查看对应时刻的文件。
日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
---|---|---|---|---|---|
当前 | 2015年7月17日 (五) 03:20 | ![]() | 568 × 247(3 KB) | Ngoclong19 | User created page with UploadWizard |
文件用途
以下页面使用本文件:
全域文件用途
以下其他wiki使用此文件:
元数据
此文件中包含有扩展的信息。这些信息可能是由数码相机或扫描仪在创建或数字化过程中所添加。
如果此文件的源文件已经被修改,一些信息在修改后的文件中将不能完全反映出来。
宽度 | 454.488pt |
---|---|
高度 | 197.212pt |