Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [markdown]

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

0
votes
0answers
46 views

customise the title slide with R markdown beamer [on hold]

Is there a way to edit the title slide of a R Markdown Beamer Presentation? I'am using the "Frankfurt" theme with "beaver" color. I need to add two logos in the top left and right and add two lines in ...
0
votes
0answers
22 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 ...
0
votes
1answer
14 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
0answers
30 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
30 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
136 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
66 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 ...
2
votes
1answer
121 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
28 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
16 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
98 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
77 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
216 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 | |...
3
votes
1answer
282 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
260 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
488 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 ...
1
vote
1answer
150 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
116 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
117 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
177 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
130 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
504 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
79 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
439 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
109 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 ...
0
votes
0answers
114 views

convert LaTex citations back to MMD citations

I wrote my dissertation in Scrivener in MMD. As I was putting in the final edits, I exported to LaTex and used biblatex-chicago for my citations. It worked great. However, I made lots of edits ...
0
votes
1answer
162 views

How to re-run Bibtex on the file(s) - RSweave; KnitR

I have a document called Code.Rnw where I write my document in and I'm using Sweave and Knitr to compile it. For my bibliography I use biblatex. My setting is the following: \usepackage[bibstyle=...
2
votes
2answers
674 views

Left Quotation Marks when using RMarkdown and knitR

Normally when you want left quotation marks in LaTeX, you type the following: `` However, in RMarkdown, you will trigger a block of R code to run when you type two pairs of backticks on the same ...
2
votes
1answer
56 views

.tex + .md: issue with tables

I would like to use markdown files with latex. A post on Overleaf really helped me almost solve my issue. The only deal breaker would be inserting tables from markdown into latex. I need help with ...
2
votes
1answer
321 views

Markdown code fragment inside latex document

I am writing a document in LaTeX and I need to add some Markdown code fragments with highlighted syntax. Right now I'm using listings library for all my code fragments but listings doesn't support ...
2
votes
1answer
2k views

include latex table in rmarkdown

I try to include latex code (a table) into my Rmarkdown document. I need to use latex instead of other options because the table has to be in a certain format. The problem I encounter is the ...
1
vote
1answer
336 views

How to format only one section of RMarkdown pdf output using sectsy

I am creating a pdf using R-markdown. I want ALL section headings to be centered (using sectsty package),except the first one which should be left aligned. How can I do this ? How do I use sectsty ...
1
vote
1answer
1k views

Minimal LaTeX install for knitr to export PDFs from Rmarkdown on Debian-based system

I use RStudio and started writing Rmarkdown documents to knit them into HTML pages and PDFs. I tried installing TexLive but it failed when the astounding number of packages filled my limited ...
9
votes
2answers
396 views

Concat multiple md files in a tex file using XeLatex

during my thesis I have multiple md (markdown) files in a git repository. All these md files are chapters of a final book pdf that I want to generate. I would like to use XeLatex so I am thinking of ...
0
votes
1answer
127 views

Equivalent for markdown's `` in XeLaTex [duplicate]

Sometimes I want to cite stuff such as commands or library names etc etc. Over markdown I use the `somestuff` citation. But how I can do similar ting in tex?
0
votes
0answers
33 views

Referencing with ieee_with_url csl file, access date does not appear

I am currently using rmarkdown with the following csl, ieee_with_url file. @webpage{transport_society, author = {Tom V. Matthew}, title = {Role of transportation in society}, month = {July}, Url = {...
0
votes
0answers
110 views

Unable to get Rmarkdown + biblatex to give maxcitenames to work properly to yield et al after first author

EDITED: If the answer from this post worked, I would not need help, since this is my exact question. I would like to have the in-line citations give (FirstAuthor et al., XXXX) and I am using Rmarkdown ...
1
vote
1answer
378 views

execute R code in latex file imported from separate R file

My personal objective in this Rnotebook revolution where typesetting and number crunching cohabitate is to keep R files separate from latex and as little polluted by markdown as possible and only in ...
10
votes
4answers
7k views

Markdown vs latex for thesis

I have to face the decision what markup I use for my thesis (mostly mathematical formulas). I dont want to start learning the chosen language while I should focus on my thesis. I dont know much latex, ...
2
votes
2answers
93 views

markdown-package: problem with # sign in url and hyperref

I use the markdown-package in combination with pdfLaTeX. \documentclass{article} \usepackage[ blankBeforeBlockquote, blankBeforeCodeFence, codeSpans, citations, ...
0
votes
0answers
33 views

Math Mode Multi Word Variables - Where are the Spaces [duplicate]

How do I get spaces between my multi word variables? IpreferThatTheyAreNotAContinousStringOfCharacters. That's hard to read. $Yummy = \frac{Effective Mass}{Avacados Constant}$ In my example above ...
1
vote
0answers
35 views

Subdivided bibliography with pandoc

I use pandoc-citeproc for formatting my text (written in markdown), because I need to use a specific CSL style for the references of my thesis. Everything works well. I precise that I've set Pandoc to ...
1
vote
2answers
438 views

Is it possible to use the LaTeX citation command “\cite{key}” when using knitr in Rstudio?

I've been looking for a way to use the \cite{AuthorYear} or \citep{AuthorYear} command on my markdown document on Rstudio instead of the [@AuthorYear], but have not managed to find any solutions here. ...
1
vote
0answers
210 views

Pandoc Output PDF with Code Block using listing other than verbatim

I using RStudio and Pandoc to output my document created in markdown to PDF. Pandoc always convert the code blocks in markdown using verbatim environment. Does anyone know how to switch the default ...
1
vote
1answer
435 views

Setting TOC depth in beamer_presentation with RMarkdown

How can we set the number of Table of Contents levels (depth) that is displayed in RMarkdown beamer_presentation? For HTML documents, I have found that a toc_depth option exists, but it doesn't seem ...
0
votes
2answers
2k views

How to add a header/footer to markdown document?

I am trying to add a header/footer to each page of my markdown document, and I know that this has previously been addressed here, but I am having issues when converting it to a pdf in pandoc. ...
1
vote
2answers
428 views

Pass LaTeX options with Pandoc

I use the package "answers" in a Markdown file. After compilation with Pandoc the PDF I get is ok (solutions at the right place) but the option of the following LaTeX command \Optionsolutionfile{ans}[...
1
vote
1answer
168 views

Remove the word chapter but keeping the numbering

I wanted to remove the word chapter when I do \chapter{title} I added the command 1, but I do not have anymore the numbering, I added the command 2 but when I do \ chapter*{Intro} he puts me 0. Intro ...
2
votes
2answers
451 views

How can I remove the page numbers and margin using context?

I'm trying to use pandoc and context to convert a markdown file to a pdf. The command I'm using is: pandoc -t context -o sample.pdf sample.md The sample markdown file I'm using is: # Hello * ...
2
votes
1answer
9k views

pdflatex not found (windows)

I am trying to exporty a pdf file from the R output using R markdown. I donwnloaded the MikTex, but when I tried to run the R markdown, it showed this error message: pandoc.exe: pdflatex not found. ...