StyleKit

论文排版风

LaTeX Paper

给这个风格评分

把 LaTeX 学术论文的排版语言搬到网页:Computer Modern 字感、居中标题与 Abstract、层级编号小节、定理环境、编号公式、booktabs 表格与悬挂缩进参考文献。适合研究主页、课程讲义与学术型作品集。

学术论文LaTeX排版定理环境编号公式booktabs参考文献研究主页课程讲义academicscholarlyserif

适合场景

学术 / 论文 / LaTeX

设计重点

全文使用衬线字体 font-serif,标题加 tracking-tight 模拟 Computer Modern 字感

注意事项

禁止表格出现竖线或斑马纹底色——booktabs 只允许横线

design.md

论文排版风 的设计文档

一份文档说明这套风格的配色职责、字体规则、间距与组件构造。复制或下载后直接交给 Claude Code 或 Codex。

文档视图

论文排版风 — 风格参考

Computer Modern 的比例、编号的层级、三线表的克制:一张纸。

Theme: light

论文排版风把 LaTeX 的排版语汇搬到网页:全文衬线并收紧字距以模拟 Computer Modern,标题用 1 与 1.1 的层级编号,摘要用两侧缩进的窄块加居中小标题,定理用浅底或 2px 左线加粗体标签配斜体正文,表格用 booktabs 三线表(上下粗线加表头细线,绝无竖线与斑马纹),链接统一 hyperref 蓝。它禁止彩色大按钮、渐变、无衬线正文、圆角、阴影与装饰图形——纸是平的,层次只靠横线与留白。

Colors

NameValueTokenRole
Ink#111111--color-ink正文、标题、三线表的粗线。印刷黑。
White#ffffff--color-white纸面。纯白,不泛黄。
Hyperref Blue#0b5394--color-hyperref-blue链接与交叉引用,是唯一允许出现的彩色。
Theorem Ground#f5f5f0--color-theorem-ground定理环境与代码块的浅底。
Muted Grey#6b6b66--color-muted-grey图注、元数据与参考文献的补充信息。
Rule Grey#d4d4d0--color-rule-grey表头细线与极次级分隔。

Typography

Latin Modern Roman — 全文衬线,标题加紧字距模拟 Computer Modern。正文行高 1.55,比常规论文略松以适应屏幕。
  • Substitute: 'Computer Modern', 'Source Serif', Georgia, serif
  • Weights: 400, 700
  • Sizes: 12, 14, 17, 20, 26, 34
  • Line height: 1.2 (display), 1.3 (headings), 1.55 (body)
  • Letter spacing: -0.01em on display, 0.04em on uppercase labels
Latin Modern Mono — 代码、公式编号与算法块。等宽只在代码处出现,正文绝不使用。
  • Substitute: ui-monospace, 'Courier New', monospace
  • Weights: 400
  • Sizes: 12, 13
  • Line height: 1.4 (display), 1.4 (headings), 1.5 (body)
  • Letter spacing: 0 on display, 0.04em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
displayLatin Modern Roman70034px1.2-0.01em--text-display
headingLatin Modern Roman70026px1.25—--text-heading
subheadingLatin Modern Roman70020px1.3—--text-subheading
body-lgLatin Modern Roman40017px1.55—--text-body-lg
bodyLatin Modern Roman40014px1.55—--text-body
labelLatin Modern Roman70012px1.40.04em--text-label

Spacing & Layout

Base unit: 4px Density: comfortable

Spacing Scale
NameValueToken
44px--spacing-4
88px--spacing-8
1212px--spacing-12
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
Border Radius
ElementValue
cards0
buttons0
inputs0
  • Page max-width: 700px
  • Section gap: 48px
  • Card padding: 16px
  • Element gap: 12px

Components

Numbered Section

Role: 带编号的小节标题

格式为「1 引言」「1.1 背景」,编号与标题之间用 12px 空隙(不用制表符)。一级 26px/700,二级 20px/700,均为衬线并紧字距。编号不缩进,标题与编号左对齐。

Theorem Block

Role: 定理环境

浅底 #f5f5f0(或白底配 2px 墨色左线)、零圆角、内边距 12px 16px,无阴影。标签用 12px/700 正体(如「定理 1」),正文用 14px 斜体衬线、行高 1.55,标签与正文之间一个空格。

Booktabs Table

Role: 三线表

