Tagged Questions
4
votes
1answer
84 views
Read single numbers from data file (LuaLaTeX)
Is it possible to read a number from data files?
How to read a file with luatex
I found the example above but I don't need the whole line at once.
I need somthing like:
read(file)
get(A)
get(B)
...
6
votes
1answer
98 views
Workaround for a very weird bug in lualatex math-mode?
In this MWE, of a math equation
\documentclass{article}
\begin{document}
\begin{equation}
\sqrt{\frac{\left(E-\frac{N_c e^d}{b}\right)}{a}}
\end{equation}
\end{document}
I find that lualatex ...
6
votes
1answer
322 views
Using CJK (Chinese/kanji) characters in math using unicode-math on lualatex
I'm trying to persuade the unicode-math package to let me insert CJK characters (Chinese ideograms) in math formulæ. Here's a sample input (the first few lines are merely to check that basic ...
10
votes
1answer
215 views
Bad position equation number Lualatex
If a math display is too wide, then the \eqno appears on the next line on the left instead of on the right as it should. Does anyone know how to solve this problem? This is an example:
...
7
votes
1answer
134 views
Trying to use FreeSerif as a maths font — what am I doing wrong?
Always in search of the ideal font combination unicorn, I thought I'd try the GNU Free UCS Outline Fonts (FreeSerif, FreeSans, and FreeMono). I seem to have fallen at the first hurdle:
...
7
votes
1answer
213 views
Problems with \bm and LuaLaTeX
I recently started using LuaLaTeX (after years of just pdflatex) and I seem to be having trouble with the bm package. For example, when I try to compile the simple document:
...
0
votes
0answers
51 views
Problems with largesymbols in mathptmx and LuaLaTeX [duplicate]
Possible Duplicate:
problem compiling some ‘math’ using LuaLaTeX
This is a MWE
\documentclass{minimal}
\usepackage{mathptmx}
\usepackage{amsmath}
\usepackage{lualatex-math}
...
4
votes
1answer
175 views
subscript is set too low in math-mode with xits-math
I use unicode-math with xits-math as math font and asana-math for math double-struck symbols. I compile with lualatex, and my packages are from TeXlive 2011.
Now, when use asana-math mixed with xits, ...
9
votes
1answer
258 views
Is direct utf8 input of combining diacritics in math mode possible with lualatex?
I am trying to typeset a document with combining diacritics directly input in it. I use LuaLaTex. Here is a minimal example illustrating the original issue:
\documentclass{minimal}
...
5
votes
2answers
426 views
Less vertical space in frac
I'm using unicode-math in lualatex with the Cambria Math fonts. Compared to Computer Modern math, there is too much vertical space between fractions. Is there a way I can achieve my adjustment without ...
0
votes
0answers
62 views
How can I debug this problem with math typesetting? [duplicate]
Possible Duplicate:
problem compiling some 'math' using LuaLaTeX
While trying to write an equation it seems that the square root does not like particular elements. I tried to ...
3
votes
1answer
499 views
problem compiling some 'math' using LuaLaTeX
Have a couple of documents with the following sort of construct:
\begin{equation}
y=\sqrt[n]{\prod_{i=1}^{n} x_{i}}
\end{equation}
Compiles/renders fine using 'standard' LaTeX, but fails miserably ...
17
votes
2answers
296 views
Issues with TeX sub-formula formatting
As generally acknowledged TeX offers superb formatting capabilities for math in an automated fashion. Nevertheless there are some areas with clear deficiencies that one either has to accept or ...
10
votes
1answer
351 views
When using more than 16 math alphabets, \mathtt uses italic font
I know that in TeX, you can only use 16 math alphabets but XeTeX extends this so I was curious to enlarge the number of my math alphabets and I had to redefine some internals of LaTeX. Here is my ...
6
votes
1answer
300 views
Too much space after integral sign with unicode-math and lualatex
(I had a feeling this was a duplicate, but couldn't find an older question about it. Forgive me if I'm just bad at searching.)
Consider the minimal example
\documentclass{article}
...
11
votes
2answers
1k views
Selecting main math font in LuaTeX?
I’d to set some fairly simple maths in Minion Pro (and potentially other system fonts), using LuaTeX. I’d hoped that something like the following should work:
\documentclass{minimal}
...
9
votes
1answer
286 views
Why does fontspec change the maths accents (and only with lualatex)?
In the minimal example that follows luatex doesn't place the accent correctly (it's too far left):
\documentclass{minimal}
\usepackage{fontspec}
\setromanfont{Linux Libertine O}
\begin{document}
...
10
votes
2answers
605 views
How can I enable italic correction for LuaTeX?
LuaTeX ignores mathematical italic correction by default, as noted by Khaled Hosny.
This leads to some awful errors when using some alphabet which is very slanted, like XITS' mathematical script ...
9
votes
3answers
1k views
Replacing greek glyphs in math mode
I want to switch fonts, away from computer modern. I'm pretty sure that I will end up with a mixture of fonts. I can't provide a full list of required features, but Linux Libertine's feature set ...
