DeclareMathDelimiter not working with Unicode fontLuaTeX with unicode-math, how to get the font id of current math fontDifferent appearance of dots, ldots in text and math mode in LuaLaTex + unicode-math (bug)?Font found with XeLaTeX not found with LuaLaTeX on LinuxDefine fallback font for specific Unicode characters in LuaLaTeXWhy does kerning work with LuaLaTex but not XeLaTex for the same font?Rendering a unicode en-dash in XeLaTeXHow do I get the XITS font to work with unicode-math and hepnames in lualatexCopy and paste unicode mathSome LuaTeX unicode characters not workingHow to use the non-unicode glyphs

Did the CIA blow up a Siberian pipeline in 1982?

Counterfeit checks were created for my account. How does this type of fraud work?

What is the most suitable position for a bishop here?

King or Queen-Which piece is which?

How to remove stain from pavement after having dropped sulfuric acid on it?

I found a password with hashcat, but it doesn't work

Is there a term for the belief that "if it's legal, it's moral"?

Are there any individual aliens that have gained superpowers in the Marvel universe?

Is there any proof that high saturation and contrast makes a picture more appealing in social media?

Why don't countries like Japan just print more money?

Extending prime numbers digit by digit while retaining primality

How can a warlock learn from a spellbook?

Designing a magic-compatible polearm

"Correct me if I'm wrong"

Are there examples of rowers who also fought?

Improve appearance of the table in Latex

How could empty set be unique if it could be vacuously false

Why is "Congress shall have power to enforce this article by appropriate legislation" necessary?

How much steel armor can you wear and still be able to swim?

Why is oilcloth made with linseed oil?

What are the pros and cons for the two possible "gear directions" when parking the car on a hill?

Is declining an undergraduate award which causes me discomfort appropriate?

Umlaut character order when sorting

What does this Swiss black on yellow rectangular traffic sign with a symbol looking like a dart mean?



DeclareMathDelimiter not working with Unicode font


LuaTeX with unicode-math, how to get the font id of current math fontDifferent appearance of dots, ldots in text and math mode in LuaLaTex + unicode-math (bug)?Font found with XeLaTeX not found with LuaLaTeX on LinuxDefine fallback font for specific Unicode characters in LuaLaTeXWhy does kerning work with LuaLaTex but not XeLaTex for the same font?Rendering a unicode en-dash in XeLaTeXHow do I get the XITS font to work with unicode-math and hepnames in lualatexCopy and paste unicode mathSome LuaTeX unicode characters not workingHow to use the non-unicode glyphs






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4















I am unable to get DeclareMathDelimiter to work correctly with a Unicode font. I get the same results with XeLaTex and LuaLaTex. The custom font has a MATH table defined with both size variants and stretchy parts defined. Here is the example code



documentclass[10pt,fleqn]amsart
usepackagefontspec
usepackageunicode-math
setmainfontSTIX Two Text
setmathfontSTIX Two Math

newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

DeclareSymbolFontLogixTUlogixmn

DeclareMathDelimiterOpnGrpXmathopen Logix"E301 Logix"EBE0
DeclareMathDelimiterClsGrpXmathclose Logix"E341 Logix"EBF0

begindocument

[ leftOpnGrpX frac12 rightClsGrpX ]

enddocument


and here is the generated output



enter image description here










