File:Metafont-example-output.svg
来自Wikimedia Commons
跳转到导航
跳转到搜索
此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 |
本图像的分类需要调整。 马上检查!
|
文件历史
点击某个日期/时间查看对应时刻的文件。
日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
---|---|---|---|---|---|
当前 | 2015年7月17日 (五) 03:20 | 568 × 247(3 KB) | Ngoclong19(留言 | 贡献) | User created page with UploadWizard |
您不可以覆盖此文件。
文件用途
没有页面使用本文件。
全域文件用途
以下其他wiki使用此文件:
元数据
此文件含有额外信息,这些信息可能是创建或数字化该文件时使用的数码相机或扫描仪所添加的。如果文件已从其原始状态修改,某些详细信息可能无法完全反映修改后的文件。
宽度 | 454.488pt |
---|---|
高度 | 197.212pt |