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
0answers
10 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
39 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
138 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
40 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
46 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
17 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
46 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
30 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
22 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
77 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
181 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
39 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
42 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
vote
1answer
83 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
88 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
0answers
82 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
159 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
47 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
277 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
71 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
122 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
903 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
47 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
43 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
85 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
131 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
620 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
418 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
972 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
35 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
207 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
206 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
364 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
642 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
358 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
890 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
317 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
121 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
150 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
245 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
257 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
144 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
568 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
126 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
133 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 ...
1
vote
1answer
321 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
71 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 ...