Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [branching]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

How to return/realign/reunite a branch of a tree structure to the original parent lineage using the forest package?

I am drawing etymological trees using forest and I am wondering if I can reunite my forked-off branches back with the main "line" somehow. Essentially the question could also be: Can one ...
user avatar
3 votes
2 answers
75 views

How to make text branching into two columns?

Hello everyone How to do everything as in the picture ? (with arrows)
user avatar
  • 109
2 votes
1 answer
68 views

Conditional color in a newtcolorbox

Consider the file that is presented below that defines 3 new color box environments through \newtcolorbox: bluecolorbox, redcolorbox, greencolorbox. Instead of the current strategy, I was wondering ...
user avatar
  • 4,263
2 votes
1 answer
41 views

How to find out if a break occurred at a manually inserted \discretionary?

How to find out if a break occurred at a manually inserted \discretionary? I can't do it by assignments within the arguments of \discretionary—assignments are finished before decision about breaking ...
user avatar
0 votes
1 answer
160 views

Length of branches in forest (LaTex)

I've written this tree using the Forest package. The output is perfect, but I don't understand why in order to increase the length of the branch connecting r, I had to write [h, l=2] and not [r, l=2]. ...
user avatar
0 votes
0 answers
69 views

"Situation management" in LaTeX / expl3?

It happens from time to time that I would like to implement LaTeX commands that behave differently depending on the situation. E.g., a command that returns different compositions of tokens depending ...
user avatar
  • 23.1k
2 votes
1 answer
229 views

Labelling the branches in branching chemical equations using chemfig

The picture below shows what I intend to achieve: The tex script that I wrote: \usepackage{chemfig} . . . \schemestart[0,1.25] \chemfig{*6(-=-=(-CH\textsubscript3)-=)}\arrow{->[Alk. $KMnO_4$][$...
user avatar
3 votes
1 answer
112 views

Help with branches

I'm trying to do something like this, but I doon't know how to creat [+silábico] or organize "NUC" in an equal high. Thanks!! Here is what I used: (I've tried "[{[-silábico]},before drawing Vocálico={...
user avatar
  • 157
9 votes
2 answers
1k views

Multiples arrow branching out from a node to different nodes

I'm trying to draw a diagram, as depicted in the picture below, May I know, how can I draw multiple arrows branching out nicely from a node to many different nodes as shown above? The arrows I've ...
user avatar
2 votes
1 answer
891 views

Lyx - add automatic text to a branch, and format it

I am using branches in Lyx, and I want to add a text in the beginning of a certain branch when the document is compiled. Is this possible? Also, I wanted to format a certain branch in a special way - ...
user avatar
0 votes
1 answer
446 views

How to write this tree in Tex [duplicate]

I want to write this following picture in tex. I am new in drawing branching in tex. So I saw some examples in this site. But could not find this type. Again how to put dots in the end? A picture is ...
user avatar
  • 103
3 votes
2 answers
382 views

\pgfplotsforeachungrouped: how to escape & and \\

Disclaimer: I've barely started to learn LaTeX so bear with me. Problem: I use a lot of matrices like this Which I absolutely hate to code manually. Obvious solution would be a nested for loop, ...
user avatar
  • 1,437
2 votes
0 answers
27 views

How to branch based on the documentclass? [duplicate]

I have a macros.tex file where I keep my macros and I use them with different document classes. I want to skip including some of my macros based on the document class (e.g. if it is beamer). How ...
user avatar
  • 1,137
2 votes
1 answer
125 views

Mail Merge Gender problem

I'm trying to construct a form letter, using information stored in a file "data.dat". It all works, but I am having trouble finding a solution to discriminate between he/she or him/her, depending on ...
user avatar
  • 591