All Questions

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

Workaround for out of memory

I'm trying to generate a PDF in R with this code tools::texi2pdf("Genesmsa.tex", clean=TRUE, quiet = TRUE, texi2dvi = getOption("texi2dvi"), texinputs=system.file(&...
Shika93's user avatar
  • 371
0 votes
0 answers
5 views

Tagging of Included Graphics

Assume we want to automatically tag an included picture, say life-of-brian.eps, with a caption, say A Monty Python movie.. According to https://latex3.github.io/tagging-project/documentation/prototype-...
Svend Tveskæg's user avatar
0 votes
1 answer
14 views

How to replicate this curly brace

I'm a novice when it comes to TeX. Does anyone know how to get the exact curly brace in the pic? I've searched everywhere and found nothing. I just like how it looks, nothing more. ;-) Thanks in ...
Karabo Dibakoane's user avatar
0 votes
0 answers
17 views

Best Practice for Inline Math in LaTeX: \( ... \) vs. \$ ... \$

I'm currently writing a mathematical article for a journal in LaTeX and I'm trying to determine the best practice for writing inline math. I've seen both \( ... \) and $ ... $ used to denote inline ...
L.L's user avatar
  • 145
0 votes
1 answer
11 views

Wrong numbering in theorems environment

I'm using Beamer. Why Example environment has wrong numbering? It should be Example 1, 2, 3, ... but it's not (see code below). How I can fix this? \documentclass{beamer} \setbeamertemplate{theorems}[...
Carlos's user avatar
  • 3
1 vote
1 answer
21 views

Libertinus Math with pdfLaTeX?

When used with lualatex, the libertinus package sets up both text and math fonts. With pdflatex, only the text fonts seem to be set up. \documentclass{article} \usepackage{libertinus} \begin{...
schtandard's user avatar
  • 15.4k
1 vote
1 answer
17 views

Deleting the comma before the "and" before the final author in a list of authors

I have the following code: \documentclass{article} \usepackage[ sorting=nty, citestyle=authoryear, backend=biber, bibstyle=authoryear, autolang=hyphen, maxbibnames=99, ...
Weiss's user avatar
  • 109
0 votes
1 answer
12 views

New command optional arguments for sub, supra, and argument of an operator

I'm trying to specify a command that allows to display an operator, its evaluation at a certain argument, and add sub and supra indexes. That is, the commands \f \f{a} \f{a}{i} \f{a}{i}{j} Should ...
Aguazz's user avatar
  • 1
2 votes
1 answer
20 views

cleveref not working for label after caption in longtable

Here is a simple example of the problem: \documentclass[letterpaper,11pt,hidelinks]{article} \usepackage[nameinlink]{cleveref} \usepackage{longtable} \usepackage{booktabs} \begin{document} \...
happy_biker's user avatar
0 votes
0 answers
14 views

Given date in Gregorian, convert to localedate

I have this year in Gregorian calendar \localedate[calendar=gregorian]{620}{01}{05} with the following Babel setup \usepackage[english, bidi=basic, layout=counters tabular]{...
AvidSeeker's user avatar
0 votes
2 answers
19 views

How do I get my caption at the bottom of a longtable in ThreePartTable , as I keep getting a noalign error?

I cannot work out how to put a table caption and label at the bottom of a multiple page table created with ThreePartNotes and longtable. The format I must use for my tables is for the caption to be ...
Michelle's user avatar
  • 551
0 votes
0 answers
9 views

LyX 2.4: How to paste text without line breaks?

Before LyX 2.4, the default "copy text from elsewhere and paste in LyX" behavior was to kill any line breaks. Now in LyX 2.4, the default behavior is to preserve the line breaks (which is ...
user182601's user avatar
3 votes
0 answers
25 views

Small bugs with a lightweight xcoffins-based mdframed alternative

I've recently tried to add page-break support to a lightweight xcoffins-based mdframes alternative I've made that started off with Put an xcoffin around an environment's content It essentially ...
tecosaur's user avatar
  • 1,083
0 votes
0 answers
16 views

How to ignore Arabic font for line spacing in inline Latin and Arabic text with Xelatex and babel?

I have a document with inline Latin and Arabic text. I'm using Xelatex and Babel. For more information, I'm actually using Bookdown/Rmarkdown which uses pandoc so I'm somewhat, but not completely, ...
coderoo's user avatar
0 votes
0 answers
9 views

Overleaf Github Synchronization Error

I get this error when I try to push to or pull from github: "Must supply either tree.sha or tree.content. Request will be rejected if both are present." How could I fix this? There doesn't ...
berlaga's user avatar
2 votes
1 answer
34 views

How to get rid of the default, i.e., "plain", page numbers?

I'm trying to create a template for my math course and I'm facing some problems as I'm not experienced in working with LaTeX. This is the MWE : \documentclass[a4paper,9pt,twocolumn, landscape]{...
Mar1One30's user avatar
1 vote
1 answer
27 views

Conditionally omit protocol from hyperlink texts based on URL (Cambridge University Press style)

The Cambridge University Press style guide mandates the following formatting for URLs: ’http://’ and ‘https://’ should not be included before ‘www.’. However, if a URL does not include ‘www.’ then ...
Psychonaut's user avatar
  • 3,184
0 votes
0 answers
16 views

(MLA/biblatex-mla) How to edit \printbibliography to have "Works Cited" be properly formatted?

I've reworked my question and finally narrowed down the problem. So, what the problem seems to be is \printbibliography tries to have "Works Cited" flushed to the left, and I want this to be ...
Ferrius Undermine's user avatar
0 votes
0 answers
21 views

Why do I generate Zig Zag lines instead of a surface when attempting to plot a contour plot in latex using csv data?

I am trying to generate a contour plot from a the following csv file unCon01new10.csv. When I generate the contour plot using Mathematica it looks like . When I try using the same csv file to generate ...
Quantum Kid's user avatar
2 votes
0 answers
26 views

How to write out multiple text files from multiple instances of LaTeX environments for Literate Programming

Did find: Different approach to literate programming for LaTeX but it's focused on writing out LaTeX .cls and .sty files --- I would like a simple solution which: typesets the code writes out the ...
WillAdams's user avatar
  • 7,237
1 vote
0 answers
29 views

Non-breakable space before every inline math

What I don´t want: When I write a sentence like One is $1$., I don't want Latex to break the line before the inline math (that particular example is horrible cause the new line would start with 1., ...
NaiveQuestion's user avatar
0 votes
0 answers
16 views

Fontspec fails to find .ttf file at specified path Windows

I have a custom font in a .ttf file saved say at this path: "D:/CustomFonts/myFont.ttf" I therefore try to do something as follows: \documentclass[10pt,letterpaper,final]{article} \...
Mstislav Keldysh's user avatar
2 votes
2 answers
42 views

Tabular alignment with cline

I would like to move the "P(A | B) = " to the same line as the cmidrule, so that the equals sign aligns with the division line. How can I do this? MWE: \documentclass[letterpaper,12pt,...
StatsSorceress's user avatar
1 vote
1 answer
24 views

Multispan cells in longtblr

I'm trying to use \SetCell to create multi-row cells in a longtblr environment. It's working very well, except in the first column, where the multispan options don't work - the cells remain unmerged. ...
Coretta's user avatar
  • 13
0 votes
1 answer
10 views

komacv \cventry reduce margin on the right

I am still trying to create a nice CV with komacv, one think I am still not really like is the with of \cventry. What happens now is that i get a line break even there are round about 7.5 cm left. ...
Vlad Drakul's user avatar
0 votes
0 answers
13 views

Editing bst file to use the website name as the author [duplicate]

I am using the apalike.bst format for referencing, however in my thesis I need to cite some websitess that do not have an author, so I need to include the webpage name as the author, per request. For ...
Martin's user avatar
  • 1
1 vote
0 answers
23 views

Problem using mmap package in footnote

For example, \documentclass{article} \usepackage{mmap} \title{} \author{} \begin{document} \maketitle \footnote{test} \end{document} The characters map to \mathrm{t}\mathrm{e}\mathrm{s}\mathrm{t}. ...
hbghlyj's user avatar
  • 211
0 votes
0 answers
7 views

Beamer Lyx, problems with second slide without seperator

I am trying to create a second slide using beamer in lyx. I have tried everything, pressing enter to insert seperator, or using seperator-insert command... nothing works. Once I click on Frame and ...
student_20232023's user avatar
0 votes
0 answers
17 views

"An associated PostScript font (required by Matplotlib) could not be found for TeX font 'zptmcm7y' in

An associated PostScript font (required by Matplotlib) could not be found for TeX font 'zptmcm7y' in 'C:/Users/Admin/AppData/Local/MiKTeX/fonts/map/pdftex/pdftex.map'; this problem can often be ...
astra inclinant's user avatar
0 votes
0 answers
19 views

mathastext missing characters

I am using mathastext package (and lualatex or xelatex) but it misses to use some characters from my personal font. My code is just using: \documentclass[12pt]{article} \usepackage[no-math]{fontspec} ...
javier lazaro's user avatar
3 votes
3 answers
86 views

How to access specific entry from list of arguments, when index is provided as a letter?

Given a version of an exam paper via \dev\VERSION{C} (C for the third version), I want a command \variant{{v1}{v2}{v3}{v4}} to produce v3. I realise that I am effectively trying to access an item from ...
bjoseru's user avatar
  • 163
0 votes
0 answers
25 views

How to treat with a long title of a chapter in a book so that it can fit into one line in the header and not to break into 2 lines

I'm writing my thesis and I'm facing a trouble. The trouble is that the title of a certain chapter in my thesis is too long and it breaks into two lines in the header of the pages of the chapter (next ...
Hussein Eid's user avatar
1 vote
0 answers
54 views

Composing a letter with LuaTeX

In this YouTube video https://www.youtube.com/watch?v=E7Xfocy40wg, BamDone showed how to compose a simple letter using Typst. I reproduced their document in LuaTeX in the following way. % Page layout ...
Ronald's user avatar
  • 11
1 vote
1 answer
32 views

Package stix with and without professionalfonts

Using \texttt{professionalfonts}, how can I put "2" equal to "$2$" (mathmode) just as in the absence of \texttt{professionalfonts}? Code is the following: \documentclass{beamer} \...
Carl Anderson's user avatar
0 votes
0 answers
20 views

issue with longtable and siunitx, invalid number 'DE' [closed]

I'm working on a Supplementary Table 4 × 279 which spans over 10 pages. Essentially, everything seems to work well but I'm getting an error which prevents the header of the last column to be printed ...
Matteo's user avatar
  • 365
1 vote
1 answer
13 views

Changing color of title in theorem environment (Beamer)

How can I change the color of the title of example from green (default) to red? Here it is my code: \documentclass{beamer} \usepackage{etoolbox} \usepackage{xcolor} \setbeamertemplate{theorems}[...
Carl Anderson's user avatar
0 votes
0 answers
9 views

list of labels in a separate file out of input files included in a main file

I was trying this amazing solution displayed for the question Can I get a list of labels written to a separate file, or at least in one place in the document? in a project file (main with several ...
qntcmn's user avatar
  • 41
3 votes
0 answers
41 views

Adjust kerning for garamond math

I would like to adjust the kerning between some glyphs, since imo e.g. '(' and 'f' are typeset way too close. % !TEX program = lualatex \documentclass{minimal} \usepackage{fontspec} \usepackage{...
JoN's user avatar
  • 364
0 votes
0 answers
28 views

Solid of Revolution around a line y=constant or x=constant using pgfplots

I have a solution for this problem, but wondering if its the right way to do it or if there is a better way. I'm creating several plots on solid of revolution. Some of the plots requires the function ...
Fritz Adelbertus's user avatar
0 votes
0 answers
19 views

Referencing a word in header with a command using Beamer

In Beamer, I want to reference a word of my first slide on subsequent slides using some command. How can I do this? The code is the following: \documentclass{beamer} \makeatletter \newenvironment{...
Carl Anderson's user avatar
0 votes
0 answers
13 views

Disable \BreakableUnderscore in a tcblisting

Consider this MWE for a tcblisting.At first sight it seems to be working properly, as the \tl_use:N\l_tmpa_tl produces the correct output. However, this is only because TeX interprets the \l_tempa_tl ...
yannisl's user avatar
  • 118k
0 votes
1 answer
40 views

"Undefined" error with tcolorbox despite being installed

Issue Today I switched over to compiling LaTeX locally as opposed to Overleaf, and I am having issues with running the following code: \documentclass{article} \usepackage{tcolorbox} \begin{document}...
Aathreya Kadambi's user avatar
0 votes
0 answers
25 views

Listings hook to detect whether the current line contains a colon?

TL;DR: I want to use the listings package for typesetting YAML snippets. For example: \begin{lstlisting}[language=yaml] key: value list: - value1 - value2 env: key1: value1 key2: value2 \end{...
ErikMD's user avatar
  • 101
0 votes
0 answers
22 views

Installing Literaturnaya font for Tectonic

Is it possible to install the literaturnaya font, so that it can be used by the tectonic compiler? https://www.ctan.org/tex-archive/fonts/cyrillic/literat/
Mstislav Keldysh's user avatar
3 votes
1 answer
44 views

Adding additional edges in the forest

I have the following graph created by "forest" \documentclass[tikz,border=5pt]{standalone} \usepackage{forest} \usetikzlibrary{arrows.meta} \begin{document} \begin{forest} for tree={...
Vika's user avatar
  • 487
1 vote
1 answer
48 views

ConTeXt won't find my fonts

I would like to use my own local fonts in my ConTeXt documents. They are stored in /usr/local/share/fonts/ like so: ├── cooper │   ├── Cooper-BlackItalic.otf │   ├── ... ├── Vollkorn │   ├── Vollkorn-...
impresso's user avatar
0 votes
0 answers
48 views

Compiling slow!

I have slow compiling, I think it is because these following reasons: I type in Kurdish (Alphabet similar to Arabic), so I have to compile with XeLaTeX. Including a lot of pdf (graphs) files. Any ...
Miry Kurd's user avatar
0 votes
0 answers
27 views

No counter 'refsection' defined. \defcounter {refsection}{0}

I'm new to latex, and i've encountered a following problem: if I add natbib package, I get an error: No counter 'refsection' defined. \defcounter {refsection}{0} ChatGPD says it's a conflict with ...
Asikaz's user avatar
  • 1
3 votes
2 answers
162 views

How to move the color blocks into the red frame region marked?

I'd like to use the area below the two first subfigures to place the color blocks, how can I achieve this effect? The mwe is following \documentclass[aspectratio=2013]{beamer} \usepackage{tikz,...
Meiu's user avatar
  • 558
0 votes
1 answer
46 views

How to prevent lost float error in table, in poster environment?

I understand there are a lot of "Float lost" questions already. However, I seem to be unable to figure this one out on my own. I'm using a template from overleaf for a poster, and I'm not ...
underdog987's user avatar

15 30 50 per page
1
2 3 4 5
5246