Boostnote: LaTex formula shows lower in 0.11.13

Created on 27 Jan 2019  ·  15Comments  ·  Source: BoostIO/Boostnote


Issuehunt badges

Current behavior

LaTex formula shows lower in whole sentence in the new version (0.11.13).
It seems to be related to the height of the formula. So most cases happens in simple/short formulas.

new bitmap image

Expected behavior

LaTex formula shows in reasonable position in sentence.

Steps to reproduce

type $a$ or $c$ in a sentence.

Environment

  • Version : 0.11.13
  • OS Version and name : Windows 10 64bit pro




IssueHunt Summary

Backers (Total: $0.00)

Become a backer now!

Or submit a pull request to get the deposits!

Tips

IssueHunt has been backed by the following sponsors. Become a sponsor


bug

Most helpful comment

Also have this issue. For a workaround, I used \vphantom:

$x\vphantom{^0}$ and $y\vphantom{^0}$

All 15 comments

Also experiencing this...

image

Environment

  • Version: 0.11.13
  • OS: Windows 10 Pro 64-bit

Also appears on Linux. Maybe the vertical-align need to adjust a bit.

Same here, Boostnote 0.11.13, macOS 10.14.2.

Some other bugs related to direct symbols into LaTex.
Trying to input all symbols into LaTex directly, but some of them are invalid.
For the negated relation symbols, the position of splash is not right, which makes it weird.
input these:

### Greek Letters
$Α$
$Β$
$Γ$$Δ$
$Ε$
$Ζ$
$Η$
$Θ$
$Ι$
$Κ$
$Λ$
$Μ$
$Ν$
$Ξ$
$Ο$
$Π$
$Ρ$
$Σ$
$Τ$
$Υ$$Φ$
$Χ$
$Ψ$$Ω$
### Relations
$≫$ $≪$
$⋙$ $⋘$
### Negated Relations
$≮$ ≮
$≯$ ≯
$≰$ ≰
$≱$ ≱

new bitmap image

Another one is space in LaTex
Some of them will show error, some look not like a equation.

### Second Row Space
$aa$
$aa $
### First Row Space
$aa $
$aa$
### Both Row Space
$aa $
$aa $

new bitmap image

Some other bugs related to direct symbols into LaTex.
Trying to input all symbols into LaTex directly, but some of them are invalid.
For the negated relation symbols, the position of splash is not right, which makes it weird.
input these:

### Greek Letters
$Α$
$Β$
$Γ$$Δ$
$Ε$
$Ζ$
$Η$
$Θ$
$Ι$
$Κ$
$Λ$
$Μ$
$Ν$
$Ξ$
$Ο$
$Π$
$Ρ$
$Σ$
$Τ$
$Υ$$Φ$
$Χ$
$Ψ$$Ω$
### Relations
$≫$ $≪$
$⋙$ $⋘$
### Negated Relations
$≮$ ≮
$≯$ ≯
$≰$ ≰
$≱$ ≱

new bitmap image

Acturally if I input $\Alpha$ or $\Beta$ and some other greek letters, this will show KaTex parse error.
Maybe it is related to the previous bugs about directly input.

I have also noticed this bug on my notes, all the Latex expressions within the text are not aligned with it and are displayed lower.

Also have this "lowering" bug:
2019-02-06 16 22 21
OS X 10.10, Bootnote 0.11.13

Same "lowering" bug on Linux Mint 19.1 with Boostnote 0.11.15:
Text : This is a almost aligned $M$ but this is not aligned at all $m$
Result :
image

Same "lowering" bug on Ubuntu 16.04 with Boostnote 0.11.15 when using together with Chinese:
Text: 注意这里的 $x_text{label}$ 是经过logSoftMax运算后的数值
Result:
image

Also have this issue. For a workaround, I used \vphantom:

$x\vphantom{^0}$ and $y\vphantom{^0}$

Same here, Boostnote 0.11.15 on macOs Mojave

image

@boostio has funded $40.00 to this issue.


@ZeroX-DG It's a bug duplicate of #2922

@kazup01 has cancelled @boostio's funding for this issue.(Cancelled amount: $40.00) See it on IssueHunt

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luong-komorebi picture luong-komorebi  ·  3Comments

gavvvr picture gavvvr  ·  3Comments

louiealmeda picture louiealmeda  ·  3Comments

croulibri picture croulibri  ·  3Comments

shunchuan picture shunchuan  ·  3Comments