LaTeX table positioning

I have a LaTeX document that contains a paragraph followed by 4 tables followed by a second paragraph. I want the 4 tables to appear between the two paragraphs which from what I've read means I...

LaTeX, a0poster,tikz and multicols

I'm using the multicol package inside an a0poster document class. I am trying out a 3 column layout for a portrait poster. I have a large tikz drawing that I want to put inside a figure...

Typesetting a large matrix in LaTeX

I have a 3x12 matrix I'd like to input into my LaTeX (with amsmath) document but LaTeX seems to choke when the matrix gets larger than 3x10: \begin{equation} \textbf{e} = \begin{bmatrix}...

What is the best way to insert source code examples into a Microsoft Word document?

I have to write some documents that will include source code examples. Some of the examples will be written from the IDE, and others would be written in place. My examples are primarily in...

How to make chapter*, section* and subsection* appear in the table of contents

I need to produce a PDF document in which I need some "chapters" (along with its sections and subsections) to be non-numbered but still included in the ToC. This is for my master thesis. I'm using...

How do I reduce the size of an entire LaTeX table?

I have a table that I want to appear a little smaller to save some space. What environment can I put it in to shrink the whole table by a fraction ?

How to do something in a function based on the character under the cursor in Vim?

I’m writing a function that edits a certain environment in LaTeX. The environment basically looks like this: \begin{quicktikz} ...some stuff... \end{quicktikz} or like...

Error when generating R package manual

I having the following issue when trying to check a package using the command line. First I get this very general error message: * checking PDF version of manual ... WARNING LaTeX errors when...

Deferred error when jedi:complete-on-dot

I get the following error when I try to use jedi:complete-on-dot: deferred error : (error "Keyword argument :triggered not one of (:requires :force-init)") I will note that Jedi is not the only...

Extract all model statistics from rms fits?

The rms package contains a wealth of useful statistical functions. However, I cannot find a proper way to extract certain fit statistics from the fitted object. Consider an...

How to refer sub-figures without using captions

Figure explaining what i want to do exactly I am using the following code to add figures in main body of the text. I need to ref figures in main body like Fig 1a, Fig 2a. but i dont want to add...

Using Sphinx Extension to convert svg to pdf

My company is using Sphinx to create the manuals for our products. Our products are shipped with PDF and HTML documentations. We are using Windows as a sole developer environment. A necessary...

Adding background image to R Markdown (.rmd) file for PDF document?

I have seen this post to include a background image to an R markdown report. I have created a Shiny app to generate a pdf report: shinyApp( ui = fluidPage( sliderInput("slider", "Slider", 1,...

Options for colored rectangular content containers (boxes)

Today I've decided to learn about writing LaTeX posters. I want to ask if tcolorbox is the right place to focus my effort in creating poster sections. Here's why I'm asking. The first thing I...

Pandoc's environment cslreferences undefined when knitting RMarkdown to PDF in RStudio

Knitting (in RStudio version 1.2.1335) an RMarkdown file to PDF fails when trying to create citations (for pandoc version 2.8.0.1, and R version 3.6.1). (This does not happen when knitting to...

VS Code Windows 10: LaTeX Workshop will not compile

On Windows 10, I have MiKTex (as admin) installed and updated. Within VS Code, I have installed the LaTeX Workshop extension, but my document will not compile. I require lualatex, so I have moved...

LaTeX Error: Option clash for package color

Just updated R to version 4.0.2 (from 3.6.3) and rmarkdown to v2.3 (from 1.13). But I face several problems when knitting to pdf. I used the following code in the yaml section of a new rmarkdown...

Alternative use for uarial package in Overleaf for LaTeX

For a project I am using Overleaf for LaTex and I require the uarial package that I initialised liked this: \RequirePackage[scaled]{uarial} \renewcommand*\familydefault{\sfdefault} With this I...

Latex failed to compile Markdown PDF from R shiny

Sorry if I'm missing some information here. I'm trying to render a PDF from R shiny and R Markdown, but keep getting this error. The whole thing does run in HTML, but the idea is that I can...

latex runtime error with Xelatex compiler

environment: ubuntu18.04 + texlive-2020 + texstudio I have successfully installed texlive and made sure by testing with latex -v ; xelatex -v, and they worked just fine. And in texstudio I...

In a shiny app is there a reason downloadHandler() can't render a pdf from rmarkdown::render()?

I have a complicated shinny app, that works perfectly, with the exception of a download button intended to render a pdf from rmarkdown to generate a downloadable report. In a nut shell...

Insert inline code block in Latex document

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 add an inline code block. I am attaching the...

Multi column and multi row table in LaTeX?

How do I draw the following table in LaTeX? The data inside is not that important. I wrote the following code: \begin{table}[H] \centering \begin{tabular}{cccccc} \hline ...

How can JupyterLab load notebook.json or custom.js when JupyterLab launching?

I want to have JupyterLab launch and load custom settings and overwrite advanced settings automacally. But I can't do it although I tried three method notebook.json/custom.js/config.js. How can I...

How to avoid "! LaTeX Error: Environment axis undefined" when using include_tikz with pgfplots?

I have successfully included in an R/exams .Rmd file several graphics made in TikZ. The same does not happen when I try to include a plot under pgfplots using include_tikz(). Whenever \begin...

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...

Sublime Text 3 + LatexTool unintentional new window after compilation

I'm using Sublime Text 3 + LatexTool on Windows 10 to edit my Tex files. Recently, after an update of Sublime Text, I find that there will be an untitled new window of sublime each time I use...

VS Code LaTeX Workshop Extension: 'docker' is not recognized as an internal or external command, operable program, or batch file

I am in the midst of moving from macOS to Windows 10, and in doing so have needed to move a number of LaTeX project workspaces from VS Code operating on macOS to VS Code operating on Windows 10,...

How can I add arbitrary elements to the Table of Contents in Bookdown?

I am making a book via bookdown. I know it is possible to omit headings from the Table of Contents by adding the attributes {.unlisted .unnumbered}, as shown in Section 4.18 of the R Markdown...

How to load in graph from networkx into PyTorch geometric and set node features and labels?

Goal: I am trying to import a graph FROM networkx into PyTorch geometric and set labels and node features. (This is in Python) Question(s): How do I do this [the conversion from networkx to...