Most active questions

Filter by
Sorted by
Tagged with
14 votes
4 answers
810 views

I would like to add a reversed gray shadow under a title to mimmic a mirror effect. How can we do that with standard pdflatex (the live tex distribution)? Currtently, the code below only add a dull ...
Cham's user avatar
  • 2,858
19 votes
3 answers
653 views

I would like to draw a sphere, of radius 3, and an ellipsoid of semi-axis 2, 3 and 4 together. They intersect at two great circles on the sphere (marked in red). I started out with the sphere and the ...
Knudsen's user avatar
  • 1,657
9 votes
6 answers
299 views

The following is an example from an English book. I'm planning to rewrite it in latex. The layout is with an itemize of points in the middle, and with "CONNECTIONS" notes along the two sides....
xuehao's user avatar
  • 187
5 votes
5 answers
234 views

I have a list of numbers from 1 to 12. I want to print the numbers 3,6,9 and 12 in purple, the others in blue. With my code: \documentclass{standalone} \usepackage{tikz,ifthen} \begin{document} \...
Raffaele Santoro's user avatar
4 votes
3 answers
290 views

I need to put diagonal arrows under an equation (the red ones in the picture). I tried using \swarrow \qquad \searrow, but they are not positioned where I need them. I would prefer not to use tikzmark....
Lucy's user avatar
  • 307
8 votes
2 answers
158 views

I'm working on creating a specific two-column table in \LaTeX. The second column, $f(n)$, contains expressions that are linear combinations of $\alpha$, $\beta$, and $\gamma$, but not all terms are ...
tmc's user avatar
  • 91
6 votes
3 answers
305 views

Suppose we are working in the three-dimensional real vector space V. A cone is a subset C of V such that if an element v of V lies in C, then all of its nonnegative multiples also lie in C. I would ...
Fradns's user avatar
  • 213
2 votes
3 answers
263 views

when facing the text in latex: Receiver class org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient does not define or inherit an implementation of the resolved method 'abstract org....
Dolphin's user avatar
  • 1,087
8 votes
1 answer
202 views

As a continuation of TikZ word search diagram here is the problem I'm facing. I did what Explorer suggested and it worked fine except that my rounded rectangles look like sausages or like Hieroglyphic ...
yannis's user avatar
  • 2,427
5 votes
3 answers
99 views

I've been trying to adapt the answer https://tex.stackexchange.com/a/239471 to the drawing I've been attempting, but I'm getting a strange result. I want draw an arc that begins and ends where it ...
troy's user avatar
  • 141
6 votes
3 answers
99 views

