DOCX 引擎
DOCX 引擎从您的简历 YAML 文件生成 Microsoft Word 文档。这特别适用于需要以可编辑格式分享简历,或将其提交到要求 Word 文档的系统时。
配置
要使用 DOCX 引擎,请在布局配置中指定 engine: docx。
layouts:
- engine: docx
template: calm
# ... 其他选项页面
page 选项允许您自定义页面设置,例如纸张大小、页边距以及是否显示页码。
layouts:
- engine: docx
page:
showPageNumbers: true
# a4 or letter
paperSize: a4
margins:
top: 2.5cm
left: 1.5cm
right: 1.5cm
bottom: 2.5cm章节
sections 选项允许您自定义章节标题及其顺序。更多信息,请参见章节文档。
layouts:
- engine: docx
sections:
aliases:
work: "Professional Experience"
education: "Education"
skills: "Skills"
order:
- basics
- work
- education模板
template 选项允许您从各种模板中选择。每个模板都有独特的设计和布局。您可以在模板文档中找到可用模板的列表。
layouts:
- engine: docx
template: calm排版
typography 选项允许您自定义简历中使用的字体样式。
字体大小
fontSize 选项允许您设置文档的基本字体大小。DOCX 引擎支持从 10pt 到 12pt 的字体大小。
| 值 | 描述 |
|---|---|
10pt | 小 |
10.5pt | 紧凑 |
11pt | 正常 |
11.5pt | 中等 |
12pt | 大 |
字体家族
fontFamily 选项允许您指定 DOCX 输出中使用的字体名称。字体必须在打开文档的系统上可用。
layouts:
- engine: docx
typography:
fontFamily: Arial行间距
lineSpacing 选项允许您调整文档的行间距。YAMLResume 使用语义值,这些值会映射到特定于引擎的实现:
| 值 | 描述 |
|---|---|
tight | 紧凑间距 |
snug | 比 tight 稍多的空间 |
normal | 均衡的可读性(默认) |
relaxed | 行之间更多呼吸空间 |
loose | 非常宽松的布局 |
高级设置
advanced 选项允许您配置 DOCX 的高级设置。
显示 URL
showUrls 选项控制是否在文档中显示原始 URL。启用后,机构、公司、项目等的 URL 将显示为可点击的超链接。
显示图标
showIcons 选项控制是否为联系信息和位置显示表情图标。启用后,电话和邮件符号等图标将显示在文本旁边。
layouts:
- engine: docx
advanced:
showUrls: true
showIcons: trueEdit on GitHub
Last updated on