Code Monkey home page Code Monkey logo

latex-document's Introduction

LaTeX-Document 中英文科技文档模板

LaTeX

特色: 为文章增加红, 蓝, 黄, 绿四色(Google 配色), 使文章不再单调. 定理部分借鉴 这里

模板源代码有适当注释, 简单易懂, 易上手, 易自定义. 有问题, 欢迎提交 Issues

使用说明

git clone [email protected]:MatNoble/LaTeX-Document.git

克隆到本地即可使用.

预览

英文预览

数系家园LaTeX英文文档 数系家园LaTeX英文文档

更多预览

中文预览

数系家园LaTeX中文文档 数系家园LaTeX中文文档

更多预览

字体问题

公式字体

\usepackage[lite,subscriptcorrection,slantedGreek,nofontinfo,amsbb,eucal]{mtpro2}
% \usepackage{newtxtext,newtxmath} % New Times Roman
% \usepackage{mathptmx} % 打印 times
% \usepackage{charter}  % 屏读
% \usepackage{fourier}

注: mtpro2 字体需自行安装

中文字体

中文版需要下载并安装下列字体

思源字体是开源的,更好看的宋体和黑体。由 Adobe 和 Google 合作开发

代码环境

Minted 是 Latex 上非常好用的代码高亮工具, 可以借助 Python 包 Pygement 根据不同的语法高亮. 需要安装 python, 然后使用工具安装 pygments. 这里假设你已经安装了 pip 和相关 Python.

  1. pip install Pygments;
  2. 使用 xelatex 编译的时候需要加上参数 –shell-escape.

效果如下:

若不使用代码环境, 在对应的 .sty 文件中把对应代码注释掉即可.

% 代码高亮
% \RequirePackage{minted}
% \usemintedstyle{emacs}

授权情况

本模板代码按 LPPL v1.3c 协议 授权

联系方式

latex-document's People

Contributors

matnoble avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.