Styledex
← Index

LaTeX Paper

论文排版风

stylekitMITMinimal · minimalTexture · textureLight · lightMedium · mediumNeutral · neutralMuted · mutedSerif · serifGeneral · generalLanding · landing

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

NNorthwind
Product · Pricing
Specimen
Make the work feel finished

One interface, dressed in this style. Compare type, color, radius, and density.

128
Active
4.8
Score
12ms
Edge

Attribution

"LaTeX Paper" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/latex-paper @ bfa7da909e86.

https://github.com/AnxForever/stylekit · api/styles/latex-paper · bfa7da909e86 · © AnxForever

Do

  • 全文使用衬线字体 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
  • 小节标题使用层级编号:1 / 1.1 / 1.2,编号与标题之间留双空格感 gap-3
  • 定理环境使用浅底 bg-[#F5F5F0] 或左线 border-l-2 border-[#111111],标签粗体 + 正文斜体
  • 公式独立成行居中,右侧放 (n) 编号:flex justify-between 或 relative + absolute right-0
  • 表格使用 booktabs 三线表:border-t-2 border-b-2 border-[#111111] 粗线 + 表头下 border-b 细线
  • 链接与交叉引用统一 hyperref 蓝 text-[#0B5394],hover 加下划线

Don't

  • 禁止表格出现竖线或斑马纹底色——booktabs 只允许横线
  • 禁止彩色大按钮和渐变——操作元素只能是墨黑实底、细边框或 hyperref 蓝链接
  • 禁止正文使用无衬线字体——sans 破坏论文字感,代码请用等宽
  • 禁止圆角——一律 rounded-none,纸上没有圆角
  • 禁止阴影 shadow-*——纸张是平的,层次靠横线与留白
  • 禁止装饰性图形、emoji、插画——图形只能以带编号图注的 Figure 形式出现

Prompt

Use LaTeX Paper style to build a researcher's personal homepage:
1. Document head: centered name as title (font-serif text-4xl tracking-tight), affiliation line with superscript numbers, italic contact line with hyperref-blue email link
2. Abstract-style bio: narrow centered block (max-w-xl mx-auto px-8) with bold centered "About" heading
3. Section "1  Publications": hanging-indent list with [1] [2] [3] labels, italic venue names, and [PDF] [DOI] [BibTeX] links in text-[#0B5394]
4. Expandable BibTeX citation block per paper: font-mono text-xs inside bg-[#F5F5F0] rounded-none, toggled by the [BibTeX] link
5. Section "2  Projects": theorem-style boxes (bg-[#F5F5F0] border-l-2 border-[#111111]) with bold project names and italic one-line summaries
6. Section "3  Teaching": booktabs table (border-t-2 border-b-2 border-[#111111], thin rule under header, no vertical rules) listing courses, terms, roles
7. Footer: thin top rule, centered page number, italic "Last compiled: <date>" line
8. Palette: #FFFFFF paper, #111111 ink, #0B5394 links only, rounded-none, no shadows, serif throughout

---
"LaTeX Paper" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/latex-paper @ bfa7da909e86.
powered by Styledex — https://styledex.dev

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "LaTeX Paper. \"LaTeX Paper\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/latex-paper @ bfa7da909e86.",
  "$extensions": {
    "dev.styledex": {
      "id": "stylekit-latex-paper",
      "license": "MIT",
      "attribution": "\"LaTeX Paper\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/latex-paper @ bfa7da909e86.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "foreground": {
      "$type": "color",
      "$value": "#111111"
    },
    "card": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "#111111"
    },
    "primary": {
      "$type": "color",
      "$value": "#111111"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "secondary": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "#111111"
    },
    "accent": {
      "$type": "color",
      "$value": "#0b5394"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "muted": {
      "$type": "color",
      "$value": "#f0f0f0"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "#646464"
    },
    "border": {
      "$type": "color",
      "$value": "#dbdbdb"
    },
    "destructive": {
      "$type": "color",
      "$value": "#dc2626"
    },
    "ring": {
      "$type": "color",
      "$value": "#111111"
    }
  },
  "font": {
    "sans": {
      "$type": "fontFamily",
      "$value": [
        "ui-sans-serif",
        "system-ui",
        "sans-serif"
      ]
    },
    "serif": {
      "$type": "fontFamily",
      "$value": [
        "ui-serif",
        "Georgia",
        "serif"
      ]
    },
    "mono": {
      "$type": "fontFamily",
      "$value": [
        "ui-monospace",
        "SFMono-Regular",
        "Menlo",
        "monospace"
      ]
    }
  },
  "radius": {
    "base": {
      "$type": "dimension",
      "$value": "0px"
    }
  },
  "spacing": {
    "base": {
      "$type": "dimension",
      "$value": "1rem"
    }
  },
  "shadow": {
    "base": {
      "$type": "shadow",
      "$value": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "LaTeX Paper" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/latex-paper @ bfa7da909e86. */
:root {
  --background: #ffffff;
  --foreground: #111111;
  --card: #ffffff;
  --card-foreground: #111111;
  --primary: #111111;
  --primary-foreground: #fafaf9;
  --secondary: #ffffff;
  --secondary-foreground: #111111;
  --accent: #0b5394;
  --accent-foreground: #fafaf9;
  --muted: #f0f0f0;
  --muted-foreground: #646464;
  --border: #dbdbdb;
  --destructive: #dc2626;
  --ring: #111111;
  --radius: 0px;
  --font-sans: ui-sans-serif, system-ui, sans-serif;
  --font-serif: ui-serif, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --spacing: 1rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}

Tailwind

/* powered by Styledex — https://styledex.dev */
/* "LaTeX Paper" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/latex-paper @ bfa7da909e86. */
/** Tailwind theme extend for LaTeX Paper (stylekit-latex-paper) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "#ffffff",
        "foreground": "#111111",
        "card": "#ffffff",
        "primary": "#111111",
        "primary-foreground": "#fafaf9",
        "secondary": "#ffffff",
        "accent": "#0b5394",
        "muted": "#f0f0f0",
        "border": "#dbdbdb",
        "destructive": "#dc2626",
        "ring": "#111111"
      },
      "borderRadius": {
        "lg": "0px"
      },
      "fontFamily": {
        "sans": [
          "ui-sans-serif",
          "system-ui",
          "sans-serif"
        ],
        "serif": [
          "ui-serif",
          "Georgia",
          "serif"
        ],
        "mono": [
          "ui-monospace",
          "SFMono-Regular",
          "Menlo",
          "monospace"
        ]
      },
      "boxShadow": {
        "styledex": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
      }
    }
  }
};

shadcn

/* powered by Styledex — https://styledex.dev */
/* "LaTeX Paper" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/latex-paper @ bfa7da909e86. */
@layer base {
:root {
  --background: #ffffff;
  --foreground: #111111;
  --card: #ffffff;
  --card-foreground: #111111;
  --primary: #111111;
  --primary-foreground: #fafaf9;
  --secondary: #ffffff;
  --secondary-foreground: #111111;
  --accent: #0b5394;
  --accent-foreground: #fafaf9;
  --muted: #f0f0f0;
  --muted-foreground: #646464;
  --border: #dbdbdb;
  --destructive: #dc2626;
  --ring: #111111;
  --radius: 0px;
  --font-sans: ui-sans-serif, system-ui, sans-serif;
  --font-serif: ui-serif, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --spacing: 1rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
}