Skip to main content

Questions tagged [grouping]

{grouping} is about the grouping mechanism in TeX, and about local and global assignments.

18 questions with no upvoted or accepted answers
4 votes
0 answers
300 views

SIUnitx Unit Grouping

Is there any siunitx options to manage grouping of units when per-mode=symbol is active? Or, is there a better way to handle this? Manually inserting parenthesis works fine (second line). But, when I ...
Peter Grill's user avatar
3 votes
0 answers
81 views

How to get a *lazy* list to play nice with other environments

I've created a lazy itemize command. Partially I've just done it for the hell of it: to see if I could create a command to do what I want it to. Partially to try to get to understand better how \...
A.Ellett's user avatar
  • 50.7k
1 vote
0 answers
25 views

Add content in a global table located in the beginning of the document

I would like to generate a global table with entries that can be added with a command. I based myself on this post. The issue I have is that I can only display the table after I added all its entries. ...
Pa Dalton's user avatar
1 vote
0 answers
69 views

What is the cost of TeX grouping?

While developing some package I end up with a dilemma: either a small number of TeX groups but many scratch variables or a small number of scratch variables but many TeX groups I have the impression ...
Jérôme LAURENS's user avatar
1 vote
0 answers
107 views

I'm working with MiKTeX, TeXstudio and writing letters with KOMA-Script and get the following warning "Unused global option(s): [dieter]."

My dieter.lco file includes besides personal information the following lines \ProvidesFile{dieter.lco}[2022/01/08 scrlttr2 options] \RequirePackage{ngerman} \RequirePackage{fix-cm} \...
dkraft's user avatar
  • 11
1 vote
0 answers
204 views

How can I use a minted listing inside a tcolorbox's top half *and* bottom half?

I'm creating reference documentation for a intro-to-programming class. As part of this, I'm going to have syntax definitions and examples of the syntax. To write this, I'd like to have LaTeX syntax ...
Sean Allred's user avatar
  • 27.5k
1 vote
0 answers
78 views

Dynamic datatool group by

I found this code in datatool group by? \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{ff14.txt} ClassID; Schueler_Name; Schueler_Vorname; Subject 5a; Stiner; Markus; Big ...
Kevin Suppan's user avatar
1 vote
0 answers
2k views

How to increase the maximum number of grouping levels?

I'm compiling a large, automatically generated LaTeX file that contains many \[ nested. This gives the error: ! TeX capacity exceeded, sorry [grouping levels=255]. <recently read> \bgroup I ...
Keelan's user avatar
  • 5,445
1 vote
0 answers
77 views

Global font size setting for captions

Dear $\LaTeX$ community, I was wondering if it were possible to assign a specific font size for the caption grouping for figures and tables?
user3125347's user avatar
1 vote
0 answers
364 views

Ending a tikzpicture environment in conditional causes "Missing } inserted"

I want to create a number of tikzpictures. I have a number of items I want to draw. Each tikzpicture takes up a whole page and may contain up to 4 items. (It is not good enough to to have each item in ...
Hammerite's user avatar
  • 3,626
0 votes
0 answers
63 views

How to set background image on every page using group elements

I need to put a background image on full page and I have several group elements, sometimes two groups on one page I only get one Image on half of the page and on the next page the group elements start ...
C. At's user avatar
  • 1
0 votes
1 answer
106 views

Issue with Hyperlinks in PDF using Hyperref Package

I am currently facing an issue with the placement of hyperlinks in a PDF document that I am typesetting using LaTeX and the hyperref package. I have tried various approaches, but I haven't been able ...
oierpa's user avatar
  • 1
0 votes
0 answers
20 views

Grouping problem in figure vertical alignment of text

I had the same problem as in LINK. The question is about using \endgroup somewhere. If I use the following code \usepackage[a4paper,hmargin=1in,top=1.2in,bottom=1in]{geometry} \usepackage{lipsum} \...
UnknownW's user avatar
  • 399
0 votes
0 answers
34 views

How to make calling of xeCJK work in a group

From the following example, you can see that calling a package in a group does work (xcolor in this example), except the package xeCJK. Does that mean this is a bug of xeCJK, or is there other way to ...
lyl's user avatar
  • 2,747
0 votes
0 answers
78 views

How to execute TeX only for side effects

I need to execute a part of my TEX code without printing the text it produces while making \global macros defined by it available. For example, when I have this group: { foo\global\def\bar{baz} } I ...
jiwopene's user avatar
  • 189

15 30 50 per page