Skip to content

Math symbols font error #313

Closed
Closed

Description

@nemoos0

I tried to compile the following file

$vec(1, 2, 3)$

$arrow(x)$

$mat(1, 2; 3, 4)$

and this is what I got.

image

I downloaded the typst compiler from the AUR and I am on version 22-03-21.
The program doesn't give any error or warning.

I thought it could be a font problem, so I tried to set a specific font such as Latin Modern Math and CMU Serif using the code below

#set text(
    font: "Latin Modern Math"
)

Hope you can help me.

Thanks for the great tool, hope to see it become better and better.

Activity

  1. laurmaedje commented on Mar 25, 2023

    @laurmaedje
    Member

    That version doesn't embed fonts yet, so this depends on your system fonts. However, setting the text font like you did doesn't affect the math font. For that you need to write: #show math.equation: set text(font: "Latin Modern Math").

  2. nemoos0 commented on Mar 25, 2023

    @nemoos0
    Author

    Thanks for the fast response, that solved the problem.


    I am going to leave a note if someone has the same problem.

    That version doesn't embed fonts yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions