GithubHelp home page GithubHelp logo

Comments (5)

YijunYuan avatar YijunYuan commented on May 27, 2024

临时解决方案:
在文件开头添加

\RequirePackage{amssymb}

强行使用amssymb。但这么干会有什么副作用很难说。

from thuthesis.

Harry-Chen avatar Harry-Chen commented on May 27, 2024
\documentclass[math-font=newcm]{thuthesis}
\begin{document}
\maketitle
\frontmatter
\mainmatter
$\mathbb{R}$
\backmatter
\end{document}

\RequirePackage 并非给文档作者使用的,直接 \usepackage{amssymb} 即可,这是预期的用法,也没有什么副作用。也可见 https://tex.stackexchange.com/questions/360607/unicode-math-but-ordinary-blackboard-bold

from thuthesis.

YijunYuan avatar YijunYuan commented on May 27, 2024
\documentclass[math-font=newcm]{thuthesis}
\begin{document}
\maketitle
\frontmatter
\mainmatter
$\mathbb{R}$
\backmatter
\end{document}

\RequirePackage 并非给文档作者使用的,直接 \usepackage{amssymb} 即可,这是预期的用法,也没有什么副作用。也可见 tex.stackexchange.com/questions/360607/unicode-math-but-ordinary-blackboard-bold

我想说的是thuthesis的文档里已经明确说明unicode-mathamssymb不兼容

% 注意,\pkg{unicode-math} 宏包与 \pkg{amsfonts}、\pkg{amssymb}、\pkg{bm}、

% \pkg{mathrsfs}、\pkg{upgreek} 等宏包\emph{不}兼容。

。所以您这里说的

直接 \usepackage{amssymb} 即可,这是预期的用法

thuthesis的文档不是很一致。

from thuthesis.

Harry-Chen avatar Harry-Chen commented on May 27, 2024

我想说的是thuthesis的文档里已经明确说明unicode-mathamssymb不兼容

这里的“不兼容”要看具体情况,并不是说两个库同时使用就一定会导致严重的问题。据我所知,unicode-math 对于数学排版的处理会破坏 amssymb 的部分字体选择等功能。但如果只是用 \mathbb 引入一些用来集合标记的字体,并没有太大的问题。

此外,引用代码不需要一行一行引用,可以引用多行。

from thuthesis.

zepinglee avatar zepinglee commented on May 27, 2024

目前 math-font 只能用在导言区不能用在 \documentclass 的参数。下面的例子可以 work。

\documentclass{thuthesis}
\thusetup{math-font = newcm}
\begin{document}
$\mathbb{R}$
\end{document}
Screenshot 2024-04-01 at 09 35 08

from thuthesis.

Related Issues (20)

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.