Jump to content
You must now use your email address to sign in [click for more info] ×

Insert math formulas in Designer


Recommended Posts

43 minutes ago, olgierd said:

I want to add fractions.

1/2 + 6/41 = x.

You can do that but a lot depends on the font. Some have actual divisors instead of / a forward slash and they will also have numeral glyphs for Numerator and Denominator.  Anything more like an actual One Over Two is doable but would require using Art Text and a lot of manual arranging.

In fact you are going to be better off using an application to set the more complex equations because apparently this whole Maths thing is a weak spot for Designer, Photo and Publisher. I am in no way competent to judge.

Mac Pro (Late 2013) Mac OS 12.7.2 
Affinity Designer 2.3.1 | Affinity Photo 2.3.1 | Affinity Publisher 2.3.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

I forgot to mention that you should export the formulae (formulas? I can never remember) as PDFs.

Mac Pro (Late 2013) Mac OS 12.7.2 
Affinity Designer 2.3.1 | Affinity Photo 2.3.1 | Affinity Publisher 2.3.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

27 minutes ago, olgierd said:

I suppose that Affinity Publisher can't do that.

Your assumption is right, actually it can't do that yet and has no idea about typesetting mathematical formulas. - Thus you have to look for possible workarounds and third party tools. Most of the tools specialized for such purposes do all support MathML/TeX & Latex syntax as input.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

51 minutes ago, olgierd said:

I know how to set the code for MathLM. Then when I import the code into Publisher, it doesn't show up. It does not work correctly with the pdf import either. Actually, I can only import the formulas as png.

AFAIK Publisher doesn't know how to interpret MathML code or LaTeX syntax/code, you always have to use some third party app to interpret and render the results, then to copy over the math typeset result as an bitmap image. - Or try out if it deals with SVG code then correctly instead of PDF, for this (equations in SVG) take a look here ...

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

On 12/11/2021 at 5:58 PM, olgierd said:

Is it possible to insert mathematical formulas into Affinity Designer? For example, I want to add fractions.

Just for fractions in slash notation, selecting a font like Helvetica Now that directly supports contextual fractions (an OpenType feature, support of which is a font property, but which Affinity apps have support for) might be sufficient to do the job:

 

As for proper equations, if you are on Windows, you can copy paste Word and LibreOffice equations (which at least to some extent understand LaTeX and even MathML) as editable WMF (EMF) format (on macOS everything will be rasterized). Using a third-party tool like MathType would allow you to batch export equations to WMF/EMF or PDF format (macOS), and also convert from MathML, and accordingly at least to some extent allow automating professional publishing of equation-heavy documents, but you'd probably do better to choose another publishing app / method in the first place.

Link to comment
Share on other sites

21 hours ago, Lagarto said:

Just for fractions in slash notation, selecting a font like Helvetica Now that directly supports contextual fractions (an OpenType feature, support of which is a font property, but which Affinity apps have support for) might be sufficient to do the job:

plainfractions.jpg.9117dfc76b1dc20fa1c44fdedd58088f.jpg

As for proper equations, if you are on Windows, you can copy paste Word and LibreOffice equations (which at least to some extent understand LaTeX and even MathML) as editable WMF (EMF) format (on macOS everything will be rasterized). Using a third-party tool like MathType would allow you to batch export equations to WMF/EMF or PDF format (macOS), and also convert from MathML, and accordingly at least to some extent allow automating professional publishing of equation-heavy documents, but you'd probably do better to choose another publishing app / method in the first place.

Many thanks for your help.

Link to comment
Share on other sites

On 12/11/2021 at 7:14 PM, olgierd said:

I can only import the formulas as png.

I can pretty well in Designer with SVG. Here's a simple example SVG for you try out ...

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

  • 3 months later...

I also have the need to make math diagrams, and so want to insert math formulas. Right now that is cumbersome in Affinity Designer. Fair enough, it was designed for illustrations and not diagrams. It would be really useful, though, for my needs, as I often do math diagrams in my illustrations.

Pages on the iPad provides a really neat solution that Serif might want to look into: When Inserting an equation, the input switches to LaTeX, alternatively MathML and provides gorgeous results from a format designed to write math. The formulas are subject to e.g. font color and size, but not to style.

Attached an image of how it looks like in Pages on iPad (I only ever use Affinity tools on the iPad, of course looking forward to Publisher coming here as well).

4A5D3819-C805-4D8C-94AF-1753DAD00652.png

Link to comment
Share on other sites

  • 8 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.