Category "latex"

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

Duplicated title page in r-markdown beamer presentation

Im trying to include a title page customized in latex in my r markdown beamer presentation, but im getting two title pages in the output: one generated by R mar

How split a /tableofcontents in two or more columns?

I have a long index (outline) for a presentation. Obviosly my index exceeds the size of a presentation page. Is there a way to split a /tableofcontents in two

Can external multimedia files linked to pdf documents launch external applications in the macOS pdf-viewer Preview?

I have generated a beamer pdf containing a link to an external player in order to play a sound. I am opening it with the macOS pdf viewer preview and when I hov

knitr/rmarkdown/Latex: How to cross-reference figures and tables?

I'm trying to cross-reference figures and tables in a PDF produced with knitr/rmarkdown. There are some questions on SO and tex.stackexchange (here and here, fo

Beamer and Table of Content in RMarkdown

Today I started studying Rmarkdown + Beamer. I have a problem creating the table of contents. I create this way: --- title: "Beamer" author: "Me" date: "08/08