Questions tagged [stackengine]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
43 views

Incomplete \iffalse; all text was ignored in tabstackengine

My MWE \documentclass[10pt]{article} \usepackage{tabstackengine,xcolor} \usepackage{amssymb} \makeatletter \newcommand*{\pmzerodot}{% \nfss@text{% \sbox0{$\vcenter{}$}% math axis \sbox2{0}% \sbox4{...
3
votes
2answers
55 views

Using \vspace togehter with \hspace to place a citation over an image

I have an image I would like to don with a citation. However, placing the citation on top of the image has proven to be a bit of a challenge. Simply placing the citation after the image with \...
7
votes
3answers
143 views

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} \...
2
votes
1answer
65 views

Why isn't the text in `tabularx` vertically centered when math stacking commands are used?

When I try to use math environments with stacking features, such as \Vectorstack from stackengine package, the text will not longer be vertically centered in the cell. Rather, it goes upwards as if it ...
3
votes
2answers
60 views

How can I force a custom command to take effect even when called in math environment?

I want to define a new command that is similar to \addstackgap from stackengine package except that it has an optional argument. The command modifies the small stack gap so that the preferred amount ...
5
votes
1answer
106 views

Lettrine + Stackengine: Bad placement of dropped capital

Updated: No longer an issue with lettrine 2.01 Weirdly, this has been working fine for me for months (if not years), however I've been able to boil down my issue to a MWE and it appears that ...
1
vote
3answers
129 views

Specific alignment of subscripts in math mode joint with overleftarrow. How to avoid phantom space fiddling?

The oveleft/rightarrow-command is not optimal because it shiftes indices to much to the right in formulas like: $\overleftarrow{D}_v$ Therefore, I use the following macro which I have adapted from ...
9
votes
3answers
143 views

Stacking thick bars below a symbol

I am using the following commands to place an arbitrary number of specialized, thick bars (\xbar) below a letter. \documentclass[prb,preprint]{revtex4-1} \usepackage{stackengine} \stackMath \...
1
vote
2answers
106 views

Align multiple matrix equations and their elements

I have a set of multiple equations with matrices and I would like that both the brackets and the elements are aligned together. To do so, I followed the accepted answer given in this thread: Multiple ...
6
votes
1answer
116 views

Conflict between eqnarray and tabstackengine

I seem to be getting conflict between the eqnarray environment and the tabstackengine package (which is very useful for matrices, column vectors, etc.). \documentclass{report} \usepackage{...
1
vote
4answers
168 views

Large formula in align - 2

Good Evening I'm new to Latex. I am writing the decomposition of an equation about turbulent motion. I have problems with alignment on the left and with numbering of the equations. I do not ...
1
vote
1answer
377 views

Unable to install stackengine package

When I am running the stackengine package in LaTeX, I am getting an error: File listofitems.sty not found. I am trying to get this file through MiKTeX 2.9 package manager but I am not able to find ...
4
votes
1answer
937 views

\tclap vs. \overset and \underset

MWE \documentclass[12pt]{article} \usepackage{color} \usepackage{amssymb} \usepackage{stackengine} \usepackage{mathtools} \begin{document} a\kern0pt{\color{red}{\tclap[5pt]{$\overset{\text{2}}{\vee}...
4
votes
1answer
74 views

How to use a user-defined command in glossary file?

I've a user-defined symbol like this: \newcommand{\myexclam}{\mathrel{\stackinset{c}{}{t}{}{\rotatebox{-45}{\scalebox{.5}{$/$}}}{$!$}}} This symbol should be used in one of my glossary's entries as ...
4
votes
1answer
97 views

tabular/stackengine: How to exceed/clobber row or cell frame

I have a table where some cells may contain an additional qualifier element right above their contents. Imagine 3 houses and their owners at certain points in time. Some owners may be related to ...
2
votes
1answer
242 views

Long division help

I've had to ask a new question since I can't figure out how to post the code into the thread I'd opened. I've tried manipulating the code Steven B. Segletes posted in Sharelatex to get what I want. ...
3
votes
1answer
198 views

xelatex + unicode-math + \big = ↯

(Note: See EDIT below that rules out both stackengine and standalone as the culprit) Input: \documentclass{standalone} \usepackage{unicode-math} \usepackage{stackengine}\stackMath \begin{document} \(...
0
votes
0answers
385 views

Error with `\Longstack` command

I am getting an error with the following code. The editor, WinEdt8.0, gives an error message indicating that it does not recognize the command \Longstack. Is there a package that I am missing? ...
6
votes
1answer
670 views

Two questions about the stackengine package:

Borrowing from this post, I constructed the following example: \documentclass{article} \usepackage{stackengine} \begin{document} \[ \setstackgap{L}{.7\baselineskip} \setstackgap{S}{9\baselineskip}...
1
vote
1answer
221 views

\textarabic highlight specifc letters or elements of text

My question is: how can I highlight specific letters or "accents" of arabic text, without disrupting the connection of the letters? For example, see the gray highlighted text (this was edited in gimp):...
2
votes
1answer
59 views

`\\` doesn't make a newline in tabstackengine together with environ

Consider the following example: \documentclass{article} \usepackage{amsmath} \usepackage{tabstackengine} \stackMath \setstacktabbedgap{0.5em} \setstackTAB{ } \makeatletter \robustify{\@normalcr} %...
1
vote
1answer
254 views

Errors with tcblisting and tabstackengine

I want to use the tabstackengine package in a tcblisting environment, but get a lot of error messages. How can I make this work? \documentclass{article} \usepackage{amsmath} \usepackage{...
3
votes
0answers
128 views

Horizontally centering glyph over text

In the given MWE, note that the new slur command is not centered with the two Fs that it connects. I've tried adjusting the scale of lilyGlyph, but it remains too far left. I would like the ends of ...
3
votes
3answers
136 views

How to add a symbol at the left top corner of standalone document?

So far, here is my document (I use the stackengine package to stack my formulas). \documentclass[border=1pt, class=scrreprt]{standalone} \KOMAoptions{fontsize=15pt} \usepackage{stackengine} \...
8
votes
2answers
610 views

Stackengine centering problem

I have a problem centering text with stackengine stacks. My MWE is: \documentclass{article} \usepackage{stackengine} \begin{document} \Shortstack[c]{Cognicion abstractiva} \end{document} The result ...
3
votes
2answers
192 views

delete predefined character area

Hey guardians of knowledge, I need to create special symbols by stacking letters and a reversed version of \u{}. The problem is that diacritics like \u{} come with a predefined character area (try \...
3
votes
1answer
401 views

Automatically put subcaptions inside picture

I want the same thing as those guys: Put subfigure labels inside figures using subfig package Subfigures with number inside figure But with one minor difference: I don't like the idea to write ...
1
vote
1answer
530 views

How change the default font size of a particular font mid document?

I am using XeLaTeX(fontspec) and I have the following problem. I am using a lot of differents fonts in the preamble like \setmainfont{GFSDidot} \newfontfamily{\greekfont}{CMU Serif} \...
16
votes
3answers
464 views

Environment to stack a word and a number

There is a requirement to write a list of words, underline each word and place a number centered below the line. Using the stackengine package I have prepared the following MWE. \documentclass[12pt]{...
2
votes
1answer
217 views

Graphics equations: put text on top of equations

How I can make sometimes the arrow direction up and sometimes down in a one unique tex file (I want to have both of them in a Latex-tex)? Following program make arrow down. \documentclass{article} \...
7
votes
4answers
1k views

Multiple matrix equations, alignment

I want to write three matrix equations on multiple lines so I'm using alignat. However, the widths of the matrices on each line are not equal. How can I make sure they will be? I've been looking ...
1
vote
1answer
75 views

Looking for a more elegant (correct) way of creating a formula

I wanted to achieve the following: And I did but my code looks like it was in a major accident: \documentclass{article} \usepackage{amsmath} \usepackage{stackengine} \begin{document} \begin{...
8
votes
2answers
743 views

Combine two symbols to one fully scalable

I have to put a colon inside a bigcup symbol, so that the result is treated exactly like the latter. I tried different approaches following various posts here and on other places. The best result ...
0
votes
1answer
68 views

Why can't I use multiplie verbboxes? [closed]

I am writing some documentation for a testing framework I am using at work and I use verb boxes to show code and add comments/captions that pertain specifically to that code. But I am getting the ...
3
votes
1answer
88 views

Problem with cases environment when used in a stack

I use the following code when I want to typeset math which was kindly written by Stephen B. Segletes but I have a problem when I try to use in it the cases environment. There is no problem with the ...
11
votes
0answers
2k views

Document Blending: An Analysis of the Sex Appeal of Business Instruments [closed]

Here is what I'm working with so far: \documentclass{letter} \usepackage{background} \usepackage{lipsum} \backgroundsetup{% scale=4, %% change accordingly angle=0, %% change ...
5
votes
1answer
264 views

Conflict between stackengine and babel with spanish option

When pdfLaTeXing the MWE below I get a Missing \endcsname inserted error message. The compilation proceeds with no errors as soon as the babel package is not loaded with the spanish option (well, to ...