GithubHelp home page GithubHelp logo

xiaoxuan-yu / pkupcl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tansongchen/pkupcl

1.0 0.0 1.0 651 KB

北京大学物理化学实验报告写作的参考模板。

License: GNU General Public License v3.0

TeX 100.00%
latex

pkupcl's Introduction

pkupcl 文档类

本文档类 fork 自 tansongchen/pkupcl ,用于北京大学物理化学实验课程的实验报告,以 GPLv3 协议发布。维护者在 tansongchen/pkupcl 的基础上修改了部分关于字体、数学、页眉页脚等的设置使其更为美观,并对链接、长表格、参考文献(使用 biblatex 宏包, biber 作为后端)等常用功能增加了支持。

本文档类需要用 xelatex 引擎编译。对于不含参考文献的文章,用 xelatex 编译两次即可。如果包含参考文献, 应当使用 xelatex -> biber -> xelatex -> xelatex工具链进行编译。

本文档类依赖于思源宋体(CJKmain)、思源黑体(CJKsans)、方正新楷体方正粗楷Fandol 仿宋字体(关于CJK字体的详细说明,参见 ctex-fontset-sourcesans.def 的注释部分), Times New Roman(main)、Arial(sans)、Fira Code(mono) 和 XITS Math(math) 字体,请在编译前安装。

使用方法详见 example.tex

参考文献需要生成 bib 格式的文献库以供模板使用, 推荐使用 Zotero/Jabref/EndNote 等文献管理软件生成。

文档类提供了少量的快捷指令, 用于减少报告书写时的工作量。

% 温度 电动势 浓度和气压的快速输入
\newcommand{\temp}[1]{\SI{#1}{\degreeCelsius}}
\newcommand{\elc}[1]{\SI{#1}{\volt}}
\newcommand{\cct}[1]{\SI{#1}{\mole \per \liter}}
\newcommand{\prs}[1]{\SI{#1}{\kilo \pascal}}

% 摄氏度、公式中文本、\varepsilon的快速输入
\newcommand{\C}{\si{\degreeCelsius}}
\newcommand{\tr}[1]{\textrm{#1}}
\newcommand{\ve}{\varepsilon}

% 微分算子
\newcommand\dif{\mathop{}\!\mathrm{d}}
\newcommand{\ddv}[2]{\frac{\dif #1}{\dif #2}}
\newcommand{\pdv}[3]{\left(\frac{\partial #1}{\partial #2}\right)_{#3}}

维护者感谢以下开源项目:

pkupcl's People

Contributors

xiaoxuan-yu avatar tansongchen avatar

Stargazers

 avatar

Forkers

i-tsd

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.