Category "latex"

How to cite within a figure caption w/ rmarkdown native citation?

In R Markdown, I want a figure caption with a linked citation in R Markdown native citation style [@ref]. However, when I insert the [@hawking_thermodynamics_19

Error : File `l3backend-pdfmode.def' not found. }

I am trying to compile a .tex document into a pdf in TexStudio (and I have also tried in MikTex) and the following error is outputted File l3backend-pdfmode.def

Error : File `l3backend-pdfmode.def' not found. }

I am trying to compile a .tex document into a pdf in TexStudio (and I have also tried in MikTex) and the following error is outputted File l3backend-pdfmode.def

Extracting from .bib file with Raku (previously aka Perl 6)

I have this .bib file for reference management while writing my thesis in LaTeX: @article{garg2017patch, title={Patch testing in patients with suspected cosm

How to write math symbols in plotly dash app?

I want to plot math symbols in a plotly dash app. For example, I've Tried this: import dash import dash_html_components as html app = dash.Dash(__name__) app.

LaTeX Error: `xcolor.sty' not found when including tikz

my preamble is currently looking like this: \documentclass[12pt,a4paper]{scrartcl} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{float} \use

Add footer to section's start/title page

I am creating a RMarkdown template of Beamer slides and use the metropolis theme as a basis. This already includes: Numbered TOC Hiding of footer on title page

Matplotlib in Rmarkdown/RStudio fails when calling LaTeX on `\$` with Anaconda

Problem description I am having to use Anaconda on Windows, and am trying to write an RMarkdown document, knitted into a pdf, where within the RMarkdown I am us

Matplotlib date formatter with Latex uses math mode

Overview So I made a switch from an older version of Python + Matplotlib to a newer one and have notices the following change in behaviour which seems to be bre

Keeping figure just after text in Latex

I am writng in Latex. I am new with it and need some help. I need to add figures. I can do it with the following code \begin{figure}[h] \includegraphics[

Table layouts for use with Pandoc

I'm trying to create a document generation workflow (professional documents). The goal is to write as much as possible in Markdown. The resulting document shoul

R package stargazer produces two table outputs instead of one

I'm currently struggling with r markdown, knitr, and, the stargazer package. More specifically, I want to produce the output of a logistic regression: {r table1

Figure captions with multiple plots in one chunk

I label my figures like this. --- title: "xxx" output: pdf_document: fig_caption: true --- And then in each chunk ```{r, fig.cap="some caption"} qplo

Insert the number of slides up to a final slide in a rmarkdown::beamer_presentation

In a beamer presentation generated with rmarkdown::beamer_presentation, I currently have \insertframenumber/\inserttotalframenumber which shows the current page

Insert inline code block in Latex document [duplicate]

Hi I am trying to add an inline code block in a Latex document. I know how to add a separate code block using lstlisting but i want to instead

How to type Devanagari using LaTeX (Overleaf)?

I am trying type Devanagari Script in LaTeX using Overleaf. But I am getting some formatting error. The "matras" are not reflecting in the output Devanagari tex

Ideal dimensions for MATLAB figures on publications

I am asking a short question because I would like to have some opinions on the ideal dimensions that you require/use for a MATLAB figure in a publication. I am

is there a way of adding package/module to livetex (Latex) manually

Note: I am using Linux ubuntu And I am using latex for compiling a file to get pdf. The file contains a pseudocode of an algorithm but it requires a package t

TexMaker- Log file not found

I am BRAND NEW to LaTex and TexMaker. However, it was working before. I made a document before and used R with it and everything. Then I updated my Mac and it k

How to add Latex code in ggplot2 legend labels?

Consider the following example: p <- ggplot(data = data.frame(A=c(1,2,3,4,5,6,7,8),B=c(4,1,2,1,3,2,4,1),C=c("A","B","A","B","A","B","A","B"))) p <- p + g