Giter Site home page Giter Site logo

preamble's People

Stargazers

 avatar

Watchers

 avatar

preamble's Issues

Tal der ikke virker

\mathup Se #23,
\mathit,
\mathbf,
\mathbfit,
\mathsf (mathsfup virker),
\mathsfit,
\mathbfsfit,

Erstatter #1

PDF/A-2u support

The pdfx-package can help with PDF/A support. The colorprofile needs to be set: see #10

Math sans serif mangler

sfup mangler greek og Greek.
sfit mangler num, greek og Greek.
bfsfup mangler greek og Greek.
bfsfit mangler num

Alle mangler symboler.

Erstatter #1 .

Paranteser virker ikke med XeLaTeX

\bigl( x \bigr)

Udskriver en .notdef glyph alle steder der står \bigl eller ligenden. Det er kun når det bliver compilet med XeLaTeX. LuaTeX virker.

Sætter man \tracingonline=1 giver XeLaTeX følgende:

Missing character: There is no ^^@ in font Arno Pro/OT:script=latn;language=DFL
T;!

Cambria Math `\frac{}{}` har for stor whitespace over nævneren

\begin{luacode}
  local patch_cambria = function (fontdata)
    if fontdata.psname == "CambriaMath" then
      local mc=fontdata.MathConstants
      local mp=fontdata.mathparameters
      mc.FractionNumeratorShiftUp = 0.85 * mc.FractionNumeratorShiftUp
      mp.FractionNumeratorShiftUp = 0.85 * mp.FractionNumeratorShiftUp
      mc.FractionDenominatorShiftDown = 0.8 * mc.FractionDenominatorShiftDown
      mp.FractionDenominatorShiftDown = 0.8 * mp.FractionDenominatorShiftDown
    end
  end
  luatexbase.add_to_callback(
    "luaotfload.patch_font",patch_cambria,
    "my_private_callbacks.patch_cambria")
\end{luacode}

Patcher Cambria Math når det bliver loaded. Ref: https://tex.stackexchange.com/questions/385715/how-to-make-persistent-changes-to-math-parameters/385767#385767

Koden kan ikke stå inden i \iftoggle{fancyfonts}{…}{}. Det skal stå før \setmathfont{…}.


En anden løsning kunne være når latex3/unicode-math#358 bliver løst. Eller at gøre noget med \fontdimen44.

Fix fonts

The fonts are still a mess. Especially math.

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.