Skip to main content

Questions tagged [tex-core]

{tex-core} is for questions for syntax, semantics and expected behavior of TeX 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}.

0 votes
0 answers
24 views

structured inline enumerate problem latex

I am writing a book with a lot of tests with multiple choices. And I use inline enumerate. But it looks random and weird. I want it to look correct like in the first problem. If the answers are moved ...
Amantai Asanbekov's user avatar
0 votes
0 answers
14 views

Using authblk \author in a tex cls file with a \foreach loop

I wrote a cls file containing: \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesClass{Bug}[2024/07/12 Bug] \LoadClass[a4paper,twoside,openbib]{article} \RequirePackage{expkv-opt} \RequirePackage{expkv-...
Jouke's user avatar
  • 11
0 votes
1 answer
82 views

What has been modified in the core of TeX or LaTeX that creates a bug in the xlop package?

Normally the first operand 521 should display _2_ but it displays 52_ and the second operand 177 should display _7_ but it displays 17_. This xlop package didn't have this bug until 6 months ago. ...
AndréC's user avatar
  • 26k
0 votes
1 answer
39 views

Covert Markdown to LaTeX using Pandoc but exclude some text from appearing in .tex file [closed]

I have added several notes in my Markdown document but when converting the mardown to .tex file using Pandoc, I do not want those notes to appear in .tex file: Here is the text with the notes: "...
Araz's user avatar
  • 1
0 votes
1 answer
65 views

How to tell TeX to avoid overfull hboxes by breaking a line?

Is there a way to tell TeX that, whenever a paragraph cannot be typeset properly, it should never produce an Overfull hbox, and break some line in the paragraph instead? I do know about all I should ...
sparusaurata's user avatar
5 votes
1 answer
94 views

How implement a drop cap with boxes

I'm trying to implement a "drop cap", not to use it (I know there is a package to do it), but to practice some box things. So far I have this written: \parindent=0pt \newdimen\pdim \def\...
gxono's user avatar
  • 142
2 votes
2 answers
67 views

Specific Formulas Alignment

I need to align congruences in different ways in columns. The left parts of the formulas (in the red frame) need align in the center, the right ones (in the green frame) should be one under the other (...
32seph's user avatar
  • 23
2 votes
2 answers
83 views

How to expand branches of a forest tree

I am trying to draw a stemma codicum of a critical edition using the package forest - after the first step of drawing all the branches I now need to expan the branches before adjusting all the lengths....
Andrea 's user avatar
  • 135
0 votes
1 answer
26 views

Remove newline from input

Is there a way to remove a single newline character from an input? Something like this \edef\test{\removenl{ Hello World % }} % \test should have ` Hello World ` Context: Consider a file.txt that ...
Tohiko's user avatar
  • 1,833
1 vote
0 answers
73 views

I get strange values for the greek letter pi and the product Pi

The following code produces the similar two numbers twice because the two lines of code are similar: 281 and 28677 I don't know what are those values and where they come from. In the log file there's ...
Rafiq's user avatar
  • 255
2 votes
2 answers
439 views

TeX variables become local within list environments?

Apparently, when the value of a TeX counter is modified inside an enumerate environment (and no doubt many other contexts), it acts like a local variable, so that any modifications to it are local to ...
Mars's user avatar
  • 1,108
0 votes
3 answers
44 views

How to change height and depht for superscript and subscript outside math mode?

To display in a decent way both superscript and subscript after some text I'm using these commands \rlap{\textsuperscript{}}\textsubscript{} and it works. I'm looking for a way to increase the ...
Paul's user avatar
  • 45
3 votes
2 answers
59 views

Custom LaTeX Command for Consecutive Superscripts with Correct Alignment After Large Symbols

I am writing my master's thesis on Formal Concept Analysis and I want to create a custom command for the derivation operators. They are superscript arrows with some optional argument, and would look ...
Samuel Jose Molina Ruiz's user avatar
5 votes
2 answers
177 views

Purpose of \nobreak inside \vadjust

I was looking into the definition of \@normalcr. In some cases, the macro expands to include either \vadjust{\nobreak \relax} or \vadjust{\nobreak \vskip 1cm} (the 1cm is an example, more generally it ...
SvenForkbeard's user avatar
0 votes
0 answers
157 views

Powershell's Get-Clipboard slow output in TeXStudio Script

I am currently trying to run a TeXStudio script that calls a Powershell Script that outputs to the Messages Section of TeXStudio the contents of the clipboard. This is the script I have in TeXStudio's ...
Juan De Castro's user avatar

15 30 50 per page
1
2 3 4 5
133