All Questions

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

Missing control sequence inserted when using `breqn`

I have compatibility problem between my own TeX code and breqn, and I'm out of my depth in my understanding of TeX. I'm encountering this while reviving some LaTeX code from a few years ago. I'm ...
yori's user avatar
  • 5,711
0 votes
2 answers
15 views

Operator names that ignore parentheses

As \dim is set like an operator name, just like \sin, when we write \dim(X+Y) the spacing that we get in \dim X is omitted. This works perfectly for \sin, of course, but is not really correct for the ...
Mariano Suárez-Álvarez's user avatar
0 votes
0 answers
29 views

Problem: group of rectangles scaled, rotated and positioning in TikZ Code

i'm developing a python converter. This converter use vectorgraphis created with PowerPoint and convert this graphics into TikZ Code. Now i created a graphic of two rectangles and group them. Then i ...
B.Boucsein's user avatar
3 votes
2 answers
45 views

LaTeX labels propositions as Theorems in text instead of Propositions

I have the following simple example in LaTeX: \documentclass{article} \usepackage{amsmath} \usepackage{hyperref} \usepackage[capitalize,noabbrev]{cleveref} % Theorem environments \newtheorem{theorem}{...
Alan Chung's user avatar
3 votes
0 answers
28 views

LuaLaTeX omits part of a pgfplots diagram

When I run the same pgfplots code using pdflatex and lualatex, I get a different output. lualatex is omitting part of my plot. \documentclass[border=0.2cm]{standalone} \usepackage{pgfplots} \...
Jasper's user avatar
  • 942
0 votes
0 answers
20 views

References appear as question marks using Springer template

I'm trying to use this template provided by Springer to write a paper and I'm having some trouble with the references. I use the Texmaker editor with MiKTeX, and what I did for now was: Open the sn-...
haiban3renm3i's user avatar
0 votes
0 answers
12 views

How to make paragraphs distributed across two columns start at the same height in both columns

I'm trying to create a page that looks like this: if my code looks like \twocolumn blindtext \command{title}{blindtext}{blindtext} \command{title}{blindtext}{blindtext} \command{title}{blindtext}{...
Luca Ballanzeddu's user avatar
0 votes
0 answers
20 views

LaTeX Workshop (VS Code) finds biber.exe succesfully but logs and outputs error

OS: Windows 10 Installed Tex Live Installed LaTeX Workshop extension on VS code Changed settings.json to support biber as described here Now after I run latexmk -> biber -> latexmk*2 recipe, my ...
Jonas's user avatar
  • 101
1 vote
1 answer
39 views

pstricks Inside a \marginnote

I am trying to develope an enviroment to create a baseball "At Bat" graphic in the margin. So I can code something like: \begin{at-bat} \abSingle \abFirstStrike{1} \abFirstBall{2} \end{...
Dobbo's user avatar
  • 111
3 votes
1 answer
25 views

Use other units than point for arraycolsep

The following code throws an error stating that \arraycolsep needs the length unit specified in points. Is it possible to use other units, e.g., mu? \documentclass{article} \begin{document} \[ \...
EuklidAlexandria's user avatar
0 votes
0 answers
38 views

Preserve capitalization of the input text when copy/pasting from the output PDF

I noticed that, if I compile my document with XeLaTeX, copy-pasting text in small capitals from the PDF results in uppercase text. To the contrary, LuaLaTeX, preserves the capitalization of the input ...
michaelmeyer's user avatar
0 votes
0 answers
15 views

Beamer exam with generated solutions

I'm trying to automate small exams in Beamer class. They are supposed to: Have a command for question and answer like: \question{43-1=}{42} Enumerate all question on separate slides Summarize all ...
RootRaven's user avatar
  • 249
0 votes
0 answers
16 views

LNCS: Using et. al. in reference list

The llncs document class (Overleaf template) lists all authors name in the References section by default. How do I change this so where there are more than 3 authors, it should be in the form: ...
Amina Umar's user avatar
3 votes
2 answers
49 views

Spacing between mathrel and mathord same as between mathrel and mathopen

According to the table in TeX by Topic a thick space is inserted between a relation and an ordinary atom and thin one between a relation and an opening atom. where 0 is no space, 1 a thin space, 2 a ...
EuklidAlexandria's user avatar
0 votes
1 answer
23 views

Removing chapter number in novel class template

I am writing a document using a template that uses the novel class: https://www.overleaf.com/latex/templates/lix-novel-template/shnjdvjrpjtd The template adds "CHAPTER 1" (2, 3, 4...) before ...
user242399's user avatar
0 votes
0 answers
20 views

Preview does not appear in Sublime Text 4

I use Sublime Text 4 (4180) and LaTeX Tools on my Mac(M1, Sonoma 14.6.1) to write LaTeX documents. LaTeX Tools offers instant preview of math texts. It used to work without problem until the phantoms ...
Ken's user avatar
  • 101
2 votes
1 answer
30 views

Problem with using new command of href inside table

I am trying to create links to a website inside a table. The website url is long so I tried to create new command that includes the majority of the link. It work well as is but if inside of a table it ...
Tal Gonen's user avatar
0 votes
1 answer
15 views

Formatting inside the [prelim one column text] of \twocolumn

I am using the square bracket notation of \twocolumn[] to do a preliminary one column text before formatting in two columns. However I struggle to make style apply inside the preliminary area: Here is ...
Eric Fernandez's user avatar
0 votes
0 answers
34 views

How to get rid of the colored edges

I want to plot a figure like this with tikz/pgfplots: where the dark-grey lines are added as additional plots. The problem is, that in tikz I cant get rid of the colored edges between the faces: ...
binex6's user avatar
  • 17
0 votes
1 answer
40 views

Why is the graph not displayed in full?

I have this: \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{center} \begin{tikzpicture} \begin{axis}[ axis lines = middle, %axis equal, xlabel = $x$, ylabel = {$...
Diego Antonio's user avatar
3 votes
1 answer
56 views

LuaLaTeX, nodes disappear between insert_after and insert_before

I tried to replace " with french quotes and add unbreakable spaces ("mot" to «~mot~»). Unfortunately I do not understand why the nodes between the two spaces disappear with the ...
Maxime Chupin's user avatar
2 votes
3 answers
145 views

Long table to fit in two pages

I have the following table which is too long and needs to be split on 2 pages, but currently it is not split. I suspect that tabular inside tabularx causes the issue. How to fix this? \documentclass[...
Vika's user avatar
  • 553
0 votes
1 answer
28 views

How to reference tcolorbox title

The amsthm package has some really nice features regarding theorems numbering and referencing, but it lacks the visual flexibility I'm looking for. I'm looking for ways to reference my environments ...
vshp11's user avatar
  • 3
0 votes
2 answers
51 views

How to reproduce this bar chart in LaTeX using either pgfplots or luamplib?

I'm trying to recreate the attached bar chart using LaTeX, but I'm not sure which package would be more suitable, between pgfplots and luamplib. As you can see in the chart, there are multiple ...
Yusef Hamdellah's user avatar
1 vote
1 answer
31 views

eqparbox plugin, but without unnecessary tag

I need to define width of \parbox based on content size of that box. eqparbox doing exactly that (unnecessary things removed): \newcommand{\proove}[2]{\fbox {\eqparbox{#1}{#2}}} But it require ...
Швеев Алексей's user avatar
4 votes
2 answers
139 views

Defining a grid in tikz using setlength vs. explicitly setting a length parameter

I am trying to create a grid on a page using tikz that covers the entire page from one corner to another with a ratio of pagewidth/pageheigth. I managed to create such a grid as follows: \...
Markus G.'s user avatar
  • 2,777
0 votes
1 answer
35 views

Using `\input` inside documentation (.dtx) files

The different category codes active in .dtx files cause problems with commands that use \input inside them. An example is the \worldflag command from the worldflags package. Comments within included ...
karlh's user avatar
  • 826
0 votes
1 answer
38 views

Set font size after writing the text?

The TL;DR of what I want: Hi, I have what might be a slightly odd request that I'm not even sure is possible in LaTeX. But I figured it can't hurt to ask: I have some frame in Beamer like \begin{...
Addem's user avatar
  • 879
1 vote
1 answer
53 views

Tikz learning resources

Been putting off learning Tikz and CircuitTikz for a while now. Tried using some GUI's to design my diagrams but frankly none of them are very useful (clunky, missing tons of features etc.) I'm not ...
Will Gordge's user avatar
5 votes
2 answers
212 views

How can I get the bounding box of a path (drawn with hobby)?

I have drawn a blob using hobby following this question and would like to add an arrow denoting the span of my blob. I have tried following the answer to this question to no avail because the bounding ...
TheMargatron's user avatar
3 votes
1 answer
47 views

Paragraph indents dissapeared suddenly

At some point my paragraph indents dissapeared... I cannot recall when. Why is this happening? Here is a MWE that does not work for me MWE: \documentclass[a4paper,12pt]{report} \usepackage[document]{...
lukygee's user avatar
  • 91
0 votes
1 answer
44 views

Is it possible to save a notepad text (.txt) file to a Latex (.tex) file?

I am trying to compile and test a file in Latex/Domino using a text file in Notepad that has a script/code in it. Is it possible to convert the notepad txt file to tex somehow? Could a txt file be ...
Sierra's user avatar
  • 1
0 votes
1 answer
34 views

Add the prefix "Supplementary" to a subfigure when cross-referencing it (with "zref-clever")

This is a follow-up question to Add the word "Supplementary" to tables and figures, in a cross-referenced file, and How can I pass the name of a section from a tex file to another (with &...
Ommo's user avatar
  • 897
1 vote
1 answer
15 views

Understanding tabularx hsize specifications for extendable columns with relative sizings: Why ">{\hsize=.5\hsize\linewidth=\hsize}X"?

According to the official tabularx documentation, to size extendable X columns relative to each other, a preamble argument like this can be used: {>{\hsize=.5\hsize\linewidth=\hsize}X >{\hsize=1....
KIAaze's user avatar
  • 422
-2 votes
0 answers
37 views

Binary operation [closed]

5121 123 Help me to understand and find awnser the question. It's a binary operation and it is a very easy topic it's a number of numerical system that tell us about the unique or different symbol
Andrew Nnachi's user avatar
1 vote
1 answer
26 views

how to get a new zsavepos for each invocation of a command

In order to check when a margin overfills, I need to calculate the distance to the bottom. I hope I can do this with the \zsavepos command, but cannot see how I can have a new position determined for ...
user855443's user avatar
  • 1,188
4 votes
3 answers
171 views

Expansion in Latex3 when transforming an input and forwarding it to another function

There are still a lot of mystery around expansion in LaTeX for me, but even given that, there is something I don't understand in LaTeX3. Let's say (just for the example), that I want to test whether ...
Vincent's user avatar
  • 5,583
0 votes
0 answers
50 views

Symbol "^" inside math mode

I wanna to do sommething like: (m\n)|^m but i can't write symbol ^ inside math mode. \text{^} or \text{\^} also didn't work
Швеев Алексей's user avatar
0 votes
0 answers
14 views

Issue with * notation for macaulay2 code

When I type this code (from A. Oneto) \begin{lstlisting}[language=Macaulay2] perpId := method(); perpId (RingElement) := F-> ( P := ring(F); D := first degree F; L := for j from 0 to D ...
Abhiroop Sanyal's user avatar
0 votes
0 answers
23 views

Latex Hyperlinking on references is suppress on APA7 Document Type [duplicate]

I'm writting a document using apa7 document class (thats a restriction) but having the following issue all my references to any label creates the following warning: Package hyperref Warning: ...
Francisco Beltran's user avatar
0 votes
0 answers
21 views

Colored chapters in memoir cause page breaks before lists

Imagine that I try to make my chapter titles red in memoir. Then by inserting appropriate skips, I can get a page break between the heading and a list environment coming after (see example below). By ...
Gaussler's user avatar
  • 13k
4 votes
2 answers
107 views

package accents seems to be incompatible with Unicode-math

I have created the following MWE \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{accents} \usepackage{unicode-math} \unimathsetup{math-style=ISO} \begin{document} $\{\underaccent{\...
Ted Black's user avatar
  • 537
1 vote
1 answer
29 views

APA Style in Biblatex

Does Biblatex not support the APA citation style anymore? main.tex: \documentclass[12pt,a4paper]{book} \usepackage[natbib=true,backend=biber,style=apa]{biblatex} \addbibresource{references.bib} \...
user's user avatar
  • 113
1 vote
1 answer
24 views

Different language in citation appearing in csquotes's \foreignblockquote

Citations in a language other than that of my document do not appear correctly formatted in \foreignblockquote. Look at the example below: I'd like the citation on the third line to be formatted like ...
Paul Position's user avatar
0 votes
0 answers
38 views

Automate bibtex and pdflatex with TeXstudio [duplicate]

I'm referring to an older question here (but unfortunately I do not have the rights to comment or answer it to bring it up in thread again, therefore I'm posting a new question). So, I followed Thomas'...
Philipp Strasberg's user avatar
0 votes
0 answers
9 views

How to remove affiliation superscript in elsarticle class for single author?

I'm using the elsarticle class from Elsevier for my paper as follows: \documentclass[preprint,3p,number]{elsarticle} \title{Title} \author[1]{My Name}%\corref{cor1}} \ead{[email protected]} \...
pvti's user avatar
  • 135
0 votes
1 answer
32 views

Help with Adapting a LaTeX Template for scrlttr2

I have a LaTeX template originally created for \documentclass{article} that displays CSV data in a table. I would like to adapt this template to work with the KOMA-Script class scrlttr2 since I need ...
IH Pro's user avatar
  • 143
2 votes
0 answers
28 views

My beamer theme with ignorenonframetext option goes into emergency stop unless I specify \mode<presentation>

This code, that uses the default Madrid theme, compiles correctly: \documentclass[ignorenonframetext]{beamer} \usetheme[]{Madrid} \begin{document} \frame{\titlepage} \end{document} However, using my ...
robertspierre's user avatar
1 vote
0 answers
34 views

How to shrink interword spacing [closed]

I am using a font: \usepackage[T1]{fontenc} \usepackage{newpxtext} and I find the words simply too close together constantly, how can I increase the spacing? I tried \SetExtraSpacing [ unit = space ]...
xyz04's user avatar
  • 147
2 votes
1 answer
55 views

Avoid the space given by parskip if it goes on a new page

So, all along the code of my thesis I put blank lines between every mathematical environment, so it starts a new paragraph every time there is an equation. I did it because, since I'm using the ...
Marco Olivieri's user avatar

15 30 50 per page
1
2 3 4 5
5272