Skip to main content

New answers tagged

1 vote

why this does not work: `\use_i_i:nnn {#1}{#2}{#3}`

Just to add an answer based on Phelype's comment: the command \use_i_i:nnn is not defined by the kernel, hence your error. You can define it yourself as in Phelype's linked code. \documentclass{...
11 votes
Accepted

How can I do boustrophedon typesetting in XeLaTeX?

If you are willing to use luatex, Robert's answer can be adapted using the luatex primitive \textdir. \documentclass{article} \usepackage{kantlipsum} \newbox\textbox \newbox\linebox \newif\ifrtl \def\...
mbert's user avatar
  • 8,819
2 votes

How can I do boustrophedon typesetting in XeLaTeX?

It occurs to me that if you were ok with mirroring the characters on the R-L lines, you could modify the output routine to disassemble the output box before \shipout and reassemble it line by line ...
Don Hosek's user avatar
  • 14.6k
1 vote

How can I do boustrophedon typesetting in XeLaTeX?

See https://tex.stackexchange.com/a/673113/107497. If you add \usepackage[OT1]{fontenc} to Robert's answer, it works.
Teepeemm's user avatar
  • 7,823
0 votes

Chinese character indentation and number alignment

\documentclass{ctexart} \usepackage{tabularray} \NewTblrEnviron{accounting} \SetTblrInner[accounting]{colspec={X[l]X[r]}, cell{2,3}{1}={preto={\qquad}}, cell{4}{1}={preto={\quad}}, cell{5}{1}={...
Stephen's user avatar
  • 6,240
2 votes
Accepted

Using tcolorbox to produce a box for section in mathematical writing

This might not be the answer you'd expect, but in my opinion the tcolorbox package is really a bit too heavy for this. I would suggest that you try with the titlesec package instead which also handles ...
Jasper Habicht's user avatar
0 votes

Makeindex mangling multibyte characters

You can have a look at xindex. \documentclass{article} \usepackage{fontspec} \usepackage{xindex} \makeindex \begin{document} test\index{§@\texttt{"§"} (attribute value)} \printindex \...
egreg's user avatar
  • 1.2m
1 vote

error in table of figures and wrong character

Do not use \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} which forces 8-bit legacy tex font encodings. If you use luatex or xetex you should be able to directly access a suitable opentype font ...
David Carlisle's user avatar
1 vote

What's the deal with Tex Live and cmunrm.otf?

I've combed through all the font files on my computer, and I can't find a cmunrm.otf file anywhere. Is this something that's just built into Tex Live? Just curious: Why do you want to know where in ...
Mico's user avatar
  • 528k
1 vote

How to use Palatino-like math fonts in XeLaTeX?

With XeLaTeX (or LuaLaTeX), you can use OpenType text and math fonts, such as: \usepackage{unicode-math} \defaultfontfeatures{Scale=MatchLowercase} \setmainfont{TeX Gyre Pagella}[Scale=1.0] \...
Davislor's user avatar
  • 46.5k
8 votes
Accepted

What's the deal with Tex Live and cmunrm.otf?

kpsewhich will show the location. In a default texlive 2024 you get $ kpsewhich cmunrm.otf /usr/local/texlive/2024/texmf-dist/fonts/opentype/public/cm-unicode/cmunrm.otf
David Carlisle's user avatar
1 vote

How to use Palatino-like math fonts in XeLaTeX?

With a unicode engine, you can use the TeX Gyre Pagella math fonts. Here is the text from the question Which OpenType Math fonts are available? with libertinus text font and Pagella math font. Use the ...
mbert's user avatar
  • 8,819
4 votes

Is it possible to make TIPA's fonts available to fontspec?

The New Computer Modern fonts provide the glyph. The fontsetup package automatically loads the fontspec package. \documentclass{article} \usepackage[newcmbb]{fontsetup} \begin{document} m̐ \end{...
Apoorv Potnis's user avatar
1 vote

Generating small business cards based on a csv file

%******************************************************************************************* \documentclass[11pt, a4paper]{article} \usepackage [a4paper, body={210mm,297mm},noheadfoot]{geometry} \...
L. Flis's user avatar
  • 63
3 votes
Accepted

How can I make the symbols in the last line of the formula appear in normal size?

they are textstyle as they are in a fraction, but if you are sure you want it you could use \frac {\displaystyle big numerator} {\displaystyle big denominator}
David Carlisle's user avatar

Top 50 recent answers are included