I have the following snippet \documentclass{article} \usepackage{tabularx} \usepackage{rotating} \usepackage{multirow} \newcolumntype{C}{>{\centering\arraybackslash}X} \newcolumntype{V}{>{\...
domi's user avatar
  • 147
7 votes
1 answer
188 views

Sometimes I see the accented è written in LaTeX sources as a command like this: \`e I've always wondered the reason. On my laptop (a modern machine), I can type è directly using the keyboard, and the ...
Sebastiano's user avatar
  • 67.1k
4 votes
1 answer
217 views

What is the best way to demonstrate a tagged PDF vs untagged. I don't mean a verification mark. I am looking for a, preferably Linux, screen reader that can read a tagged pdf and its formulas ...
Namal's user avatar
  • 361
5 votes
1 answer
187 views

Based on the documentation, I would expect the two rectangles generated by this code to look identical: \documentclass{article} \usepackage{tikz} \begin{document} \pgfdeclarehorizontalshading{...
karlh's user avatar
  • 2,260
5 votes
2 answers
104 views

I have the following document \documentclass{article} \usepackage{fontsetup} \usepackage{amsmath} \newcommand{\coordRng}{\operatorname{\Gamma}} \begin{document} \(\coordRng (X)\) \(\Gamma\) \end{...
msx's user avatar
  • 705
4 votes
3 answers
96 views

I'm trying to put multiple numbered equations into one line to save space. One way to do this is to put the equations inside a tabularx table. However, when I try to put an equation environment inside ...
Andi Bauer's user avatar
7 votes
1 answer
176 views

I'm trying to set up tcolorbox blocks using minted engine. I want to use a font of my choice in those, not the default monospaced one (or tt or helvetica, per minted manual). Let's say I want 'Code ...
yury10578's user avatar
  • 315
2 votes
2 answers
181 views

I was inspired by some of the illustrations in https://math.stackexchange.com/a/46222. I wanted to try graphing implicit surfaces myself, and came across the method of marching cubes. See https://...
Jasper's user avatar
  • 10.9k
3 votes
2 answers
158 views

Suppose I have a paragraph, and the first line of it may or may not contain an inline picture or a big character with the height greater than that of normal characters. Something like this: Lorem ...
Sergey Slyusarev's user avatar
3 votes
2 answers
107 views

A MWS is as follows. \documentclass{ctexart} \usepackage[main=chinese, provide=*]{babel}% \babelprovide{greek} \babelfont[greek]{rm}[Scale=MatchUppercase, ItalicFont={GFSArtemisiaIt.otf}, BoldFont={...
M. Logic's user avatar
  • 5,426
2 votes
3 answers
115 views

I meant to restrict the overlay to all but the last page, but this setup fails due to \zref@extractdefault{abspage}{abspage}{0} stuck at 0. Is there a solution to this specific issue, and a better ...
Erwann's user avatar
  • 2,510
3 votes
2 answers
166 views

I try to compile the following with lualatex, TeXLive 2025 current, {pdfmanagement-testphase}{2025-11-12}{0.96x} \DocumentMetadata{lang=en-US,pdfversion=2.0,pdfstandard=x-6n} ... but this yields ! ...
user2609605's user avatar
  • 1,273
4 votes
2 answers
117 views

I would like to put parentheses around one column of a tikz-cd diagram — something like the diagram in the example below, but with the second set of parens around just the left-hand vertical of the ...
Peter LeFanu Lumsdaine's user avatar
1 vote
3 answers
83 views

The desired output is with an overlay; but \tl_show:N prevents inhibits it. Though I found a workaround for this, \tl_log:N, it has cost me time so I thought I'd post it for insights. The question is: ...
Erwann's user avatar
  • 2,510
5 votes
2 answers
98 views

Consider the following MWE: \documentclass{article} \DeclareKeys [ myKeys ]{ a .store = \whereA, b .store = \whereB, } \SetKeys [ myKeys ] { a = AAA, b = \pageref{#2}, } \...
wmnorth's user avatar
  • 709
1 vote
3 answers
108 views

Please help. OT3 is a very old encoding and I want to use it for stylistic reasons to make my document look old. EDIT: I figured out how, but I have a new question: does OT3 and \usepackage{ipa} ...
Grzegorz Brzczyszczykiewicz's user avatar
0 votes
4 answers
82 views

I would like to have a framed box that contains some (justified) text and, on the side, a figure with its label and caption, something like this: I think/I read on other threads that some starting ...
Jacopo Remondina's user avatar
3 votes
2 answers
91 views

I'm trying to customize the quote environment for a novel (citations at the beginning of each chapter), and I'm having troubles in setting custom vertical line spacing, horizontal line length, the ...
Cham's user avatar
  • 2,858
2 votes
3 answers
74 views

I sometimes want to put the content of a float on a page by itself and control the alignment in the usual type area. To do this, I use a minipage that has exactly the size \textwidth x \textheight. ...
schtandard's user avatar
4 votes
1 answer
120 views

I'm trying to draw a pixelated (blocky) circle in TikZ where each filled 1×1 square corresponds exactly to an integer grid cell (think Minecraft blocks). Given a center and radius, I want a compact ...
Jax's user avatar
  • 41
-2 votes
1 answer
45 views

This manual seems to say that this package does the arithmetic for you and only gives results that are correct and complete. I don't know how anyone who teaches mathematics fails to see what's wrong ...
Michael Hardy's user avatar
2 votes
1 answer
122 views

In a previous question (i.e., How to align the visual bottom of a large quotation mark with the cap height of the text?) I was looking for a solution for how to properly align a quotation mark. As cfr ...
Mihai Constantin's user avatar
3 votes
1 answer
90 views

I am compiling my thesis using Latex, which eventually generates a PDF file. In addition to its textual content, I want to insert a graphical image (.png) as its cover page. This is what I am doing ...
ranaya's user avatar
  • 31
1 vote
1 answer
66 views

I am using tikz to make a PA Dutch hex sign-like image. How can I make the comma-like shape that is seen below? I will ultimately be replicating it and rotating it around a center point, but I don't ...
Andrew's user avatar
  • 71
5 votes
1 answer
67 views

In the following MCE, I apply to every item stored within the \l_tmpa_clist clist an inline function that displays this item preceded by its index (its position in the list). For this index, an ...
Denis Bitouzé's user avatar
4 votes
1 answer
93 views

I would like to factorize the code to avoid to manually type the a's, b's and m's. Is it possible? \documentclass{standalone} \usepackage{nicematrix} \usepackage[svgnames]{xcolor} \begin{document} $...
projetmbc's user avatar
  • 15.5k
0 votes
1 answer
73 views

Do people creatively use math mode for things other than math? If so, when and why?
Grzegorz Brzczyszczykiewicz's user avatar
1 vote
1 answer
85 views

I'm still really a noob with fonts in LaTeX. I'm looking for a better font display than the one used in the code below. What other nice font codes should I try on line marked with a comment, to get ...
Cham's user avatar
  • 2,858
0 votes
3 answers
48 views

I can't figure out how to both use an option in a package and pass it to a second package. This will store to \cmdA in mwe_pkgA, but will not pass to mwe_pkgB: % -------------------------------- % ...
dedded's user avatar
  • 2,874
2 votes
2 answers
160 views

I need to print cards (bussiness for example) on both sides of A4 paper so they must match exactly.I was trying to do some calculations and search for hidden margin, but none of those worked. code: ...
user32017992's user avatar
2 votes
1 answer
92 views

I was courious to know how many line of expl3 code is in the LaTeX kernel. I run a python script (code below) to count the number of lines in each dtx file in the base directory of the LaTeX2e ...
TeXtnik's user avatar
  • 5,973
2 votes
1 answer
61 views

\documentclass[11pt,a4paper]{article} % Use XeLaTeX to compile % Go to Menu > Compiler and set it to XeLaTeX \usepackage{wrapfig} \usepackage{fontspec} \usepackage{polyglossia} \usepackage{siunitx}...
Chathura's user avatar
5 votes
1 answer
62 views

Disclaimer: This is a bit a XY problem, or rather: I have a problem X and I have a solution Y which works but does not really make me happy. Background: I have an environment, say {foo}, which I use ...
campa's user avatar
  • 33.5k
1 vote
1 answer
111 views

This LuaLaTeX code tries to process key-value pairs from a Lua string. The Lua function parse_kv_pairs takes a string containing comma-separated key-value pairs, removes whitespace, and splits the ...
xcn's user avatar
  • 1,195
1 vote
2 answers
36 views

The ibrackets package doesn't seem to work when I use \underset or \overset. \[ ]-\infty\underset{\substack{\uparrow \\ \frac{\pi}{2n}}}{,} a] \text { oppure } [a\underset{\substack{\uparrow \\ \frac{\...
Sebastiano's user avatar
  • 67.1k
0 votes
3 answers
56 views

Every now and then I need a refresher on LaTeX logic. In the example below I expected either an error or at least a different result — certainly not the value 2, which is the behavior I would have ...
Erwann's user avatar
  • 2,510
2 votes
1 answer
66 views

I heard verbatim fonts have extra characters for stuff you can type on a keyboard. How are they stored internally? Is it a secret? Is it hacked?
Grzegorz Brzczyszczykiewicz's user avatar
3 votes
1 answer
109 views

I am working with the amsart class and I would like to define two new environments to create a sort of structured dialogue with que (question), ris (answer). I would have with this MWE: \...
Sebastiano's user avatar
  • 67.1k
2 votes
1 answer
48 views

I thought that \begin{env}...\end{env} is essentially equivalent to \env ...\endenv. However, in the case of align*, the first example below compiles without issue, while the second gives a runaway ...
user2026844's user avatar
2 votes
1 answer
92 views

How do I get the table to respect the “new” left margin/indent in a list so it centres correctly, rather than the full-page text width? \documentclass[10pt]{book} \usepackage{booktabs} \usepackage{...
mf67's user avatar
  • 878

15 30 50 per page