顶部 2px 墨线、表头下 1px 墨线(或 #d4d4d0)、底部 2px 墨线,单元格 padding 4px 12px、14px 衬线,数值列右对齐。绝不允许竖线与斑马纹。表题在表上方,格式为「表 1:」。

Abstract Block

Role: 摘要

最大宽度 36rem、左右各 32px 内边距、居中放置。上方一个 12px/700 居中小标题「摘要」,正文 14px 衬线、行高 1.6、两端对齐(text-align: justify)。

Reference Entry

Role: 参考文献条目

14px 衬线、行高 1.5、悬挂缩进(padding-left: 1.5em 配 text-indent: -1.5em),条目编号用 [1] 方括号。条目之间 8px。作者与年份不加粗,保持平铺。

Do's and Don'ts

Do
  • 全文衬线,标题紧字距
  • 小节用 1 与 1.1 编号
  • 表格用 booktabs 三线
  • 链接统一 hyperref 蓝
  • 定理用浅底或左线
  • 零圆角、零阴影
Don't
  • 不要给表格加竖线与斑马纹
  • 不要用彩色大按钮与渐变
  • 不要用无衬线正文
  • 不要用任何圆角
  • 不要用阴影
  • 不要用装饰图形与 emoji

Surfaces

LevelNameValuePurpose
0White#ffffff纸面
1Theorem Ground#f5f5f0定理与代码块

Elevation

  • None: none — paper is flat

Imagery

图形只能作为带编号图注的 Figure 出现:折线、柱状、示意图,黑白或低饱和。图注在图下方、14px 次灰、格式为「图 1:」。不使用装饰插画、emoji、彩色大图与任何无编号的图像。

Layout

版心 700px、居中、文字两端对齐。区块间距 48px,标题上方留 32px。单栏,页边距对称。所有分隔用横线,绝不用底色块或阴影分区。

Agent Prompt Guide

Implementation Contract
  • 以用户请求中的页面、用户任务和真实内容为依据,只实施指定范围;标明缺失的业务信息,不编造数据或能力。
  • 先检查现有项目、技术栈与组件;沿用项目结构、路由和依赖,复用已有组件,不重建未要求的页面或功能。
  • 沿用项目断点,调整窄屏与桌面的网格和留白;保留信息层级,避免意外横向溢出。
  • 对本次涉及的交互,处理键盘焦点与减少动态效果;补齐适用的禁用、加载、空内容与错误状态。
  • 完成后按项目现有脚本检查,仅报告实际运行的测试与视觉检查,并列出未验证项。

QUICK COLOR REFERENCE:

  • text: #111111
  • background: #ffffff
  • link: #0b5394
  • theorem: #f5f5f0
  • muted: #6b6b66
  • rule: #d4d4d0

EXAMPLE COMPONENT PROMPTS:

  1. 做一个论文排版页面:版心 700px、居中、全文衬线(Latin Modern Roman 或 Source Serif)、正文 14px、行高 1.55、两端对齐。标题用 1 / 1.1 编号、编号与标题间距 12px、26px 与 20px 700 字重。摘要用 36rem 窄块居中、上方 12px 居中小标题。表格用 booktabs:顶部 2px #111、表头下 1px #d4d4d0、底部 2px #111,绝无竖线。链接色 #0b5394。零圆角零阴影。

Similar Brands

  • Distill Style — 同为学术排版,但 Distill 有边注与突破版心的图表,LaTeX 更严守版心
  • F-Pattern Layout — 同样服务长文阅读,但 F 型优化扫读,LaTeX 优化细读

Quick Start


:root {
  /* Colors */
  --color-ink: #111111;
  --color-white: #ffffff;
  --color-hyperref-blue: #0b5394;
  --color-theorem-ground: #f5f5f0;
  --color-muted-grey: #6b6b66;
  --color-rule-grey: #d4d4d0;

  /* Typography — Font Families */
  --font-serif: 'Latin Modern Roman', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Latin Modern Mono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-display: 34px;
  --leading-display: 1.2;
  --tracking-display: -0.01em;
  --text-heading: 26px;
  --leading-heading: 1.25;
  --text-subheading: 20px;
  --leading-subheading: 1.3;
  --text-body-lg: 17px;
  --leading-body-lg: 1.55;
  --text-body: 14px;
  --leading-body: 1.55;
  --text-label: 12px;
  --leading-label: 1.4;
  --tracking-label: 0.04em;

  /* Typography — Weights */
  --font-weight-regular: 400;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-unit: 4px;
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-48: 48px;
  --spacing-64: 64px;

  /* Layout */
  --page-max-width: 700px;
  --section-gap: 48px;
  --card-padding: 16px;
  --element-gap: 12px;
  --density: comfortable;

  /* Border Radius */
  --radius-cards: 0;
  --radius-buttons: 0;
  --radius-inputs: 0;

  /* Surfaces */
  --surface-white: #ffffff;
  --surface-theorem-ground: #f5f5f0;
}

社区

评分与反馈

还没有人评分,来当第一个登录后评分

正在加载评论…

组件模板

组件预览

按钮

论文语境的操作元素:墨黑实底主按钮、细边框次按钮、hyperref 蓝引用式链接

常见问题

关于论文排版风的常见问题

什么是论文排版风风格?
把 LaTeX 学术论文的排版语言搬到网页:Computer Modern 字感、居中标题与 Abstract、层级编号小节、定理环境、编号公式、booktabs 表格与悬挂缩进参考文献。适合研究主页、课程讲义与学术型作品集。 它的设计理念:LaTeX Paper(论文排版风)把学术论文的排版系统当作一种视觉语言:一切都有编号,一切都可引用。秩序感本身就是学术可信度的外观。 核心理念: - 编号即导航:小节 1 / 1.
论文排版风风格常用什么配色?
论文排版风 的主色是 #111111,辅色是 #FFFFFF,强调色包括 #0B5394、#F5F5F0、#6B6B66、#D4D4D0。每个色值都可以在本页色板中复制。
怎样把论文排版风风格做对?
关键做法:全文使用衬线字体 font-serif,标题加 tracking-tight 模拟 Computer Modern 字感. 文档头部居中:标题 text-3xl md:text-4xl、作者行 text-sm、日期 italic,依次垂直排列. Abstract 使用两侧缩进窄块 max-w-xl mx-auto px-8,顶部居中小标题 font-bold text-sm.
论文排版风风格最常见的错误是什么?
应避免:禁止表格出现竖线或斑马纹底色——booktabs 只允许横线. 禁止彩色大按钮和渐变——操作元素只能是墨黑实底、细边框或 hyperref 蓝链接. 禁止正文使用无衬线字体——sans 破坏论文字感,代码请用等宽.
如何让 AI 生成论文排版风风格的界面?
复制本页提供的 AI 提示词(含设计 tokens 与组件规则),粘贴到 ChatGPT、Claude、Claude Code 或 Codex。提示词中应包含关键词:学术、论文、LaTeX、排版。
全局样式

全局 CSS

css
/* LaTeX Paper global styles */
:root {
  --ltx-ink: #111111;
  --ltx-paper: #FFFFFF;
  --ltx-href: #0B5394;
  --ltx-thm-bg: #F5F5F0;
  --ltx-rule: #D4D4D0;
  --ltx-muted: #6B6B66;
}

body {
  font-family: "Computer Modern Serif", Georgia, Cambria, "Times New Roman", Times, serif;
  background: var(--ltx-paper);
  color: var(--ltx-ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: inherit;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--ltx-thm-bg);
  color: var(--ltx-ink);
}

/* Theorem environment: bold label, italic body, light fill */
.ltx-theorem {
  background: var(--ltx-thm-bg);
  border-left: 2px solid var(--ltx-ink);
  padding: 1.25rem 1.5rem;
}
.ltx-theorem .ltx-theorem-label {
  font-weight: 700;
  font-style: normal;
}
.ltx-theorem .ltx-theorem-body {
  font-style: italic;
}

/* Display equation: centered formula, (n) tag on the right */
.ltx-equation {
  display: flex;
  align-items: baseline;
  margin: 1.5rem 0;
}
.ltx-equation .ltx-equation-math {
  flex: 1;
  text-align: center;
  font-style: italic;
}
.ltx-equation .ltx-equation-tag {
  font-style: normal;
  color: var(--ltx-ink);
}

/* booktabs table: heavy top/bottom rules, thin midrule, no vertical rules */
.ltx-booktabs {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ltx-ink);
  border-bottom: 2px solid var(--ltx-ink);
}
.ltx-booktabs thead th {
  border-bottom: 1px solid var(--ltx-ink);
  font-weight: 400;
  font-style: italic;
  padding: 0.5rem 0.75rem;
}
.ltx-booktabs td {
  padding: 0.45rem 0.75rem;
}

/* Hanging-indent reference list */
.ltx-refs {
  list-style: none;
  padding: 0;
}
.ltx-refs li {
  padding-left: 2rem;
  text-indent: -2rem;
  margin-bottom: 0.5rem;
}

/* Small-caps label, e.g. for keywords line */
.ltx-smallcaps {
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

@keyframes latex-paper-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.latex-paper-animate-in {
  animation: latex-paper-fade-in 0.5s ease-out both;
}

相关风格

相关风格

探索这些风格获取现成的 tokens 和组件。

论文排版风 和 街机CRT 是最接近的两个方向。下表列出它们在配色、适用场景和标签上的实际差异,选之前先看这一栏。

维度论文排版风街机CRT
主色#111111#39ff14
辅助色#FFFFFF#050505
适合场景学术 / 论文 / LaTeXCRT / scanlines / retro gaming
独有标签——
设计哲学

LaTeX Paper(论文排版风)把学术论文的排版系统当作一种视觉语言:一切都有编号,一切都可引用。秩序感本身就是学术可信度的外观。