Stack Exchange Network

Stack Exchange network consists of 175 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
1answer
28 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 ...
-1
votes
0answers
11 views

Markdown Pipe Tables support in Beamer output mode of pandoc? [duplicate]

Here is an mwe for a markdown pipe tables that works fine with pdf output from pandoc but confused `beamer: --- title: Tensorflow fonttheme: structurebold author: Me fontsize: 12pt output: ...
1
vote
1answer
36 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 ...
1
vote
1answer
46 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
2answers
22 views

Text alignment title page

A simple question here, since I coulnd't find anything that addresses it specifically. I probably missed it somewhere, but I only get hits that refer to \flushright or something. For my title page I ...
0
votes
0answers
47 views

LaTeX error message

I have a hard-to-understand LaTeX error on the R Win-builder test website. My R package stationery has examples of LaTeX (Sweave or knit) and R markdown documents. The documents all build fine on my ...
0
votes
1answer
63 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
28 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
89 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
57 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
78 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:...
1
vote
1answer
158 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
37 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
22 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
48 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
73 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
354 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
283 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
453 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
32 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
18 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
158 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
142 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
298 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
453 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
313 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
714 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
249 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
118 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
130 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
214 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
205 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
781 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
116 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
514 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
119 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
122 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
216 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=...
3
votes
2answers
1k 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
65 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
411 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
3k 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
397 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
2k 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
445 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
137 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
160 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
511 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 ...
13
votes
4answers
9k 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
101 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, ...