Questions tagged [markdown]

A plain text markup language for conversion to HTML and other formats

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

KableExtra Memory Error. R-markdown

I am getting an error message when trying to make 2 tables on the same page. ! TeX capacity exceeded, sorry [main memory size=3000000].@preamble ...e height@tempdima width\z@ \unhbox. Here is the ...
0
votes
0answers
6 views

Accessing variable in inline expression (rmd to pdf output)

I'm working on coding a reproducible rmd which will output a pdf document. I know that for an inline expression to work, it requires $ $ to be placed around it but is there a way around this? Client &...
1
vote
1answer
34 views

Math symbol in Rmarkdown list

I am trying to get the following code to render correctly in rmarkdown, but unfortunately math mode does not seem to work in a list setting? Can anyone help with this? --- title: "Trial" author: "Jon"...
1
vote
1answer
31 views

Errors including markdown my project

I want to add markdown to my tex file and i'm having a really hard time doing so. i've added the package but i keep running into the same error. Here's my setup: And the PDFlatex run command is like ...
0
votes
0answers
40 views

Overlay problem when using markdown for slides (beamer) and document (handout)

Markdown can be used to produce either beamer slides or a single handout document file from the very same source file -- just by compiling it in a different way. Here how it works: Assume you have ...
0
votes
0answers
18 views

Multiple spacing in RMarkdown Beamer

How can I set different spacings in my RMarkdown Beamer. I use the package setspace but when I put \singlespace in some place and \doublespace in other place, I got an Error. It seems that RMarkdown ...
1
vote
1answer
47 views

Can't remove italic format from my text with either \normalfont or \textnormal

$$\textit{Some italic and {\normalfont non italic} text}$$ $$\textit{Some italic and \textnormal{non italic} text}$$ My LaTeX block above is supposed to generate text like this (the first line): But ...
1
vote
2answers
239 views

Latex & Markdown files

I am writing my project docs in latex but I have a bunch of markdown (.md) files to include as chapters. I have a problem when latex parses the md files it reads all the tables and figures as plane ...
0
votes
1answer
88 views

Disabling page numbering bottom of page

Newbie question here. I seem to have some trouble changing the page numbering. I want it in the header, instead of the bottom of the page. I got the header working, but I have been deleting and ...
2
votes
1answer
66 views

Converting from Markdown-with-biblatex-commands to LaTeX

