Skip to main content

Questions tagged [branching]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
3 answers
81 views

Branch over number of characters of an argument provided to a macro

I currently have the following command: \newcommand*{\setfontshape}[1]{\@ifnotmtarg{#1}{\csname#1shape\endcsname}} that helps me produce the command: \scshape from text sc. I would like to modify my ...
Vincent's user avatar
  • 5,531
1 vote
1 answer
222 views

drawing trees with forest

i want to draw a tree with thicker branches like the one in the picture, what could i put instead of ''thick'' ? \documentclass[border=3.141592]{standalone} \usepackage{forest} \begin{document}...
BRAI Saddam's user avatar
0 votes
1 answer
36 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 ...
Devouring Radiant Light's user avatar
3 votes
2 answers
102 views

How to make text branching into two columns?

Hello everyone How to do everything as in the picture ? (with arrows)
DarMaster's user avatar
  • 109
2 votes
1 answer
501 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 ...
Vincent's user avatar
  • 5,531
2 votes
1 answer
53 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 ...
Jewdokija's user avatar
0 votes
1 answer
508 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]. ...
Andrea C's user avatar
0 votes
0 answers
79 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 ...
Ulrich Diez's user avatar
2 votes
1 answer
390 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
142 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={...
Amanda's 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 ...
thesilencer's user avatar
3 votes
1 answer
1k 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 - ...
bobsacameno's user avatar
0 votes
1 answer
607 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 ...
MAN-MADE's user avatar
  • 103
3 votes
2 answers
532 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, ...
ScumCoder's user avatar
  • 1,639
2 votes
0 answers
31 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 ...
Kaveh's user avatar
  • 1,187
2 votes
1 answer
130 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 ...
bbujeya's user avatar
  • 621