share|improve this question




























    4















    I am unable to get DeclareMathDelimiter to work correctly with a Unicode font. I get the same results with XeLaTex and LuaLaTex. The custom font has a MATH table defined with both size variants and stretchy parts defined. Here is the example code



    documentclass[10pt,fleqn]amsart
    usepackagefontspec
    usepackageunicode-math
    setmainfontSTIX Two Text
    setmathfontSTIX Two Math

    newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

    DeclareSymbolFontLogixTUlogixmn

    DeclareMathDelimiterOpnGrpXmathopen Logix"E301 Logix"EBE0
    DeclareMathDelimiterClsGrpXmathclose Logix"E341 Logix"EBF0

    begindocument

    [ leftOpnGrpX frac12 rightClsGrpX ]

    enddocument


    and here is the generated output



    enter image description here










    share|improve this question
























      4












      4








      4








      I am unable to get DeclareMathDelimiter to work correctly with a Unicode font. I get the same results with XeLaTex and LuaLaTex. The custom font has a MATH table defined with both size variants and stretchy parts defined. Here is the example code



      documentclass[10pt,fleqn]amsart
      usepackagefontspec
      usepackageunicode-math
      setmainfontSTIX Two Text
      setmathfontSTIX Two Math

      newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

      DeclareSymbolFontLogixTUlogixmn

      DeclareMathDelimiterOpnGrpXmathopen Logix"E301 Logix"EBE0
      DeclareMathDelimiterClsGrpXmathclose Logix"E341 Logix"EBF0

      begindocument

      [ leftOpnGrpX frac12 rightClsGrpX ]

      enddocument


      and here is the generated output



      enter image description here










      share|improve this question














      I am unable to get DeclareMathDelimiter to work correctly with a Unicode font. I get the same results with XeLaTex and LuaLaTex. The custom font has a MATH table defined with both size variants and stretchy parts defined. Here is the example code



      documentclass[10pt,fleqn]amsart
      usepackagefontspec
      usepackageunicode-math
      setmainfontSTIX Two Text
      setmathfontSTIX Two Math

      newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

      DeclareSymbolFontLogixTUlogixmn

      DeclareMathDelimiterOpnGrpXmathopen Logix"E301 Logix"EBE0
      DeclareMathDelimiterClsGrpXmathclose Logix"E341 Logix"EBF0

      begindocument

      [ leftOpnGrpX frac12 rightClsGrpX ]

      enddocument


      and here is the generated output



      enter image description here







      luatex unicode delimiters






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 3 at 0:12









      Michael Lee FinneyMichael Lee Finney

      1327




      1327




















          1 Answer
          1






          active

          oldest

          votes


















          6














          DeclareMathDelimiter uses the traditional TeX primitives delcode or delimiter. These accept a compact bitmap encoding both codepoints and the symbol families. This format only accepts codepoints up to 255, every else leads to odd behaviour because the additional digits leak into other fields of the bitmap.



          So both XeTeX and LuaTeX support separate primitives for delimiters with higher codepoints: Udelcode and Udelimiter.
          These only take a single codepoint, so instead of E301 and EBE0, you only pass E301. It is the responsibility of the font to add EBE0 to the linked list of bigger variants.



          Then you get e.g.



          documentclass[10pt,fleqn]amsart
          usepackagefontspec
          usepackageunicode-math
          setmainfontSTIX Two Text
          setmathfontSTIX Two Math

          newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

          DeclareSymbolFontLogixTUlogixmn

          makeatletter
          xdefOpnGrpXUdelimitermathchar@typemathopensymLogix"E301
          xdefClsGrpXUdelimitermathchar@typemathclosesymLogix"E341
          makeatother

          begindocument

          [ leftOpnGrpX frac12 rightClsGrpX ]

          enddocument


          Udelcode could be used if you do not create a control sequence like OpnGrpX, but want to make a character directly usable as a delimiter like ( or [. For example, if you want [ and ] to use your new glyphs iff they are used after left, right or similar, you could use



          documentclass[10pt,fleqn]amsart
          usepackagefontspec
          usepackageunicode-math
          setmainfontSTIX Two Text
          setmathfontSTIX Two Math

          newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

          DeclareSymbolFontLogixTUlogixmn

          Udelcode`[symLogix"E301
          Udelcode`]symLogix"E341

          begindocument

          [ left[ frac12 right] ] -- Now uses the Logix glyphs

          enddocument


          You could also e.g. use Udelcode"E301symLogix"E301 to be able to type the Unicode character U+E301 after left/right directly.



          (I would add a screenshot, but I would need the font first...)






          share|improve this answer

























          • Thank you! That worked perfectly. When would I use Udelcode?

            – Michael Lee Finney
            Jun 3 at 2:54











          • @MichaelLeeFinney I added something about that. It is used if you would have only passed a single character to DeclareMathDelimiter

            – Marcel Krüger
            Jun 3 at 8:11











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "85"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f493885%2fdeclaremathdelimiter-not-working-with-unicode-font%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          6














          DeclareMathDelimiter uses the traditional TeX primitives delcode or delimiter. These accept a compact bitmap encoding both codepoints and the symbol families. This format only accepts codepoints up to 255, every else leads to odd behaviour because the additional digits leak into other fields of the bitmap.



          So both XeTeX and LuaTeX support separate primitives for delimiters with higher codepoints: Udelcode and Udelimiter.
          These only take a single codepoint, so instead of E301 and EBE0, you only pass E301. It is the responsibility of the font to add EBE0 to the linked list of bigger variants.



          Then you get e.g.



          documentclass[10pt,fleqn]amsart
          usepackagefontspec
          usepackageunicode-math
          setmainfontSTIX Two Text
          setmathfontSTIX Two Math

          newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

          DeclareSymbolFontLogixTUlogixmn

          makeatletter
          xdefOpnGrpXUdelimitermathchar@typemathopensymLogix"E301
          xdefClsGrpXUdelimitermathchar@typemathclosesymLogix"E341
          makeatother

          begindocument

          [ leftOpnGrpX frac12 rightClsGrpX ]

          enddocument


          Udelcode could be used if you do not create a control sequence like OpnGrpX, but want to make a character directly usable as a delimiter like ( or [. For example, if you want [ and ] to use your new glyphs iff they are used after left, right or similar, you could use



          documentclass[10pt,fleqn]amsart
          usepackagefontspec
          usepackageunicode-math
          setmainfontSTIX Two Text
          setmathfontSTIX Two Math

          newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

          DeclareSymbolFontLogixTUlogixmn

          Udelcode`[symLogix"E301
          Udelcode`]symLogix"E341

          begindocument

          [ left[ frac12 right] ] -- Now uses the Logix glyphs

          enddocument


          You could also e.g. use Udelcode"E301symLogix"E301 to be able to type the Unicode character U+E301 after left/right directly.



          (I would add a screenshot, but I would need the font first...)






          share|improve this answer

























          • Thank you! That worked perfectly. When would I use Udelcode?

            – Michael Lee Finney
            Jun 3 at 2:54











          • @MichaelLeeFinney I added something about that. It is used if you would have only passed a single character to DeclareMathDelimiter

            – Marcel Krüger
            Jun 3 at 8:11















          6














          DeclareMathDelimiter uses the traditional TeX primitives delcode or delimiter. These accept a compact bitmap encoding both codepoints and the symbol families. This format only accepts codepoints up to 255, every else leads to odd behaviour because the additional digits leak into other fields of the bitmap.



          So both XeTeX and LuaTeX support separate primitives for delimiters with higher codepoints: Udelcode and Udelimiter.
          These only take a single codepoint, so instead of E301 and EBE0, you only pass E301. It is the responsibility of the font to add EBE0 to the linked list of bigger variants.



          Then you get e.g.



          documentclass[10pt,fleqn]amsart
          usepackagefontspec
          usepackageunicode-math
          setmainfontSTIX Two Text
          setmathfontSTIX Two Math

          newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

          DeclareSymbolFontLogixTUlogixmn

          makeatletter
          xdefOpnGrpXUdelimitermathchar@typemathopensymLogix"E301
          xdefClsGrpXUdelimitermathchar@typemathclosesymLogix"E341
          makeatother

          begindocument

          [ leftOpnGrpX frac12 rightClsGrpX ]

          enddocument


          Udelcode could be used if you do not create a control sequence like OpnGrpX, but want to make a character directly usable as a delimiter like ( or [. For example, if you want [ and ] to use your new glyphs iff they are used after left, right or similar, you could use



          documentclass[10pt,fleqn]amsart
          usepackagefontspec
          usepackageunicode-math
          setmainfontSTIX Two Text
          setmathfontSTIX Two Math

          newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

          DeclareSymbolFontLogixTUlogixmn

          Udelcode`[symLogix"E301
          Udelcode`]symLogix"E341

          begindocument

          [ left[ frac12 right] ] -- Now uses the Logix glyphs

          enddocument


          You could also e.g. use Udelcode"E301symLogix"E301 to be able to type the Unicode character U+E301 after left/right directly.



          (I would add a screenshot, but I would need the font first...)






          share|improve this answer

























          • Thank you! That worked perfectly. When would I use Udelcode?

            – Michael Lee Finney
            Jun 3 at 2:54











          • @MichaelLeeFinney I added something about that. It is used if you would have only passed a single character to DeclareMathDelimiter

            – Marcel Krüger
            Jun 3 at 8:11













          6












          6








          6







          DeclareMathDelimiter uses the traditional TeX primitives delcode or delimiter. These accept a compact bitmap encoding both codepoints and the symbol families. This format only accepts codepoints up to 255, every else leads to odd behaviour because the additional digits leak into other fields of the bitmap.



          So both XeTeX and LuaTeX support separate primitives for delimiters with higher codepoints: Udelcode and Udelimiter.
          These only take a single codepoint, so instead of E301 and EBE0, you only pass E301. It is the responsibility of the font to add EBE0 to the linked list of bigger variants.



          Then you get e.g.



          documentclass[10pt,fleqn]amsart
          usepackagefontspec
          usepackageunicode-math
          setmainfontSTIX Two Text
          setmathfontSTIX Two Math

          newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

          DeclareSymbolFontLogixTUlogixmn

          makeatletter
          xdefOpnGrpXUdelimitermathchar@typemathopensymLogix"E301
          xdefClsGrpXUdelimitermathchar@typemathclosesymLogix"E341
          makeatother

          begindocument

          [ leftOpnGrpX frac12 rightClsGrpX ]

          enddocument


          Udelcode could be used if you do not create a control sequence like OpnGrpX, but want to make a character directly usable as a delimiter like ( or [. For example, if you want [ and ] to use your new glyphs iff they are used after left, right or similar, you could use



          documentclass[10pt,fleqn]amsart
          usepackagefontspec
          usepackageunicode-math
          setmainfontSTIX Two Text
          setmathfontSTIX Two Math

          newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

          DeclareSymbolFontLogixTUlogixmn

          Udelcode`[symLogix"E301
          Udelcode`]symLogix"E341

          begindocument

          [ left[ frac12 right] ] -- Now uses the Logix glyphs

          enddocument


          You could also e.g. use Udelcode"E301symLogix"E301 to be able to type the Unicode character U+E301 after left/right directly.



          (I would add a screenshot, but I would need the font first...)






          share|improve this answer















          DeclareMathDelimiter uses the traditional TeX primitives delcode or delimiter. These accept a compact bitmap encoding both codepoints and the symbol families. This format only accepts codepoints up to 255, every else leads to odd behaviour because the additional digits leak into other fields of the bitmap.



          So both XeTeX and LuaTeX support separate primitives for delimiters with higher codepoints: Udelcode and Udelimiter.
          These only take a single codepoint, so instead of E301 and EBE0, you only pass E301. It is the responsibility of the font to add EBE0 to the linked list of bigger variants.



          Then you get e.g.



          documentclass[10pt,fleqn]amsart
          usepackagefontspec
          usepackageunicode-math
          setmainfontSTIX Two Text
          setmathfontSTIX Two Math

          newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

          DeclareSymbolFontLogixTUlogixmn

          makeatletter
          xdefOpnGrpXUdelimitermathchar@typemathopensymLogix"E301
          xdefClsGrpXUdelimitermathchar@typemathclosesymLogix"E341
          makeatother

          begindocument

          [ leftOpnGrpX frac12 rightClsGrpX ]

          enddocument


          Udelcode could be used if you do not create a control sequence like OpnGrpX, but want to make a character directly usable as a delimiter like ( or [. For example, if you want [ and ] to use your new glyphs iff they are used after left, right or similar, you could use



          documentclass[10pt,fleqn]amsart
          usepackagefontspec
          usepackageunicode-math
          setmainfontSTIX Two Text
          setmathfontSTIX Two Math

          newfontface logix Logix.otf[Scale=1.0,NFSSFamily=logix]

          DeclareSymbolFontLogixTUlogixmn

          Udelcode`[symLogix"E301
          Udelcode`]symLogix"E341

          begindocument

          [ left[ frac12 right] ] -- Now uses the Logix glyphs

          enddocument


          You could also e.g. use Udelcode"E301symLogix"E301 to be able to type the Unicode character U+E301 after left/right directly.



          (I would add a screenshot, but I would need the font first...)







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 3 at 8:10

























          answered Jun 3 at 1:32









          Marcel KrügerMarcel Krüger

          13.9k11636




          13.9k11636












          • Thank you! That worked perfectly. When would I use Udelcode?

            – Michael Lee Finney
            Jun 3 at 2:54











          • @MichaelLeeFinney I added something about that. It is used if you would have only passed a single character to DeclareMathDelimiter

            – Marcel Krüger
            Jun 3 at 8:11

















          • Thank you! That worked perfectly. When would I use Udelcode?

            – Michael Lee Finney
            Jun 3 at 2:54











          • @MichaelLeeFinney I added something about that. It is used if you would have only passed a single character to DeclareMathDelimiter

            – Marcel Krüger
            Jun 3 at 8:11
















          Thank you! That worked perfectly. When would I use Udelcode?

          – Michael Lee Finney
          Jun 3 at 2:54





          Thank you! That worked perfectly. When would I use Udelcode?

          – Michael Lee Finney
          Jun 3 at 2:54













          @MichaelLeeFinney I added something about that. It is used if you would have only passed a single character to DeclareMathDelimiter

          – Marcel Krüger
          Jun 3 at 8:11





          @MichaelLeeFinney I added something about that. It is used if you would have only passed a single character to DeclareMathDelimiter

          – Marcel Krüger
          Jun 3 at 8:11

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f493885%2fdeclaremathdelimiter-not-working-with-unicode-font%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company