# Tag Info

2

Hyphenation seems to work fine with babel (but I don't understand greek): \documentclass[paper=a6]{scrartcl} \usepackage{showhyphens} \usepackage{fontspec} \newfontfamily\greekfont{GFS Porson} \usepackage[greek]{babel} \languageattribute{greek}{ancient} \begin{document} \greekfont ΣΩ.\quad Οὑτωσὶ τοίνυν, ὦ παῖ καλέ, ἐννόησον, ὡς ὁ μὲν πρότερος ἦν ...

0

Add \setmathfont[range="002F]{MdSymbol-Regular} as last line the the \setmathfont series

1

I found a partial solution with adding \usepackage{newunicodechar} \newunicodechar⊥{{$\bot$}} This is somewhat unsatisfactory, because it requires an addition for each symbol desired.

5

Who decided that spider has 8 legs? I don't know. But i know who is in charge of KOMA-script and scrlttr2, the author and maintainer Markus Kohm. He decided, for whatever reason, that the footer in a letter should be slanted. The footer is implemented as a parbox, so it is justified by default. You should not set things manually, let the program work for ...

1

I like very much Sublime Text. His multi cursor editing is simply fantastic (I know that now other editors has it too, but it was the first one). It has the possibility to have different highlights inside the same document depending on the context. But I don't know if somebody has created a setting for Lua(La)TeX.

5

I'd consider this a bug both in unicode-math, which should provide a good equivalent of \std@minus when amsmath is loaded and of Latin Modern Math, that doesn't provide a glyph for \harrowextender (U+23AF HORIZONTAL LINE EXTENSION). See the related question Why fontspec breaks extarrows package For your problem, you can do \documentclass{article} ...

2

Edit: OP provided some test files, which showed few new issues. Those issues should be fixed now and updated package will find its way to CTAN and TeX Live soon, hopefully. There is one issue with your code: \begin{table}[ht] \label{tab:stuff_cal} \centering \begin{tabular} \includespread[file=calcs.ods, template=table_3c, columns=head] ...

0

An alternative coding with luacode: \documentclass{article} \usepackage{luacode} \usepackage{tikz} \begin{document} \luaexec{ tp=tex.print tp("\\begin{tikzpicture}[thick]") tp("\\draw (0,0) to (1,1);") tp("\\end{tikzpicture}") } \end{document}

5

You have several errors in your example code. You should never set the baselineskip less than the font size for typesetting a paragraph, or the spacing between lines will be uneven. You should set the font size in the whole center environment. Before and after the \hrule some vertical space is needed. You should never use the minimal class. Here's a ...

2

As mentioned in the comments, the fontsize is the culprit here. See the proposed change below. I have added a \vspace{1em} to create some more distance between the underline and the separating line and before the English part. Drop either one of these if it suits you. \documentclass[12pt,a4paper,landscape,oneside]{minimal} ...

0

It's a disgusting way, but I got it to work: \texttt{\$}\mintinline{perl}{_[0]} I only need it in black and white, so it looks fine. If there's another answer that works better, I will accept that one instead 4 You have to escape the special characters: \documentclass{article} \usepackage{minted} \begin{document} \mint{perl}|$_[0]| \end{document} The character | stands for an arbitrary (nonspecial) character that doesn't appear in the text to be processed, like for \verb. You might consider using pythontex: \documentclass{article} \usepackage{pythontex} ...

5

Compress settings Ensure that the compress settings are correct: \typeout{pdfcompresslevel=\the\pdfcompresslevel} \typeout{pdfobjcompresslevel=\the\pdfobjcompresslevel} \typeout{pdfminorversion=\the\pdfminorversion} Default for TeX Live 2014: pdfcompresslevel=9 pdfobjcompresslevel=2 pdfminorversion=5 \pdfcompresslevel compresses streams as page ...

3

There is a wonderful script to shrink a PDF: https://github.com/pts/pdfsizeopt . I've been using it for years and can recommend it. Regarding the question of the cause for such a large PDF: Maybe you saved different versions of your file, which only have a different file extension (*.jpg, *.png ...). For some reasen LuaLaTeX prefers the large JPG and not ...

5

The character exists, provided you use the correct Unicode point (U+0387) \documentclass{scrbook} \usepackage{fontspec} \setmainfont{texgyrepagella-regular.otf}[Style = Alternate, Ligatures = {Common,TeX}] \newfontfamily\greekfont{GFS Porson}[Ligatures = TeX] \usepackage{polyglossia} \setmainlanguage{german} \setotherlanguage[variant = ancient]{greek} ...

8

Lua modules have evolved and since Lua 5.2 you do not need the keyword module. Most probably you have seen modules written as mymodule.lua: module("mymodule", package.seeall) function foo() -- create it as if it's a global function print("Hello World!") end Do not use this format as it is now depreciated. Minimal module example ...

3

\documentclass{article} \usepackage{amsmath} \usepackage{unicode-math} \setmathfont{XITS Math} \setmathfont[math-style=literal,range={"00F0-"03D6}]{XITS Math} \begin{document} This will work: $\upmu\upalpha x$ $\mitAlpha$ But this will work: $\mathrm{\mu}$ $\mathit{\Alpha}$ \end{document}

6

How greek letter are typeset depends on the option math-style. With e.g. french both \upmu and \mu will be upright, with ISO both are italic. (I do find this confusing too, that \upXXX ends up italic ...). If you want to force upright mode for a single instance use a markup command like \mathup. \documentclass{article} \usepackage{amsmath} ...

3

(Note: The following explanation is specific to TeXLive. I don't know how other TeX distributions -- e.g., MikTeX, PCTeX, Scientific Workplace -- handle this matter.) You've discovered that there's a single executable program, luatex, and that lualatex is "merely" a symbolic link to luatex. By the way, the single-executable-program-name matter isn't ...

3

While LinLibertine_M.otf advertises covering cyrl, grek and hebr, it shows no glyph belonging to those alphabets. Here is a picture of the font table obtained with fontforge and showing the Cyrillic range: No glyph is shown. With otfinfo -g the result is the same: no Cyrillic glyph name is output. So, yes: Linux Libertine Mono doesn't support Cyrillic.

Top 50 recent answers are included