Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决macOS下pdflatex报错的问题:'mac' unavailable, 调整成windows fontset并且加入SimHei… #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added SimHei.ttf
Binary file not shown.
Binary file modified main.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion main.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
%%%%%%%%%% !TEX program = pdflatex %%%%%%%%%%
% !TEX program = pdflatex
\documentclass[a4paper,12pt,openany,twoside]{book}

\documentclass[a4paper,12pt,openany,twoside,fontset=windows]{book} % mac下解决pdflatex报错: 'mac' unavailble的问题: 设置为windows fontset

% 当目录多于1页时,使用\thispagestyle{empty}和\pagestyle{empty},都无法完全清除目录的页眉页脚格式,需要使用到下面的\AtBeginDocument{}代码
\AtBeginDocument{
Expand Down
Binary file added simsun.ttc
Binary file not shown.