neic / preamble Goto Github PK
View Code? Open in Web Editor NEWLuaLaTeX preamble with modern packages.
License: MIT License
LuaLaTeX preamble with modern packages.
License: MIT License
$\bigcirc ◯$
giver ikke samme resultat.
The pdfx
-package can help with PDF/A support. The colorprofile needs to be set: see #10
Det er et dybt kaninhul.
Den enlige fejl ser ud til at være i Apples PDFKit
sfup
mangler greek og Greek.
sfit
mangler num, greek og Greek.
bfsfup
mangler greek og Greek.
bfsfit
mangler num
Alle mangler symboler.
Erstatter #1 .
\swash
har det.
Erstatter #1
Erstatter #1
\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;!
Lualatex 0.95 fra TexLive 2016
Tableau20 farverne er ikke gode til farveblinde.
\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
.
Der er for meget mellemrum efter \abbr{}
.
Erstatter #1
The fonts are still a mess. Especially math.
Det er nok \texorpdfstring
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.