Skip to main content

Questions tagged [tex-core]

{tex-core} is for questions about the core concepts of TeX, including the syntax, semantics and expected behavior of primitive control sequences, regardless of extensions (eTeX, etc.), formats (Plain or LaTeX) and macro packages (tikz). Such questions usually relate to low-level TeX programming or the behaviour of TeX at an underlying level. Note that even Plain TeX is a format in itself; for questions about it, use {plain-tex}.

3 votes
1 answer
98 views

In this file, I use boxes instead of an outfile. \FOXNum=1 %startbox defines the number of the first box, \lastFOXNum=10 defines the last box. The values are optional.(1-10,20-50,1000-4000). \...
MBE's user avatar
  • 177
0 votes
1 answer
173 views

Naturally i want this to add the next comment after it detects the next y. My current progress is: \documentclass{article} \usepackage{amsmath} \makeatletter \newcommand{\hbrace}[1]{% \mathop{% \...
Nyxzore's user avatar
  • 17
5 votes
1 answer
90 views

\def\drawDSID#1#2{ \def\trP{#2}\def\rpT{R}\def\trV{\ifx{\trP}{\rpT}3\else2\fi} \trV} The result is always 2, irrespective of #2, eg \drawDSID{(0,-7)}{R};
user209882's user avatar
5 votes
1 answer
421 views

If paragraph is started implicitly and begins with a group, \everypar is executed inside group. Is it a feature? \hsize=12em \parindent=0pt \everypar={\hangindent=20pt } \indent{T}he quick brown fox ...
Igor Liferenko's user avatar
3 votes
1 answer
140 views

I'm trying to visualize newlines in an input file by making ^^M active and displaying it as \n. However, the \input command appears to append an extra empty line at the end of the file, which I don't ...
Junseok Lee's user avatar
0 votes
0 answers
34 views

A blank line in the tex source code will leads to a paragraph break. For example, \documentclass{amsart} \begin{document} This is line1. This is line2. This is also line2. \end{...
gaoqiang's user avatar
  • 155
4 votes
2 answers
325 views

In §12 of tex.web mem_bot and mem_top are introduced. mem_bot >= mem_min mem_top <= mem_max It is possible to set mem_max = mem_top and mem_min = mem_bot permanently and everything will be ...
Igor Liferenko's user avatar
5 votes
1 answer
153 views

In section 11 of tex.web it says that the space for hyphenation patterns should be larger for INITEX than it is in production versions of TEX. Why should the space be different? And why does tex.web ...
Igor Liferenko's user avatar
3 votes
2 answers
146 views

By default, the Unicode character ℬ (U+212C) is mapped to a calligraphic style letter in unicode-math. I would like to reset it so that it instead produces a script style (curved) letter. I tried ...
Baskaran Kunchithapotham TNQ S's user avatar
8 votes
3 answers
303 views

In this example: { \let\oldpar=\par \xdef\par{NEXT UP!\oldpar} } Par 1 Par 2 Par 3 \bye TeX complains that oldpar is not defined. I do not understand why it tries to look for a definition ...
INEEDANSWERS's user avatar
9 votes
2 answers
428 views

To my surprise, the TeXbook (page 203) mentions that the first argument in \cs AB {\Look}C${And\$ }{look}\$ 5. where \cs is defined as \def\cs AB#1#2C$#3\$ {#3{ab#1}#1 c##\x #2} is \Look, and not [...
INEEDANSWERS's user avatar
5 votes
2 answers
152 views

I would like to use \futurelet with two tokens defined with \csname. Here's a MWE that seems to work with no \csname (first commented line) and with one \csname for the first token (second commented ...
user2026844's user avatar
2 votes
1 answer
95 views

This question concerns how file names are written to the .synctex files. On unix, these file names seem UTF8 material for any engine used. On windows what is the exact situation for each engine (...
Jérôme LAURENS's user avatar
0 votes
2 answers
80 views

The combination of the Funnelweb literate programming tool (Ubuntu) and Latex has recently (as in last year or two) stopped working under some conditions. What happens is that the indentation ...
Tomas By's user avatar
  • 263
3 votes
1 answer
198 views

How to get the (x, y) position of each line in the PDF output using Lua in LuaLaTeX? I'm trying to extract the line number and the exact (x, y) position of each line in the output PDF using a Lua ...
Baskaran Kunchithapotham TNQ S's user avatar

15 30 50 per page
1
2 3 4 5
137