texmf qns not on tex.sx
   16 tags on 10 sites

0 answers

Converting Table to LaTeX and calling inline R Markdown

I'm trying to use gtsummary with R Markdown but it doesn't support it directly. So I took a gtsummary table, converted it into LaTeX and stored it in a variable latex_code. The intent was to call it ...

1 answer

Is there a way to remove this part in Latex Beamer?

The latex code is as in this link: https://publish.obsidian.md/jayjeong/stackoverflow+question+230531 Thank you so much for your help!

1 answers | 1 hour ago by acubens555 on Stack Overflow stackoverflow.com
2 answers

\phantom doesn't seem to work in matplotlib+latex

$\phantom{1}$ is a built-in latex command that gives you the whitespace equivalent of the character 1. This seems to crash matplotlib. How can I get the equivalent whitespace of the character 1 in ...

2 answers

Having the MO Mathjax parser recognise \( \) is a regex away

@IsabelBeckenbach discovered why \( \) isn't accepted as a math-mode delimiter on MO. I'd always thought it was a design choice, but apparently it's just a mis-escaped regex. I suggested that they ...

2 answers | 12 hours ago by LSpice on MathOverflow Meta meta.mathoverflow.net
1 answer

Pie Chart Mathtext Label/Autopct

So I've been fooling around with the pyplot pie() function and it works well and all except for when I try to use mathtext in the wedge labeling (as in the autopct labeling, where I'd like the number, ...

1 answer

LaTeX: How do I create numbered sections for Bibliography, listoffigures, listoftables and lstlistoflistings?

I try to have the content mentioned in the title as sections and not as their own chapters. Numbered if possible. I tried the following but then they where all twice in the table of content and they ...

1 answers | 16 hours ago by Ra1ner on Stack Overflow stackoverflow.com
4 answers

How to obtain the same font(-style, -size etc.) in matplotlib output as in latex output?

I have one .tex-document in which one graph is made by the python module matplotlib. What I want is, that the graph blends in to the document as good as possible. So I want the characters used in the ...

4 answers | 21 hours ago by JHK on Stack Overflow stackoverflow.com
0 answers

Separate brackets for citations using Biblatex

I am using Biblatex for citations. I have included the package using the following command: \usepackage[backend=bibtex,style=numeric-comp,natbib=true,sorting=none]{biblatex} This results in ...

4 answers

Formatting Sandbox

The purpose of this thread is to enable people to check if their formatting works and to play around with their MathJax code. Quoting from Bill Dubuque's Formatting Sandbox on meta.math.SE: To use ...

0 answers

matplotlib pgf backend – adjusting preamble

