Skip to main content

Questions tagged [stack]

{stack} is about implementing and/or using stacks in (La)TeX. A stack is a data structure where new elements are added on top and are removed only in the reverse order.

2 votes
2 answers
446 views

I get this error with these sets of equations. The commented out ones also produce same error as one that is not commented out. How do I fix it? What am I doing wrong? This is my error code: ! TeX ...
Patrik's user avatar
  • 23
0 votes
0 answers
82 views

I am having an issue stacking stata regression outputs in latex. I am showing below the first panel of the table only. I have removed the two middle and bottom panels. Here is the Stata code, which ...
Guyle's user avatar
  • 1
5 votes
3 answers
845 views

Consider the MWE: \documentclass[12pt]{article} \usepackage{stackengine} \usepackage{lipsum} \usepackage{graphicx} \def\asterism{\par\vspace{1em}{\centering\scalebox{1.5}{% \stackon[-0.5pt]{*}{\...
DDS's user avatar
  • 11.3k
1 vote
0 answers
243 views

I am using a custom nature.bst file for writing a Springer journal and getting the above Error for the references. > %%\documentclass[sn-nature]{sn-jnl}% Style for submissions to Nature Portfolio ...
AnkanBan's user avatar
1 vote
2 answers
71 views

How to add text over icon (stacked on top of each other towards reader). Basically LaTeX equivalent of that html question: https://stackoverflow.com/questions/22644741/how-to-position-text-over-font-...
Uğur Dinç's user avatar
0 votes
0 answers
38 views

I'm trying to generate 3 panels of regression outputs, as shown in https://medium.com/@linglp/nice-regression-tables-in-stata-17d3895befd2, after running the regressions in stata. I implement the code ...
Jan3's user avatar
  • 77
2 votes
1 answer
1k views

I want to make a stack (as in programming but not algebraic one...) in LaTeX. For example, I want to define a set {} with the last three operation: Add a number at the last of the set. Take the last ...
Ngiap's user avatar
  • 99
6 votes
2 answers
695 views

Suppose I need to redefine the mdframed environment (from the mdframed package), using the old definition of mdframed. In the example here, perhaps the target (here, changing the color of the text) ...
quark67's user avatar
  • 5,188
0 votes
2 answers
167 views

\documentclass[12pt,a4paper,UTF8,scheme = plain]{ctexart} %%% 28 April 2022 %%%%% packages \usepackage{amsmath,amsfonts,amssymb} \usepackage[export]{adjustbox} % uses graphicx \graphicspath{{./figs/}} ...
CasperYC's user avatar
  • 739
1 vote
2 answers
1k views

\documentclass[11pt,a4paper]{article} \usepackage{ngerman} \usepackage[ngerman]{babel} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{marvosym} \usepackage{...
Mo Biz's user avatar
  • 19
2 votes
1 answer
166 views

This question is an extension of the earlier post Best Way to Produce This Chapter Divider Image Consider the code: \documentclass{book} \usepackage{stackengine} \usepackage{graphicx} \def\asterisks{\...
DDS's user avatar
  • 11.3k
1 vote
1 answer
133 views

It seems to be a well-known defect with \makeindex that the number of levels of an index entry is capped at three. For example, if I run the code \documentclass{book} \usepackage{imakeidx} \let\...
DDS's user avatar
  • 11.3k
2 votes
1 answer
100 views

Consider the MWE \documentclass{article} \textheight 8.25in \textwidth 4.75in \usepackage{scalefnt} \usepackage{amsmath,amssymb} %\blacksquare\hspace*{.7em} \usepackage{stackengine,xcolor,lipsum} \...
DDS's user avatar
  • 11.3k
1 vote
2 answers
234 views

Consider the following code: \documentclass{article} \usepackage[usestackEOL]{stackengine} \begin{document} \thispagestyle{empty} \Large $\left\{ \Centerstack{ the first sentence. \\ the second ...
DDS's user avatar
  • 11.3k
5 votes
3 answers
204 views

I can see at least 3 different approaches to implement a stack of integers with a sequence (seq) with a comma separated list (clist) with an array of integers (intarray) Points 1 or 2 are very ...
Jérôme LAURENS's user avatar

15 30 50 per page