Git Product home page Git Product logo

Comments (5)

wspr avatar wspr commented on May 27, 2024

Couple more details here: using | or \vert is fine, because they're defined as \mathord in the table, but the delimiters need special treatment.

from unicode-math.

jcsalomon avatar jcsalomon commented on May 27, 2024

A test. With amsmath and unicode-mathloaded:
\newcommand{\tallstuff}{f \left( ∫_{A_{B}}^{C^{D}}!x,dx \right)} % something big
$|\tallstuff|$ % U+007C ‘|’: Vertical Line works, but not scaled; \vert is the same as |
$‖\tallstuff‖$ % Same with U+2016 ‘‖’: Double Vertical Line; \Vert is the same as ‖
$\left\lvert\tallstuff\right\rvert$ % Works, but use CMEX10 font
$\left\lVert\tallstuff\right\rVert$ % Ditto
$\left|\tallstuff\right|$ % Ditto
$\left‖\tallstuff\left‖$ % Breaks with this message:
% ! Missing delimiter (. inserted).
%
% ‖
% l.13 Absolute values: $\left‖
% \tallstuff\right‖$
% ?

from unicode-math.

wspr avatar wspr commented on May 27, 2024

Fix \vert and \Vert (I think)

closed by 007206c

from unicode-math.

khaledhosny avatar khaledhosny commented on May 27, 2024

Test for testsuite:
\input{umtest-preamble}
\usepackage{unicode-math}
\setmathfont{Cambria Math}
\begin{document}
[ \left| \left| \left| \left| \left| \left| x^2
\right|^2 \right|^2 \right|^2 \right|^2 \right|^2 \right| ]

\[ \left\vert \left\vert \left\vert \left\vert \left\vert \left\vert x^2 
    \right\vert^2 \right\vert^2 \right\vert^2 \right\vert^2 \right\vert^2 \right\vert \]
\end{document}

from unicode-math.

wspr avatar wspr commented on May 27, 2024

Thanks :)

from unicode-math.

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.