Math mode in LaTeX Preliminery If you are NOT fimilar with catcode, mathcode, delcode etc, please see my blog: TeX Coding or other material to learn it fisrt. If you are not familar with LaTeX text font and math font, y 2024-10-30 LaTeX #font #math
Label, Ref and Hyperref in LaTeX preface We will introduce \label-\ref commands first, Then move into Hyperref. \p@COUNTER and \refstepcounter What is these commands used for ? see : Use of \p@COUNTER. For a mwe, see below: 1234567\s 2024-10-30 LaTeX #hyperref #label/ref
LaTeX Font Guide Note font shape See the problems below: What is Font Shape ? (Maybe call this typeface? ) Does Font shape rely on encoding, family, series ? Which files provide these (font) shape? See a simple example: 2024-10-02 LaTeX #font
TrueType Font in pdfTeX - III Preface You can use an tool: otftotfm, which can work with both *.ttf(sometimes may fail) and *.otf. Also see the answer in How do I use TrueType Fonts with PDFTeX using otftotfm? Example - ‘arial.ttf 2024-09-29 LaTeX #font
TrueType Font in pdfTeX - II There is something wrong with current article and do not read it. I may fixed later. Preface we have write a blog about using TrueType Font under pdfTeX in TeX in the previous 2024-09-29 LaTeX #font
TrueType Font in pdfTeX - I ttf2afm 准备 需要转化的字体, 这里以 Palatino 为例, 字体的文件名为: pala.ttf encoding 文件,把 charcode 对应到 glyph. 这个 encoding 文件的名称为: ec-uni.enc. .enc 文件 因为 ttf 字体的 glyph name 不是必须的,或者是全部错误,亦或者是部分错误。于是最可靠的一个映射是: Unicode --& 2024-09-27 LaTeX #font
l3build introduction preface This article DOES NOT include any material on dtx writing or l3build for dtx files. Why we need l3build ? when you are developing a complex package or class: there are many commands in it, 2024-09-16 LaTeX #l3build
Delete Git commit 操作 git 仓库删除所有提交历史记录,成为一个干净的新仓库,把旧项目提交到 GitHub 上,但是会有一些历史记录,这些历史记录中可能会有项目密码等敏感信息。如何删除这些历史记录,形成一个全新的仓库,并且保持代码不变呢? 12345678910111213141516171.Checkoutgit checkout --orphan latest_branch2. Add all the fil 2024-08-25 Computer #Git
Academic Pages 基本环境配置 需要 jekyll, 一个很重要的前置工作是安装一个很重要的 DevKit. 这个就相当于是工具链,否则你的 jekyll 可能会安装失败. 但是安装 DevKit 的前置条件是安装一个 MSYS2 (感觉我的安装过好多次这个类 Unix shell 环境了). 完成上述步骤之后,按照: 官网 安装即可. 这里还是再抄一次: 1234gem install bundler jeky 2024-08-25 博客 #Academic
Dimension in LaTeX 距离的使用 除了默认已经定义的距离外,可以使用: \hspace{<length>}: 产生可断行的距离, 在某些只有一边有内容的地方(如强制断行的行首),LaTeX 会忽略 \hspace 产生的距离 \hspace*{<length>}: 阻止距离被忽略 LaTeX 中预定义的一些长度可以使用 \setlength 来修改, 2024-08-25 LaTeX #glue distance