设置参考

本节为您提供有关任何可用样式设置的详细参考。

概述

文档设置

样式设置 描述
[column-count](https://ulysses.app/styles/reference/column-count) 用于输出的文本列数。
[column-spacing-width](https://ulysses.app/styles/reference/column-spacing-width) 多列布局的两个文本列之间的间距。
[footnote-enumeration](https://ulysses.app/styles/reference/footnote-enumeration) 指定如何枚举脚注。
[footnote-placement](https://ulysses.app/styles/reference/footnote-placement) 指定脚注在文档中的放置位置。
[footnote-style](https://ulysses.app/styles/reference/footnote-style) 枚举脚注应使用的样式。
[locale](https://ulysses.app/styles/reference/locale) 如果语言检测失败,则应用于断字的区域设置。
[page-binding](https://ulysses.app/styles/reference/page-binding) 页面绑定的位置。
[page-height](https://ulysses.app/styles/reference/page-height) 页面的高度。
[page-inset-bottom](https://ulysses.app/styles/reference/page-inset-bottom) 页面底部边框和页面内容之间的间隔。
[page-inset-inner](https://ulysses.app/styles/reference/page-inset-inner) 页面内边框与页面内容之间的间隔。 取决于
[page-binding](https://ulysses.app/styles/reference/page-binding)[two-side](https://ulysses.app/styles/reference/two-side)
[page-inset-outer](https://ulysses.app/styles/reference/page-inset-outer) 页面外边界与页面内容之间的间距。 取决于
[page-binding](https://ulysses.app/styles/reference/page-binding)[two-side](https://ulysses.app/styles/reference/two-side)
[page-inset-top](https://ulysses.app/styles/reference/page-inset-top) 页面顶部边框和页面内容之间的间隔。
[page-number-format](https://ulysses.app/styles/reference/page-number-format) 页码应使用的格式字符串。
[page-number-reset](https://ulysses.app/styles/reference/page-number-reset) 指定是否应在每个部分上重设页码。
[page-number-style](https://ulysses.app/styles/reference/page-number-style) 用于生成页码的样式。
[page-orientation](https://ulysses.app/styles/reference/page-orientation) 页面的方向。
[page-width](https://ulysses.app/styles/reference/page-width) 页面的宽度。
[section-break](https://ulysses.app/styles/reference/section-break) 指定标题还是分隔符将引入分节符。
[two-sided](https://ulysses.app/styles/reference/two-sided) 指定是否为双面打印生成输出。

页眉和页脚

样式设置 描述
[bottom-spacing](https://ulysses.app/styles/reference/area-header-bottom-spacing) 页眉/页脚底部的间距。
[content](https://ulysses.app/styles/reference/content) 应该填写到页眉/页脚的内容。
[top-spacing](https://ulysses.app/styles/reference/area-header-top-spacing) 页眉/页脚顶部的间距。

脚注区域

样式设置 描述
[anchor-alignment](https://ulysses.app/styles/reference/anchor-alignment) 脚注锚点的水平对齐方式。
[anchor-inset](https://ulysses.app/styles/reference/anchor-inset) 脚注区域内脚注锚点的插入。
[divider-length](https://ulysses.app/styles/reference/divider-length) 脚注的分隔线的长度。
[divider-position](https://ulysses.app/styles/reference/divider-position) 脚注分隔线的水平位置。
[divider-spacing](https://ulysses.app/styles/reference/divider-spacing) 脚注分隔线与其内容之间的间距。
[divider-width](https://ulysses.app/styles/reference/divider-width) 脚注的分隔线的宽度。
[text-inset](https://ulysses.app/styles/reference/area-footnote-text-inset) 脚注区域文本的插图。
[top-spacing](https://ulysses.app/styles/reference/area-footnotes-top-spacing) 脚注分隔线前的间距。

内联

样式设置 描述
[background-color](https://ulysses.app/styles/reference/background-color) 文本的背景色。
[baseline-shift](https://ulysses.app/styles/reference/baseline-shift) 相对于基线的文本位置。
[character-spacing](https://ulysses.app/styles/reference/character-spacing) 附加字符间距。
[font-color](https://ulysses.app/styles/reference/font-color) 文本的前景色。
[font-family](https://ulysses.app/styles/reference/font-family) 字体的家族名称。
[font-size](https://ulysses.app/styles/reference/font-size) 用于设置文本样式的字体大小。
[font-slant](https://ulysses.app/styles/reference/font-slant) 字体的倾斜度。
[font-style](https://ulysses.app/styles/reference/font-style) 字体的印刷样式。
[font-weight](https://ulysses.app/styles/reference/font-weight) 字体的粗细。
[strikethrough](https://ulysses.app/styles/reference/strikethrough) 文本的删除线样式。
[strikethrough-color](https://ulysses.app/styles/reference/strikethrough-color) 文本删除线的颜色。
[style-title](https://ulysses.app/styles/reference/style-title) 用于DOCX文件中的格式模板的样式的名称。
[underline](https://ulysses.app/styles/reference/underline) 文本的下划线样式。
[underline-color](https://ulysses.app/styles/reference/underline-color) 文字下划线的颜色。
[visibility](https://ulysses.app/styles/reference/visibility) 元素的可见性。

媒体

样式设置 描述
[margin-left](https://ulysses.app/styles/reference/image-margin-left) 元素的左边距。
[margin-right](https://ulysses.app/styles/reference/image-margin-right) 元素的右边距。

脚注

样式设置 描述
[footnote-visibility](https://ulysses.app/styles/reference/footnote-visibility) 指定是否应将元素实际视为脚注或普通内联文本。

段落

样式设置 描述
[default-tab-interval](https://ulysses.app/styles/reference/default-tab-interval) 两个制表位开头之间的默认间距长度。
[first-line-indent](https://ulysses.app/styles/reference/first-line-indent) 段落第一行的缩进。
[hyphenation](https://ulysses.app/styles/reference/hyphenation) 是否将连字符应用于段落。
[justify-line-breaks](https://ulysses.app/styles/reference/justify-line-breaks) 文本是否应在换行符处对齐。
[keep-with-following](https://ulysses.app/styles/reference/keep-with-following) 如果发生分页符,请将该段落保留在以下段落中。
[line-height](https://ulysses.app/styles/reference/line-height) 段落的两条相邻线的基线之间的距离。
[margin-bottom](https://ulysses.app/styles/reference/margin-bottom) 段落的底边距。
[margin-left](https://ulysses.app/styles/reference/margin-left) 段落的左边距。
[margin-right](https://ulysses.app/styles/reference/margin-right) 段落的右边距。
[margin-top](https://ulysses.app/styles/reference/margin-top) 段落的上边距。
[orphans-and-widows](https://ulysses.app/styles/reference/orphans-and-widows) 在段落中对orphans和widows的处理。
[page-break](https://ulysses.app/styles/reference/page-break) 指定分页符应该在段落之前还是之后。
[tab-alignments](https://ulysses.app/styles/reference/tab-alignments) 每个制表符的水平文本对齐方式。
[tab-positions](https://ulysses.app/styles/reference/tab-positions) 每个制表符的起始位置。
[text-alignment](https://ulysses.app/styles/reference/text-alignment) 段落文字的水平对齐方式。

分割线

样式设置 描述
[content](https://ulysses.app/styles/reference/dividercontent) 分隔符的内容

列表

样式设置 描述
[enumeration-format](https://ulysses.app/styles/reference/enumeration-format) 用于生成枚举数的格式字符串。
[enumeration-style](https://ulysses.app/styles/reference/enumeration-style) 用于生成枚举数的样式。
[item-spacing](https://ulysses.app/styles/reference/item-spacing) 列表中两个项目之间的间距。
[itemization](https://ulysses.app/styles/reference/itemization) 指定是否将列表视为普通块。
[text-inset](https://ulysses.app/styles/reference/text-inset) 文本在文本列表中的位置。