Questions tagged [stackengine]

{stackengine} is for questions that do or might conceivably make use of the stackengine package

is for questions that do or might conceivably make use of the stackengine package. The stackengine package is useful for stacking objects vertically on top of each other.

A key command from this package is \stackengine, which takes 8 compulsory arguments. A short description of each argument is provided below; for more information, read the package documentation.

  1. \SStackgap, LStackgap, \stackgap or <stacklength> - inter-item gap
  2. <anchor> - 'Bottom object' / <item> is stacked on <anchor>
  3. <item> - Object to be stacked
  4. O or U - Overstack or Understack
  5. \stackalignment, l,c or r - self-explanatory, default is center alignment
  6. \quietstack, T or F - determines if result of the stacking operation is suppressed from the output, default being false (not suppressed)
  7. \useanchorwidth, T or F - stack width to take width of anchor or that of the widest element in the stack
  8. \stacktype, S or L - short stack or long stack

E.g. of use can be seen here.

70 questions
7
votes
3 answers

Vertical alignment of \stackengine stacks

I would need to write a few letters above certain syllables in a normal text. I've found this great \stackengine package, which seems to do the job. \documentclass{article} \usepackage{stackengine} \begin{document} \stackon{a}{w}\stackon{b}{x}…
4
votes
2 answers

Vertically stack text from variable

I want to stack vertically like this t e x t 1 9 I found various answers that works, either using custom commands or stackengine (e.g. Vertical text (not in table)). None of these answers works when part of the text is a variable,…
Holt
  • 532
  • 1
  • 4
  • 14
2
votes
1 answer

Centerstack does not create space for items

I am trying to get \Centerstack to create space around the contents of every item, but it seems that the vertical space of 1em above the baseline for each item. Is it possible to modify…
1
vote
1 answer

Adjust multiple line spacing when using mixed fonts with \Centerstack from stackengine

In the following image, I'd like to nudge the line in the up just a bit so that it appears vertically centered between the words Seaweed and Ocean. The \vspace{-10pt} macro doesn't seem to do anything to shift the…
RosesBouquet
  • 569
  • 3
  • 13
1
vote
1 answer

stackengine subscript size

Correct subscript size not taken using stackengine package, please find MWE file is as follows: \documentclass{book} \usepackage{stackengine} \newcommand{\Utildesim}[1]{% …
Rajesh N
  • 829