All Questions

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

(pgfplots) How to plot every Nth entry from a large CSV file? [duplicate]

I have a large csv file (20,000 entries) and I am having compiling issues. I figure a good way to solve this is to skip certain entries e.g. plotting only every 100th entry. However I am unsure how to ...
mathematurgist's user avatar
4 votes
3 answers
133 views

Expand \hbox to the width of parent \vbox

I have two \hboxes, one above another, inside \vbox: \documentclass{article} \begin{document} Some\vbox{\hbox{longer text above}\hbox{shorter text}}and some more text. \end{document} Which ...
Filip Ž's user avatar
1 vote
1 answer
23 views

How to add section number in Beamer miniframes?

I like miniframes in Beamer presentations, so I often use smoothbars outer theme. However, I would like to customize the miniframe Beamer style such that: there is no section name and subsection name ...
R. N's user avatar
  • 1,138
3 votes
2 answers
272 views

Adding a vertical line on an existing symbol to define a new one

I want to create a new simple symbol. Because that symbol will be frequently used in my essay, I hope it can be easily used(also for handwriting). My idea is to add one verticle line on an existing ...
IgnoreMeaning's user avatar
2 votes
1 answer
45 views

pgfplots filled contour with precomputed contour line coordinates

I'm using contour prepared to generate the contour plot as suggested by the manual (shown below). I would like to know the way to plot the filled contour with the precomputed contour line coordinates. ...
ZZZ YYY's user avatar
  • 23
2 votes
1 answer
60 views

Adjusting the title page in a thesis

I'm writing my MSc thesis and I'm facing some troubles. I have two supervisors. I need to list their names and affiliations side by side as shown in the attached screenshot. How can I achieve this? So ...
Hussein Eid's user avatar
0 votes
0 answers
43 views

Is it possible to back-reference the labels?

The backref option in hyperref package is useful to display where the references are cited. But this only works for \cite. Is it possible to do something similar for \label? A desirable realization is ...
MMM's user avatar
  • 123
0 votes
0 answers
26 views

Nomenclature, references and bibliography are not displayed after Latex compilation in arXiv

I have written a paper with Latex (overleaf) and submitted it to a journal. I would also like to publish a preprint in arXiv. Unfortunately, arXiv does not seem to allow pdf uploads but just wants the ...
PeterBe's user avatar
  • 136
3 votes
2 answers
118 views

I want to number two formula in equation, aligned and split environment

This is my code: \begin{equation} \begin{aligned} &\begin{split} \max\,\, z=&P_1d_1^-+P_2d_2^-+P_3(240d_3^-+220d_4^-+250d_5^-)\\ &+P_4(240d_6^-+220d_7^-+250d_8^-)+P_5d_9^-+...
MorningKay's user avatar
0 votes
0 answers
19 views

Problem with flashcards height

I am looking to adjust the size of my flashcards using the flashcards package. However, I am encountering an issue when I try to add a title to my flashcard. As you can see, adding the title reduces ...
KroneKR's user avatar
0 votes
0 answers
14 views

Glossaries Acronyms or something else?

I want to have (something like) a glossary with "3 columns" ie. not just word and meaning, but word, single letter shortform, and meaning. The usage I want is that in the running text I ...
Rushi's user avatar
  • 313
1 vote
0 answers
20 views

While using the declaretheoremstyle command, what is the argument for the body to be Roman font?

I am using the thmtools package to declare a theorem style. I want to declare a theorem style with body font the Roman font (like the body font in \theoremstyle{definition}). I have read that the ...
Asigan's user avatar
  • 209
4 votes
2 answers
168 views

How to color a cell in easytable

\documentclass[border=20pt]{standalone} \usepackage[thinlines]{easytable} \usepackage[table]{xcolor} \begin{document} \huge \begin{TAB}(e,2cm,2cm){|c:c:c:c:c|}{|c:c:c:c:c|} \cellcolor{black}1 & ...
Vinod's user avatar
  • 1,391
3 votes
1 answer
83 views

Table Missing Values

I'm trying to improve my ability to read math and physics equations, so I borrowed this code from someone on GitHub. I'm a bit of a latex novice. I was having issues getting the document to build at ...
Jonathon Anderson's user avatar
0 votes
0 answers
24 views

How to change the playback speed of a video in media9?