How can I use biblatex commands in a Markdown file (instead of Markdown's native cite commands) and have pandoc output a .tex file that preserves those biblatex commands unchanged? question ...
0
votes
0answers
19 views

Indexing terms being used in cross-referencing

This is a follow-up question of my previous one: Cross-referencing numeric values and text from later section to executive summary of a latex document I have finished making my report and now my boss ...
2
votes
1answer
98 views

How to add page numbers to inline references using csl in rmarkdown?

I am using RMarkdown in RStudio to reference multiple sources out of my .bib file with csl (see below). My .Rmd doc: --- title: "mytitle" author: "nunberg" date: '01\.01\.2019' output: ...
1
vote
1answer
43 views

How to cite german book titles properly (upper case) with csl and rmarkdown?

I am using RMarkdown in RStudio and want to cite several sources using csl, specifically I use the style "elsevier-with-titles.csl". I want to cite a german reference, so title must have upper case ...
0
votes
1answer
48 views

Rmd — bookend:pdf_document2 — Latex — Cross reference and caption figure not working

Can anyone help me understand how to write my header so that the figure caption and cross reference works? I am practicing making captions and cross references to a simple plot in my Rmd file. I ...
2
votes
1answer
108 views

How to center and flush right cells in a column

I am trying to create a table with a numeric column number which I wish to center and flushright content as follows: Using RMarkdown, I am only able to wrap LaTeX code around/inline with cell content ...
0
votes
3answers
402 views

Can I type \LaTeX inside inline code in Rmarkdown?

I know I can use $$ to write \LaTeX in Rmarkdown documents like $\beta$. My goal is if this is possible inside inline code. I would do `$\beta$` or `$\\beta$`, but both do not work. In case it is ...
0
votes
0answers
99 views

Docx to Docx via Pandoc with the constraint of complex formats

I am looking for a workflow to enable 'only Word' people to keep working with their favorite editor while: enabling developpers to use markdown use a robust saving format managable with Git prevent ...
0
votes
1answer
49 views

I use markdown and pandoc and need to renewcommand iffalse/% with a couple tilde

I use Pandoc and Latex for my adacemic writing with Typora as my markdown editor. If I need to strikethrough text Typora uses ~~ double tildes. But Latex didn't recognize it as text which should be ...
0
votes
1answer
123 views

LaTeX with markdown and tables

I'm trying to build up a new documentation system using Markdown and LaTeX. After several hours most things are running smooth, but tables are a bit complicated. Most of the text can be written with ...
0
votes
1answer
137 views

Hanging indents with a Pandoc bibliography

I'm using Pandoc / Markdown / LaTeX to write lab reports. I've opted to not deal with multiple intermediate files for my bibliography. So I have to use this to generate my documents: pandoc --csl=...
0
votes
1answer
217 views

Add Markdown Citations using Pandoc

I am going through a process of converting all our code documentation from LaTeX to Markdown. I figured that my best bet was to use Pandoc. We have developed our own flavor of Markdown so I will need ...
0
votes
0answers
63 views

How would I use MLA formatting (headers, margins, bibliography, etc) with latex alongside R Markdown?

This is what I've used so far. --- output: pdf_document header_includes: - \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{ifpdf} \usepackage{mla} ...
2
votes
1answer
431 views

Math mode in document title with R Markdown

I was trying to put $\LaTeX$ in the document title but can't find a way to do so. I suppose that this is because I can't use latex packages with the document title. Does anyone know how to solve this? ...
2
votes
2answers
79 views

book title smaller than section headers

I recently began using Pandoc to generate PDF files, using the LaTeX engine, from MarkDown source. Presently, using the book class, I find a distracting attribute of the output is that the major ...
3
votes
1answer
154 views

Pandoc + ConTeXt: Inline images [closed]

Background A Markdown document has a div to inline an image: ::: image-inline ![](../climate/co2_graph) ::: The Markdown is passed through Pandoc to produce a ConTeXt document. The output resembles:...
3
votes
1answer
2k views

Write down latex equation in github page [closed]

I have a github page. I have a school project that I want to display in my Github page. There are several equations and figures related to this project. How could I write down this equation and draw ...
0
votes
0answers
54 views

Forcing markdown in a comment environment creates a runaway argument

I would like to create documents that include markdown within environments that can be hidden. Currently, I am using pandoc with a custom template and following the instructions for hiding ...
1
vote
1answer
65 views

hyperref Form spanning multiple markdown sections?

begin{Form} and end{Form} currently works in markdown if there is no markdown syntax in-between: \begin{Form} \TextField[name=Title, width=0.87\textwidth, bordercolor=black, value = {Some default ...
0
votes
1answer
112 views

\@footnotetext error for special characters

I have a link 3NT to external website I defined it in markdown like below link [3NT](http://www.xinruibridge.com/deallog/DealLog.html?bidlog=1C,P,1S,P%3B1N,P,3N,P%3BP,P&playlog=W:3D,JD,5D,7D%3BN:2S,...
1
vote
1answer
158 views

put last modified date on the PDF form generated by markdown + hyperref + javascript + fancyhdr?

This is my pandoc version: pandoc --version pandoc 2.3.1 Compiled with pandoc-types 1.17.5.1, texmath 0.11.1.1, skylighting 0.7.3 Default user data directory: /Users/vle/.pandoc Copyright (C) 2006-...
2
votes
2answers
860 views

“LaTeX Error: Can be used only in preamble” even though all directives before begin directive

In the following simplified version of a markdown doc intended for pandoc/latex generation to `pdf: \documentclass{article} \usepackage{unicode-math} \setmainfont{TeX Gyre Schola} \setmathfont{TeX ...
1
vote
1answer
561 views

Undefined control sequence in R markdown

I have got stuck on this code which I could not be able to find that in my content anymore after checking for more than two times. Is there any packages I should have updated? As I am using TexShop ...
3
votes
1answer
1k views

Indentation of some paragraphs in RMarkdown / Latex when exporting to PDF

I am writing a report in RMarkdown and I would like to indent a whole paragraph. I used this Latex code before the paragraph: \leftskip30pt\parindent0em\ It works nice, but the problem is that ...
0
votes
1answer
38 views

creating multiple generic letters from pulling info from an excel/csv file

I wanted to create 100 invitation letters for a group of 100 people whose name and phone number I have in an excel sheet. I have written one generic letter and wanted to the put in the name and phone ...
0
votes
0answers
19 views

Trying to render qrcodes in latex from multiple markdown files in a single pdf. The qrcode package inserts an empty qrcode at the start

I have multiple md files that each contain a different url in their yaml block: url: https://google.com these urls get parsed as inputs in a latex template where I use the qrcode package in order ...
0
votes
1answer
242 views

Pandoc fontawesome in Markdown -> Xelatex -> pdf

I want to use fontawesome symbols in an md yaml-block that then get converted into latex and from there to pdf. I used the fontawesome package in xelatex and I tried to convert a string in an md ...
0
votes
1answer
235 views

Array command in Latex

I wonder may I ask about why I received the error note from R-Markdown that ! LaTeX Error: \begin{array} on input line 569 ended by \end{equation*}. #1, Let X = \[ \left(\begin{array}{cc} 1 &...
2
votes
1answer
414 views

Package markdown failing with Miktex

I'm using Miktex 2.9 for Windows. When compiling: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{markdown} \begin{document} \begin{markdown} | xyz | abc | | --- |: --: | | 0 | 5 | |...
4
votes
1answer
819 views

Using biblatex with R Markdown

I am trying to compile a PDF Output with an R Markdown file and build my bibliography with the biblatex package and using R Studio. Here are my code/files in index.Rmd --- title: | Hello World! ...
2
votes
1answer
401 views

Option clash with RMarkdown and beamer

I work across two separate Mac computers, a Macbook Pro at work, and a Macbook Air at home. Both macs are running identical operating systems. I am writing in RMarkdown, using knitr to compile beamer ...
1
vote
1answer
979 views

Line spacing 18 pt in r markdown [duplicate]

Iam writing my thesis in r markdown and want to change the line spacing to 18 pt. But i cant find a solution for it. I only found the setting for onehalf spacing or 1.5 spacing but no for exactly some ...
2
votes
1answer
382 views

i trema doesn't appear in RMarkdown LaTeX document

I'm trying to write about naïve modeling, and have written the following header: ## Na\"{i}ve Modeling That, however, and all variations like it, produce only something that looks like this: Na"{...
6
votes
1answer
122 views

what top-level style should I use to mimic MSWord?

I am trying to devise a (possibly easy) way to replace our documentation system. Currently we are bound to two different and apparently irreconcilable systems: internally we use a wiki system based ...
2
votes
1answer
166 views

MikTex, multicol and Markdown on Windows with utf-8

I tried to create for myself usefult template for writing an articles using XeLaTeX and Markdown. For this goal I have installed MikTex 2.9 on my computer and created a such template: \documentclass{...
0
votes
0answers
274 views

Convert latex to Word via pandoc with numbered and unnumbered sections

I have a document (FromLaTeX.tex) something like this: \documentclass{article} \begin{document} \section*{Introduction} \section{First} \section{Second} \subsection{Numbered subsection} \subsection*{...
2
votes
1answer
312 views

Create labels for headings with pandoc

How can I create labels for headings with Pandoc? I thought I was able to use latex macros directly in pandoc, however, for creating labels it doesn't seem to work. This is the pandoc command: ...
0
votes
1answer
1k views

Defining a textbox with colors in Markdown

I'm trying to build a document in R Markdown using R studio, and I originally posted this question to stackoverflow, where a kind user referred me to this site. I'm in no way a LaTeX expert, but I ...
0
votes
1answer
166 views

Error message converting from markdown to PDF, Package calc Error: `\let ' invalid at this point

I am trying to convert a R markdown document to PDF. However, it fails to compile and gives me the following error message: ! Package calc Error: `\let ' invalid at this point. My document consists ...
2
votes
2answers
616 views

With pandoc, is it possible to export a bibliography in markdown?

I have a document with a bibliography in BibTeX and must to some post-treatment on the generated bibliography before producing the final document (I must emphasize some author names and sort the ...
0
votes
1answer
135 views

equation working well in editor but does not compile in beamer

I am using Overleaf to make a beamer style presentation. The following code works fine in the text editor but will not compile. The following code works fine in other files as well. Actually, all my ...