Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
1 vote
1 answer
63 views

gt table output in quarto PDF duplicates header text and places it to the left of table body instead of above it

Here is a simple qmd file. --- title: "Untitled" format: pdf --- ```{r, echo=FALSE} library(gt) exibble |> gt() |> tab_header(title = "title") ``` My output looks like ...
John J.'s user avatar
  • 1,845
0 votes
1 answer
45 views

splitting modelsummary in latex to several pages

I use modelsummary to export regression tables to latex. However my normal workflow is as follows: data("mtcars") library(modelsummary) modelsummary(lm(mpg~factor(disp)+factor(gear), ...
Sulz's user avatar
  • 503
-2 votes
0 answers
39 views

Issue with .bib references when submitting to arXiv [closed]

I've been trying to submit a manuscript to arXiv, containing a .bib and a .tex file, and I receive this error: Arxiv_Manuscript.tex => Arxiv_Manuscript.pdf [FAILED] ...at step "bibtex_run"...
Jakub Slapek's user avatar
0 votes
0 answers
32 views

Launching Cygwin (mintty.exe) from Windows pdflatex (via shell escape) actually launches Windows' command prompt?

Disclaimer: This has been crossposted from the issue I opened on mintty's GitHub; I didn't really know whether to post it there, on UNIX Stack Exchange, or TeX Stack Exchange, since this involves ...
Grass's user avatar
  • 101
2 votes
0 answers
29 views

Forcing Markdown headers to custom numbering

I am trying to generate custom-named headers in PDF files from Markdown. I am using LaTeX and the Eisvogel template. I want to edit the numbering of the Markdown headers, i.e., the single hash (#), ...
Kerry Cox's user avatar
  • 121
Tooling
0 votes
1 replies
45 views

How to have VS-code open latex project folder and pdf

I run a mac, and currently I'm set up so that when I double click on a main.tex file it opens in VS code. This is nice, but most of the time, I'd prefer it to open the entire folder in which the main....
Jack's user avatar
  • 161
1 vote
0 answers
38 views

How to achieve visual cursor movement in RTL String in VSCode

Is there a way to configure VSCode editor so that the cursor movement in RTL (right-to-left) strings in the editor would be visual rather that logical, i.e. so that once the cursor is in an RTL part ...
HiG's user avatar
  • 11
1 vote
1 answer
105 views

Problems creating a PDF with all truetype fonts

I'm working on a program to create a PDF of all TrueType fonts. The program causes an error relating to the Tooth&Nail.ttf font which prevents the PDF from being created. Other fonts produce ...
ckx's user avatar
  • 130
-1 votes
1 answer
61 views

Suppress latex warnings in vim-latex for package robust-externalize [closed]

I use vim-latex to edit LaTeX files. When compiling, usual warnings are suppressed. If I use the package robust-externalize, they are not: I get a couple of (useless) windows, one of which says /usr/...
brad's user avatar
  • 171
0 votes
0 answers
13 views

MACTEX bbl mismatch?

I cannot get appropriate output on two bib file entries (actual bib file is about 1000 lines). The output line does some backspace and is overwriting author names. Must be something wrong there, but I ...
BenJ's user avatar
  • 53
0 votes
0 answers
158 views

MiKTeX crashes with EPS

Would anybody know why does my image (EPS) causes LaTeX to crash? \documentclass [a4paper, 10pt] {article} \usepackage [brazilian] {babel} \usepackage [ansinew] {inputenc} \usepackage [T1] {fontenc} \...
Marcus's user avatar
  • 469
0 votes
0 answers
39 views

TexStudio macro running python script but writing return string in message box

I make my drawings in Krita while I write my report in TexStudio. In Krita I select part of the drawing and put it on the clipboard. I put my cursor in the .tex file at the desired position and run ...
noste99's user avatar
  • 385
3 votes
1 answer
149 views

Merge columns into multi line cells

In RMarkdown, I need to knit a table where columns A and B will be merged (if B is not null); in the merged columns, texts from A and B must be in different lines and styles. All columns must have ...
jfronc's user avatar
  • 23
0 votes
1 answer
71 views

Is there a way to generate HTML and PDFs with selectable text in pandoc?

I am writing some documentation in Pandoc Markdown, and I would like a diagram to have selectable text in both the HTML and PDF output. I made the diagram in draw.io, so I can export it as a PDF or ...
chrism99's user avatar
0 votes
2 answers
76 views

How do I add a \usepackage line to the generated latex from an XSL when using Saxon 12?

Using Saxon 12.8, I can compile an XML source to a TEX file. I am using the XSL file for Latex from TEIC/Stylesheets to do this. My XML source however has some math that will need the amsmath package. ...
SO Stinks's user avatar
  • 3,465
1 vote
1 answer
70 views

R Markdown latex/pdf output conditional formatting with kableExtra outputting latex commands without evaluating them

Hard to come up with a handy short title for this question, sorry. Background and Goal I'm working on a PDF report using RMarkdown, and have need to conditionally format one of my tables. I've managed ...
Morrigan's user avatar
0 votes
1 answer
39 views

Using structureitalicserif in tcolorbox, tcbox [closed]

I am using Beamer with the fonttheme structureitalicserif. I would like to have the same font in my tcolorbox titles. I haven't been able to find anything in the manuals nor online. Is this possible? ...
dmorg's user avatar
  • 107
0 votes
0 answers
52 views

Combine Latin and Arabic/Hebrew script in pandoc to latex

I have a bunch of texts in pandoc which are generally written in English, but also contain Arabic and Hebrew text. The Hebrew text is just running text; as for Arabic, sometimes an Arabic character is ...
bulbul's user avatar
  • 80
0 votes
0 answers
40 views

Sublime: Shortcut to always run specific group or file

I Always work with 3 windows for run a Latex file, in a specific group using Tinitex or Knitr in R (Repl). In group 3 include commands (set working directory and name file latex) to render or compile ...
Rodrigo_BC's user avatar
1 vote
1 answer
49 views

Seaborn fig_size = textwidth: figure much smaller than expected

I'm having an issue with setting the figure and font sizes in my seaborn plots to make sure that everything is the expected size and can be pasted into a Latex file for publication. Fig_size is set to ...
RBG's user avatar
  • 81
0 votes
0 answers
27 views

suggestSelection recentlyUsedByPrefix not working with James-Yu/LaTeX-Workshop

if I set "editor.suggestSelection": "recentlyUsedByPrefix" in my setting.json file it does not seem to work with James-Yu/LaTeX-Workshop. The ordering of suggestions is unchanged. ...
Nighel's user avatar
  • 171
1 vote
2 answers
109 views

How to change the power of two to be same font as rest of axis

I wish to use the default Pdflatex font (which I understand to be computer modern) for all of the text in my plots, as this is the same as I am using in my report. In an effort to have my figures be ...
simply_a_student's user avatar
0 votes
1 answer
163 views

Create a line type in LaTeX/TikZ as -\- and |-| that goes between two points [closed]

It is usually a problem to draw stepped lines between two points (A) -- (B). I created a macro to do it, but it would be more elegant if there was a "line type" that will take care of it, ...
Benito R. Fernández's user avatar
0 votes
0 answers
40 views

How to add labels to definition environment in bookdown and reference them correctly?

In R Bookdown, I would like to refer to a definition: <!-- body or .Rmd file --> The first definition is Definition \@ref(newterm) below: ::: {.definition #newterm name="new def 1"} ...
NM_'s user avatar
  • 2,039
2 votes
1 answer
79 views

Custom div class in Quarto beamer output

I would like to know if it's possible to create a custom div class in a Quarto document with a beamer output format. I have tried with adding a custom environment with include-in-header: preamble.tex, ...
Maël's user avatar
  • 53k
2 votes
1 answer
228 views

Using different tcolorbox colors with minted, depending upon the language

I am using minted to display my code in a LaTeX document. Those codes are displayed inside a tcolorbox. For that, I am using this : \documentclass{article} \usepackage{minted} \usepackage{tcolorbox} ...
InsideLoop's user avatar
  • 6,297
2 votes
0 answers
48 views

Matplotlib compiled .pgf output blurry

I am generating .pgf plots in matplotlib. Here a minimal example: import matplotlib.pyplot as pyplot import numpy.random as random pyplot.matshow(random.random((20, 20)), interpolation="none&...
schade96's user avatar
  • 344
0 votes
1 answer
70 views

Сonfusion with module versions in lua: 5.1 module version into 5.3 interpreter

I need to use a SQLite database with Latex. After some searching, I came to the conclusion that the best way is to use LuaLatex with the luasql-sqlite3 module. The installation required me to install ...
Nikulok's user avatar
  • 89
1 vote
0 answers
76 views

Pandoc - user variables in included/inputted .tex or .sty files

I've setup an apparently quite unique setup in my Pandoc. I'm using a latex template to convert markdown documentation into a styled PDF. My intent is not to directly create my own template. I want to ...
Christoph Pelzer's user avatar
1 vote
0 answers
30 views

Unexpected Content Placement in PDF Rendered from Quarto Document

When rendering a PDF from a Quarto document (using tinytex) content is showing up in unexpected places. I have containers that create essentially a 3-column layout with an image in the first column, a ...
Kelly Ireland's user avatar
1 vote
1 answer
119 views

Solid square in a proof

A similar question has been asked before but, I believe, I am trying something slightly different as I am trying to make adjustments using renewenvironment. I am trying to obtain a solid square at the ...
Dan317's user avatar
  • 653
1 vote
1 answer
152 views

Is there a way to partially remove minted highlighting in LaTex?

I am using LaTeX for writing a thesis, including the package minted to highlight code. In my case, it is Razor code, which means a mixture of html and C#. The following code is an example for my ...
Manuel's user avatar
  • 125
1 vote
1 answer
122 views

Changing the default colours and styles of equations using tcolorbox

I've been experimenting with the tcolorbox to create some LaTeX documents. It is a wonderful package but I am struggling to see how to change the default colours around the displayed equation given in ...
Dan317's user avatar
  • 653
0 votes
0 answers
52 views

lualatex rendering error: (pdf backend): cannot open file for embedding

I'm trying to run tinytex::lualatex() on a .tex file. I keep getting this error and, despite searching everywhere, I cannot figure out what it means: ! error: (pdf backend): cannot open file for ...
SB_25's user avatar
  • 1
0 votes
0 answers
80 views

How to style a kableExtra when printed with latex

The example below works well and prints the table as expected as a plain kable, however, if I add kable_styling(latex_options = "striped") it crashes. See code below: --- title: "Table ...
Salvador's user avatar
  • 1,973
1 vote
1 answer
92 views

How to align two tables side by side

I can't quite align two tables side by side on Rmarkdown pdf. How can I resolve this? Code below: --- title: "Caption" output: pdf_document params: runs: - Late ...
Salvador's user avatar
  • 1,973
6 votes
1 answer
67 views

Is it possible to use `lhs2tex` for it's `\eval{}` macro, but still use `minted` for formatting?

lhs2TeX has a powerful preprocessor, including useful macros like \eval{} for evaluating Haskell expressions. I'd like to use these features without having lhs2TeX also format code blocks or apply its ...
user2506946's user avatar
0 votes
2 answers
91 views

Bad display of LaTeX formula in a markdown cell in Jupyter-lab

I have a markdown cell holding some latex code with a math formula. I get a somewhat disappointing resulting display, in particular the summation and infinity symbols looking rather small. OTOH, if I ...
abcdefg's user avatar
  • 4,315
0 votes
0 answers
38 views

Getting continuedfloat to appear at the top of the next page

I'm using a continuedfloat to split a long table over two pages. For some reason I can't get the second part of the table to appear at the top of the next page. \begin{table} \renewcommand{\...
Reuben Long's user avatar
0 votes
3 answers
188 views

Formatting math and text centering

I am writing in quarto and including some mixed math and text and rendering to pdf using xelatex. I am having trouble formatting the text part of the code - specifically interlacing some text and ...
Peter's user avatar
  • 152
0 votes
0 answers
179 views

Pandoc docx to LaTeX (custom writer)

I would like to use Pandoc to convert docx documents to LaTeX, where I have some custom commands to fill from the docx to the preamble of my LaTeX template. I took a look at the default.latex template,...
drl's user avatar
  • 111
2 votes
1 answer
45 views

Latex alignment [closed]

I have a text in Latex that I would like to align centrally, but some of the rows have a checkmark at the end that I would like to exclude from the alignment, i.e. I would like to achieve something ...
Lolek's user avatar
  • 41
2 votes
1 answer
154 views

How can I modify my LaTeX table using tabularx with >{\hsize=\hsize}X columns so that text wraps automatically and prevents overlapping [closed]

I'm creating a wide table in LaTeX using the tabularx package. I’ve specified all 10 columns using this structure: >{\hsize=\hsize}X This gives me 10 equally distributed columns across the page ...
Komal Rumade's user avatar
2 votes
0 answers
129 views

Using format/list in latex acro package

I am working with lower case acronyms in latex and want them to be printed with a leading uppercase letter in the acronym list. I utilize the acro package. Reproducable code: \documentclass{article} \...
MachineLeon's user avatar
1 vote
1 answer
99 views

How to remove vertical space between first and second rows in a table?

I don't understand why a space is generated between first and second row (between A. and B.) for each month. What I'm doing wrong? Thanks in advance for any help. Eric This is my code: \documentclass[...
Eric Sánchez's user avatar
0 votes
0 answers
50 views

How do you set the same row height for all rows in a table created with sphinx? (LaTeX)

How can I modify the latex_preamble to force all rows in a table to have the same height? With Table 1 it's hard to spot, but if you look at Table 2, you can see the first and last row have extra ...
Simon1's user avatar
  • 788
2 votes
0 answers
113 views

Upright \mu in MATLAB latex interpreter mode

I want to get a straight \mu in a MATLAB figure label. I use the LaTeX Interpreter since I want to use I tried this: ylabel('$\hat{x}$ in $\mathrm{\mu}$m', 'Interpreter','latex'); and also using only ...
Steradiant's user avatar
0 votes
2 answers
149 views

Gnuplot installation on Linux for use in Latex [closed]

I want to ask: What is the best way to install gnulot on Linux Mint and to use it in Latex? For Latex I use MikTex and TeXstudio. Via apt there are 3 options available. I don't know, what the ...
philipp's user avatar
2 votes
1 answer
103 views

gtsummary R package: how to render latex within a table cell when knitting to PDF?

I am trying to use the gtsummary R package for making a table when knitting to PDF. Some of my cells need to use latex for properly displaying various math symbols (e.g. a greater than or equal to ...
jarbet's user avatar
  • 227
0 votes
0 answers
25 views

Texshop .log file starts with wrong tex file location

My new Texshop installation from scratch today starts a. log file from the wrong location of my Tex file as tcsh: Trying to start from "/users/my name" and so it does not compile a pdf file....
uhligfd's user avatar

1
2 3 4 5
232