Questions tagged [latex]
LaTeX is a programming language used primarily for creating high quality academic written documents, slideshows and posters. LaTeX questions are often a better fit for the sister site "TeX - LaTeX" (https://tex.stackexchange.com). This includes questions on tools and other languages producing LaTeX code. The JavaScript libraries MathJax and KaTeX are off-topic on "TeX - LaTeX" and should be asked on Stack Overflow instead (and tagged accordingly).
latex
11,487
questions
0
votes
1
answer
17
views
Export latex table from summary of rddensity function in R
I am interested in exporting the summary of the rddensity function in latex in R. I've tried to use modelsummary without sucess, and capturing output also hasn't worked out. My objective is to export ...
-1
votes
0
answers
7
views
How to add formulas in Modern Sharepoint page
Did anyone tried using Mathjax or Katex javascript libraries to include formulas in sharepoint page? If yes, Can I know how did you implement using SPFx? If no, Can I know your approach to write ...
0
votes
1
answer
12
views
Include external custom math commands from YAML header
I have a bunch of custom math commands that I'd like to ba able to use in all my quarto documents.
Is there a way to include custom math commands in the quarto YAML header (for example, by pointing to ...
-2
votes
0
answers
12
views
why there is misalignment on text [closed]
blue circles aren't aligned with languages. can you please help to correct them.
there is error in latex "Overfull \hbox (362.5863pt too wide) in alignment at lines 37--41"
which indicates ...
0
votes
0
answers
14
views
Why can't a save a matplotlib plot in pgf format?
I would like to save a plot created in matplotlib in pgf format for inclusion in a latex document.
Based on this example:
from matplotlib import peplos as plt
from scipy.stats import norm
x = norm....
0
votes
1
answer
23
views
Quarto ignoring LaTeX commands when formatting table
I am rendering a PDF with quarto and python. I want to include a line break in a column header, but the commands are not being processed when the document is compiled. I have tried:
import pandas as ...
0
votes
0
answers
17
views
Jupyter Notebook: Unable to Render LaTeX in version 7.0.8
For some unknown reason, I am unable to render LaTeX equations on Jupyter Notebook version 7.0.8. I have changed the cell to Markdown and used the correct notation ($ $ or $$ $$), but nothing is ...
1
vote
1
answer
22
views
Showing percetage of the year in LaTeX
I'm trying to make a contract in LaTeX, where I express the responability of a property the year is signed. To do so, I need to calculate de percentage of the year that has already passed.
I would ...
1
vote
0
answers
12
views
Why does VS-Code not compile my LaTeX-file with LaTeX-Workshop and macTeX installed?
I have installed macTeX (I use MacOS Sonoma 14.5) and LaTeX-Workshop in VS-Code. It seems like VS-Code is not recognizing my .tex-files. Every time I want to compile and generate a pdf I get an error ...
0
votes
2
answers
86
views
Replace parts of a text file using a for loop
I'm using the pylatexenc library to parse a LateX file (.tex) into nodes (tuples). For every node that matches a condition, the LateX code corresponding to said node is deleted or replaced.
How can I ...
0
votes
0
answers
35
views
LaTex: Small table, that should be flush left, is indenting to the right
I have an errata document. For each errata item, I use a small table, with no borders, to list the Errata ID, Area of operation, Components affected, and Severity. Using a table this way, works, but I ...
1
vote
0
answers
13
views
Reduce the column padding in tabular environment
I've tried nearly everything with no success and I don't know why... I have a tablular with 9 columns and the only solution I found for fitting it into textwidth is using adjustbox, which I don't like ...
0
votes
1
answer
35
views
How to Resolve 'ascii' Codec Can't Decode Error When Generating Confluence Document with LaTeX Formulas Containing Cyrillic Characters Using Sphinx?
I am trying to generate a document for Confluence. The source data is an RST document containing LaTeX formulas, which sometimes include Cyrillic characters.
Here is my conf.py configuration file:
...
0
votes
2
answers
25
views
How do I write the following symbol in latex?
I tried writing the LaTeX formula $\overleftarrow{\underline{U}}$, but it renders in italics which is not what I am looking for.
0
votes
0
answers
12
views
Matplotlib fig.savefig(): When using \textmu in labels, it is sized completely wrong after saving to vector graphic
when I use \textmu in labels, it is exported in a shrinked form in vector graphics such as svg and pdf (see 1st picture). If i save the file as a .jpeg for example it is displayed correctly (2nd ...