I use following code to include a video in a beamer slide. However, it seems that 3Dplayspeed does not modify the playing speed. What is wrong? \documentclass{beamer} \usepackage{media9} \begin{...
Karlo's user avatar
  • 3,257
0 votes
1 answer
26 views

Numbered theorem environment problem

I am currently trying to work with theorem environment and labelling the theorems correctly, yet I cannot solve this issue: Here is my minimal working code: \documentclass[12pt]{article} \newtheorem{...
TeX_User's user avatar
0 votes
0 answers
43 views

Replicate graph [closed]

I need this chart, but I can't replicate it exactly.
Jorge Guerrero Nuñez's user avatar
1 vote
1 answer
33 views

how can I auto number quantikz

I want quantikz to be able to number automatically,like this: which I currently use align \documentclass[12pt,reqno]{report} \usepackage{amsfonts} \usepackage{stmaryrd} \usepackage{amsmath} \...
Guanyu Li's user avatar
2 votes
1 answer
46 views

Getting sans-serif math only in sans-serif mode

I know how to get sans-serif math for the whole document—that is easy. My question is how do I get sans-serif math only when I am in a sans-serif mode? I would like the math font to be serif normally, ...
Abdullah Mustafa's user avatar
4 votes
0 answers
84 views

Error reproducing an example

I am trying to reproduce the example from this awesome article (link). This is my first code in Metapost and I am getting an error running the following code: prologues := 3; % set up MetaPost for EPS ...
Mac's user avatar
  • 53
5 votes
1 answer
93 views

How can I get `f(2/3) = 20/9` and `f(4/3) = 16/9` of the function f(x) = 3 *x^3 - 9*x^2 + 8*x when I use pgf/tikz

Based on this answer, I am trying to calc f(2/3) and f(4/3) of the function f(x) = 3 *x^3 - 9*x^2 + 8*x, my code \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{fpu} \usepackage{...
Thuy Nguyen's user avatar
  • 1,134
1 vote
1 answer
31 views

beamer section slide with name in colorbox centered in the frame

I'm working on a presentation for my PhD defense and planning on experimenting with beamer. I'm not an expert with LaTex and wanted to know if with \usetheme{Boadilla} it comes an option to set a ...
Matteo's user avatar
  • 323
0 votes
0 answers
27 views

About list in LaTeX [duplicate]

I want to know what this symbol in the brown-like text in this picture and how to make them in LaTeX? I've seen it many times but never know what it is. Sorry if I would make any mistale in this ...
Ky Que's user avatar
  • 11
2 votes
1 answer
49 views

Can you get a full bleed image with memoir without using geometry?

Is it possible to add a full bleed image to a page, using the memoir class, without resorting to using the geometry package or to manual adjustment? The best option I've found so far is to manually ...
SMuJ's user avatar
  • 23
3 votes
1 answer
139 views

Automatically giving nodes the name that is also used as their label

I draw a lot of connections between nodes by hand. For this the easiest way is to give the nodes the names that correspond to their node labels. The node that is displayed as clause should also have ...
Stefan Müller's user avatar
4 votes
1 answer
74 views

Increasing the distance between tiers in forest

I try to get more space between the penultimate line and the line at the bottom in the following type hierarchy. \documentclass{article} \usepackage{forest} \useforestlibrary{linguistics} \...
Stefan Müller's user avatar
1 vote
1 answer
39 views

I couldn't compile the codes, shows error of usetkzobj

Question: Getting errors while compiling the below codes. The error is about usetkzobj{all}. I am not able to solve this error. MWE: \documentclass{article} \usepackage{pgfplots} \usepackage{tkz-...
SandyM's user avatar
  • 2,881
4 votes
1 answer
72 views

PGFPlots library fillbetween causing a bunch of "Missing Character" warnings

When trying to shade the area between 2 paths using the fillbetween pgfplotslibrary, I'm getting the following warnings: Missing character: There is no . in font nullfont! Missing character: There is ...
msom's user avatar
  • 43
0 votes
0 answers
28 views

Vietnamese warnings with babel and biblatex

\documentclass{article} \usepackage[T5,T1]{fontenc} \usepackage[vietnamese, british]{babel} \usepackage{csquotes} \usepackage{biblatex} \begin{document} \foreignlanguage{vietnamese}{Ngô Bảo Châu} \...
Gargantuar's user avatar
  • 1,231
1 vote
1 answer
43 views

Tikz graphs not aligned

I've been trying to figure the solution to no avail. I have five graphs, first four are in a 2x2 shape and last one is below them. Issue is that one of them has much higher values on y-axis which in ...
mm6643's user avatar
  • 25
0 votes
0 answers
22 views

Is there a way to automatically set the label to caption of a figure / table? [duplicate]

I use a lot of figures and tables in each document a write for my studies. After a while it gets pretty cumbersome to always write both the caption and the label seperately. Since most of my captions ...
Zedssad's user avatar
  • 123
0 votes
0 answers
15 views

How can I continue the footnote labelling in info boxes in mdframed?

I have several information boxes in a text. My code looks like this: \documentclass{article} \usepackage{blindtext} \usepackage[framemethod=tikz]{mdframed} \mdfdefinestyle{graybox}{ linecolor=gray, ...
Weiss's user avatar
  • 97
0 votes
0 answers
25 views

Memoir header marks are blank when page style is changed within the document

I copied from the Memoir documentation some very simple and working code to modify headings. It seems like \rightmark and \leftmark fail to resolve if the page style is set temporarily or changed in ...
Shevvek's user avatar
-1 votes
0 answers
40 views

What should be the determinant of a diagonally dominant matrix with all positive entries? [closed]

Assume that we have an n by n diagonally dominant matrix with all positive entries. Is it possible for this matrix to have negative determinant?
shawn122's user avatar
1 vote
0 answers
26 views

Adjust mhchem bond style

I prefer using mhchem where possible (e.g., stoichiometric equations). However, printing of double and triple bonds seems off-centre and too compact. Is there any way to modify (or introduce a new ...
Alexander's user avatar
0 votes
1 answer
72 views

How to use the "\textattachfile" with spaces in their path?

How to use the "\textattachfile" with spaces in their path? i used attachfile2 to put something into PDF document,When there are spaces in the file name, it Unable to compile. I tried many ...
テンテン's user avatar
0 votes
0 answers
18 views

LyX hyperref boxes wrong placement

I started using LyX a while ago and soon I got this strange problem. The hyperref boxes doesn't cover the actual title in the table of contents. I only used LyX's PDF properties -> Use hyperref ...
Patrik Gubó's user avatar
1 vote
1 answer
38 views

semiconductor supply chain flowchart

I need to recreate a flowchart as faithfully as possible to the one depicted in the image. Unfortunately, my knowledge of LaTeX is still basic, and with the lines of code I have written, we are not ...
Yusef Hamdellah's user avatar
0 votes
0 answers
19 views

A blank space or character after a reference when using kaobook (biblatex) sidecite, but no space anywhere in the text nor in the used library

I have a fallowing blank space after \sidecite citation (the one before the dot and after ciation), even though there is no space defined anywhere. The sidecite in the kaobook is defined as: % ...
Daniel Wiczew's user avatar
0 votes
0 answers
33 views

\draw arrows convergence

I want to make the tips of the arrow illustrating the enerhy gap level converge with each other with a little bit of space between them, just like I drew. Also, I would like the arrows to be thicker. ...
Yusef Hamdellah's user avatar
3 votes
1 answer
128 views

LuaLaTeX: change font id does not work with a non default font

I try to change the font from the Lua side. I tried to change to small caps (see Obtain small caps font from OpenType font when diffining a `\font`, thanks to egreg's code) but, whereas everything ...
Maxime Chupin's user avatar
0 votes
0 answers
19 views

TLMGR retry in a different mirror

I'm using TLMGR to build the docker image for my project. Sometimes, the command TLMGR is crashing due to an issue in the CTAN mirror. In my case, I was getting the following error: /opt/texlive/...
Victor Mayrink's user avatar
1 vote
1 answer
35 views

Changing parentheses in footnote-dw

I am trying to change the parentheses around the "see notes" string (wie Anm. in German) to square brackets. Judging from the source code of footnote-dw (https://mirrors.ctan.org/macros/...
aretaon's user avatar
  • 11
1 vote
0 answers
16 views

Automatically citing a first bibliography in a second bibliography

Short version I have a document where the bibligraphic information (from a .bib file) is printed twice, first in chronological order (with labels 1, 2, etc.), and then a second time in alphabetical ...
Greg Martin's user avatar
0 votes
1 answer
29 views

avoid using the information in the "Extra" section of Zotero

I'm using biblatex and Zotero to manage reference on my paper. However, I keep adding the information stored in the "Extra" section of Zotero to the bibliogrphy, so the reference became like ...
some's user avatar
  • 1
0 votes
0 answers
33 views

Latex error when importing a stacking regression table from STATA

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
0 votes
0 answers
56 views

Is there a good illustration to accompany a short article about LaTeX?

I'm doing a short recommendation for a Swedish teacher magazine, about letting the pupils learn LaTeX. I'd need some kind of illustration for this. Perhaps a rather complicated formula, some colour ...
Wilhelm's user avatar
  • 75
-2 votes
2 answers
40 views

setting stem color in musixtex

For kits it is needed to setting stem color in musixtex (lets say black). The basic code is as follow: \documentclass[border=8pt,varwidth]{standalone} \usepackage{tikz} \usepackage{musicography} \...
ABV's user avatar
  • 449
0 votes
1 answer
85 views

TikZ-PGF surface edges smoothing

I have this surface I plotted using Latex but the edge is ragged. Anyone knows how to fix that? I tried increasing the number of samples but the raggedness persists and the computing time becomes too ...
frencho's user avatar
2 votes
1 answer
57 views

End-to-end numeration of exercises in book

I want to do end-to-end numeration for exercises in LaTeX. The solution that I found: \chapter{Chapter 1} \begin{enumerate} \item First exercise \item Second exercise \end{enumerate} \chapter{...
nyekitka's user avatar
  • 125

15 30 50 per page