Consider the following piece of code: import matplotlib as mpl mpl.use("pgf") preamble = r'\usepackage{newtxtext,newtxmath}' mpl.rcParams.update({ "pgf.texsystem": 'lualatex', ...

0 answers

Why does this error keep generating when I try to knit in r markdown

Please can you help me on how to solve this error/warning message processing file: 7009-presentation1.Rmd output file: 7009-presentation1.knit.md "C:/Program Files/RStudio/resources/app/bin/...

0 answers

Some arrows in commutative diagrams in comments are wrongly interpreted as @-notifications; and a bonus question about CDs on MMO

I left the following comment on Pullbacks in this category of vector spaces are intersections: Are the morphisms in your category isometries? Otherwise, I'm not sure why the category is left ...

1 answer

Bug: MathJax `enclose` environment not behaving as expected even when we write `\require{enclose}`

I am having difficulty using the MathJax plugin on the electrical engineering stack exchange. When I write \require{enclose}, the enclose library does not work as expected (or maybe it is not a ...

0 answers

How can I customize a Tikz graph to design a unique logo for a laundry service?

i need to use Tikz to draw a logo from scratch similar to the picture below with the colours exchanged i.e Orange to green and vice versa. Laundry logo Iam trying to use tikz to design a logo ...

1 answer

Making two sided Pretty PDFs with Quarto

Disclaimer I borrowed the most code from Making Pretty PDFs with Quarto. My code works fine with classoption: [oneside] but have issues with classoption: [twoside]. I would greatly appreciate any ...

1 answers | yesterday by MYaseen208 on Stack Overflow stackoverflow.com
1 answer

Problem with R chunk output which spans more than one page in quarto pdf

The output of an r chunk, which extends beyond a single page in a quarto pdf, does not display correctly, as shown in the following r code output. I would greatly appreciate any guidance on how to ...

1 answers | 2 days ago by MYaseen208 on Stack Overflow stackoverflow.com
2 answers

Using Visual Studio Code with SumatraPDF to open LaTeX source files

When you double click on a PDF file opened with SumatraPDF in Windows OS, it'll invoke a command (see the blue rectangle in the following image). If the PDF file and its LaTeX source file are in the ...

0 answers

I want to include any animated gif in my beamer presentation?

Can anyone guide me on how to include any gif into the beamer, for example, animated Thank you for the last slide? Any MWE will do. I have included mine. \documentclass[aspectratio=169]{beamer} \...

0 answers

How to adjust bracket size in a latex axis label

I would like to create a label for a matplotlib plot like import matplotlib.pyplot as plt plt.plot(range(5)) plt.ylabel(r"$A \ [m^{3}]$") but the square brackets do not have the right size ...

0 answers

How I can fix the indentatioin issue for the first term when printing glossary in latex

I have problem with my thesis's glossary. I do not understand why the acronym 1G is always indented in this case: Here's my code: \usepackage[acronym, nopostdot,abbreviations, style=super, ...

0 answers

'pdflatex -shell-escape -halt-on-error -interaction=batchmode -jobname "tikz/output-figure0" [...] did NOT result in a usable output file

Cannot include Tikz Externalize in existing large Overleaf project Hi community, Since I cannot compile my paper with out a timeout anymore due to the large amount of tikz plots (and data for these ...

1 answer

Different page numbers for `frontmatter` and `mainmatter` of book in quarto pdf format

I need to obtain separate page numbers for the frontmatter and mainmatter sections of a book in the quarto pdf format. I have the following YAML code in my _quarto.yml file. I'm curious about the ...

1 answers | May 28 at 18:51 by MYaseen208 on Stack Overflow stackoverflow.com
1 answer

List of Tables and List of Figures in Table of Contents using Quarto book in pdf format

I would like to get List of Tables (lot) and List of Figures (lof) in Table of Contents (toc) a book in the quarto pdf format. I have the following YAML code in my _quarto.yml file. I'm curious ...

1 answers | May 28 at 18:51 by MYaseen208 on Stack Overflow stackoverflow.com
1 answer

Is it possible to call MathJax library directly from a folder in my HTML page without internet or third-party installations?

I want to use MathJax on my app's html ui component which does not support accessing third-party JavaScript libraries by way of a CDN. I want download the entire code of MathJax, which is available ...

1 answers | May 28 at 18:09 by Sitra on Stack Overflow stackoverflow.com
2 answers

Why isn't xcolor supported for Latex?

In mathcha.io, I have an equation with colors. \begin{equation*} \frac{\partial L}{\partial X} =\ \textcolor[rgb]{0.82,0.01,0.11}{\frac{\partial L}{\partial Y}} W^{T} \end{equation*} If I want to ...

2 answers | May 28 at 17:36 by BPDev on Meta Stack Exchange meta.stackexchange.com
8 answers

Recipe terminated with fatal error: spawn latexmk ENOENT

I have just installed debian 10 as well as vscode. I have been struggling with this for 3 days now.. I installed texlive from terminal with the following command: sudo apt install texlive I then ...

2 answers

How to pass `hyphenpenalty` as a CLI parameter to Pandoc?

I want to convert MD to PDF with Pandoc and pdflatex: pandoc \ "$md_file" \ --pdf-engine=pdflatex \ --variable=geometry:a4paper \ --variable=fontsize=12pt \ --output "${...

1 answer

Edit Recent Posts to Display HTML-Tables with Markdown

Users have been using $\rm\LaTeX$'s array environment for displaying tables. For instance, in the MathJax Tutorial's "Table" section, \begin{array}{c|c|c|c} ...

2 answers

How to print a Pandas dataframe to Latex without the index?

Setup I have an example dataframe: import pandas as pd df = pd.DataFrame.from_dict({'A':[1,2],'B':[3,4]}) What I did Using to_latex(), I can print this dataframe to a latex table. However, I do not ...

0 answers

How to make vscode render jupyter notebooks LaTex like Colab does?

It's a known fact that out of the box vscode uses KaTex and doesn't render some LaTeX formula in Jupyter notebooks while colabs or jupyterlab do render them. from my understanding MathJax does the job ...

15 30 50 per page
1 2 3