Keldos-Li /typora-latex-theme
将Typora伪装成LaTeX的中文样式主题,本科生轻量级课程论文撰写的好帮手。This is a theme disguising Typora into Chinese LaTeX style.
★ 6,001⑂ 333👁 13⑃ 66● 114▤ 20
+2
日增长
6,001
stars
333
forks
13
watchers
66
prs
114
issues
20
releases
README
!cover
Typora 伪装 LaTeX 中文样式主题
下载与安装 | 帮助文档 | 个性化设置 | 贡献指南 | 技术细节 | 常见问题
本项目的初衷是为了简化中国大陆本科生小型通识课论文(或小型实验报告)撰写的负担。这里基本采用了浙江大学要求的格式(字体较小,页边距较小),但大部分同学都可以自行在 CSS 中修改适合自己学校的格式。
Markdown 的轻量化特性,使您可以专注于论文内容而不用担心格式。书写时仅通过简单的标记,并通过替换样例模板中的个人信息,您就可以输出类 LaTeX 排版的精美论文与报告。本项目支持 Windows, macOS 和 Linux 三大平台的 Typora。
!GitHub downloads
!GitHub release (latest by date including pre-releases)
!GitHub Repo stars
!QQ群
预览
您可以通过以下方式预览本主题:
1. 通过在线 PDF 预览器预览导出结果
2. 观看介绍视频,其中简洁清晰地介绍了主题外观和安装方法
3. 查看下列截图
封面,摘要和关键词
| !sample-essay_1|!sample-essay_2|
| :----: | :----: |
预览与编写
| !preview-l|!preview-d|
| :----: | :----: |
| !edit-l|!edit-d|
层级标题
|!heading-l|!heading-d|
| :----: | :----: |
表格
|!table-l|!table-d|
| :----: | :----: |
markdown
表格:
表 2 全球/中国桌面操作系统市场份额占比(%)
| OS | Windows | macOS | Unknown | Linux | Chrome OS | 其他 |
| ---- | ------- | ----- | ------- | ----- | --------- | ---- |
| 全球 | 76.56 | 17.1 | 2.68 | 1.93 | 1.72 | 0.01 |
| 中国 | 87.55 | 5.44 | 6.24 | 0.75 | 0.01 | 0.01 |
项目列表
|!item-l|!item-d|
| :----: | :----: |
代码块
|!code-l|!code-d|
| :----: | :----: |
Mermaid
|!mermaid-l|!mermaid-d|
| :----: | :----: |
markdown
mermaid 图形:
mermaid
graph LR
A(开始) --
input[/输入a,b/] -- if{a%b=0 ?}
if ---|yes| f1[GCD = b] -- B(结束)
if ---|no| f2["a, b = b, a % b "]--if
公式
|!equation-l|!equation-d|
| :----: | :----: |
latex
公式:
$$
\iint\limits_{x^2 + y^2 \leq R^2} f(x,y)\,\mathrm{d}x\,\mathrm{d}y = \int_{\theta=0}^{2\pi} \mathrm{d}\theta\int_{r=0}^R f(r\cos\theta,r\sin\theta) r\,\mathrm{d}r\, \tag{1}
$$
下载与安装
请完整阅读以下过程,以确保一切符合预期。
1. Typora 是一个支持实时预览的 markdown 编辑器。在安装本主题前,请确认您已下载 Typora 并完成了安装。如果您对 markdown 的语法还不了解,您可以从这里获得帮助。
2. 前往本项目的 release 页面,下载适合您操作系统的最新版本压缩包。比如,如果您在使用 Windows 操作系统,您就应该下载 latex-theme-windows.zip。
3. 解压缩这个文件,进入解压缩后的文件夹。按照在线安装教程或该文件夹下 README.md 中的安装教程完成剩余的安装步骤。请务必确认您完成了下面的步骤:
- 进行手动或自动主题安装
- 下载并安装所需的字体
鸣谢
本项目是在下面两个开源项目的基础上完成的:
- yfzhao20/Typora-markdown
- du33169/typora-theme-essay_cn
感谢 @大啊好我r中之 制作介绍视频Top issues
#98如何设置两端对齐15 comments · 2022-09-22#80小建议 页面宽度好窄5 comments · 2022-05-21#37Add full support for Pandoc5 comments · 2021-10-31#200白色背景下代码块不如深色背景颜色多4 comments · 2025-12-02#187边栏目录和纸张之间的间隔不会随页面放大而自动变小(放大页面,边栏就被挤到外面去了)2 comments · 2025-06-15#59Add full Joplin support2 comments · 2021-12-11#206三线表的斑马纹1 comments · 2026-06-16#174关于将代码边框改成表格边框的请求1 comments · 2024-12-20
Discussions
#184表格跨页标题消失0 comments · 2025-03-09#176请问一下,这里的缩进目前没有更好的解决方法吗,我尝试过blockquote里也加入border-left并在blockquote前加入两个缩进,但是缩进好像只加在了引言部分。1 comments · 2025-01-02#168导出pdf时侧边栏没有自动生成的序号2 comments · 2024-09-14#1671.1.5.3这种纯数字序号改成国内论文适用的一、(一)(1)等标准代码1 comments · 2024-09-13#149可以修改并分享您的主题吗?2 comments · 2024-08-22#147是否可以像latex那样在页面下写注释呢1 comments · 2024-08-12#166标题编号怎么取消?5 comments · 2024-07-10#127给出的预览PDF里面的摘要和正文的字体不一样是怎么实现的呀1 comments · 2023-11-19
Latest release
v0.3.3 v0.3.3 2025-11-28Features feat: add Chinese font css var by @RalXYZ in https://github.com/Keldos-Li/typora-latex-theme/pull/182 feat : add CSS variable toggle for blockquote borders by @Joyboy-01 in https://github.com/Keldos-Li/typora-latex-theme/pull/185 Bug Fixes fix: improve counter reset compatibility for headings and TOC by @returnToInnocence and @RalXYZ in https://github.com/Keldos-Li/typora-latex-theme/pull/190 fix: resolve third-level list spacing compression in pdf export by @returnToInnocence, @Keldos-Li and @RalXYZ in https://github.com/Keldos-Li/typora-latex-theme/pull/198, 196 fix: us