Skip to main content

New answers tagged

5 votes
Accepted

Unicode character └ (U+2514) not set up with LaTeX (when using) pandoc with markdown text file

In general Unicode character not set up for use with LaTeX error shows you how to add missing unicode characters. However in your specific case, you are lucky and just adding \usepackage{pmboxdraw} ...
samcarter_is_at_topanswers.xyz's user avatar
1 vote

Pandoc from Markdown to PDF: Font size is affected by linestrech?

The article class does not have an option for 13pt. therefore, if you set the fontsize: to 13pt or to 237pt the result is the same:: the default font size (10pt). Maybe you can consider to simply ...
Fran's user avatar
  • 82.2k
1 vote

Circled numbers ❶, ❷, etc. as bullets and in paragraphs

\documentclass{article} \usepackage[margin = 2cm]{geometry} \pagestyle{plain} \usepackage{tikz} \usepackage{enumitem} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{\node[circle, draw, inner sep=...
ljguo's user avatar
  • 1,377
0 votes

How to change entry-spacing to something like 0.5 with CSL stylesheet ieee-with-url

I just ran into this as well and came up with different ways to deal with this. Header includes Pandoc allows to specify arbitrary LaTeX code that will be included in the template. This can be used to ...
tarleb's user avatar
  • 735
1 vote
Accepted

\fancyvrb with bolded text in Verbatim

Sorry, but this is wrong under many respects. Main one: you cannot use Verbatim in the argument to a command. Second issue, but very important: you're defining \boldverb with a single optional ...
egreg's user avatar
  • 1.1m
1 vote

Converting LaTeX to HTML without losing formatting from titlesec & titling

All converters try to produce clean HTML with semantic markup. Replicating of the exact visual style as in the PDF is not something that could be easily done automatically. It is best to leave it to ...
michal.h21's user avatar
  • 51.1k
14 votes

Circled numbers ❶, ❷, etc. as bullets and in paragraphs

You can set up the negative circled numbers to use a font of your choice which contains them. I used Noto Serif CJK SC because it was the first serif font I found on my system that supported all the ...
David Purton's user avatar
  • 26.4k
2 votes

Creating Lua filters; tikz externalize trouble

The sole purpose of externalisation is to create the images independently of the document. You might do this for various reasons: to speed compilation (typically) or because you want to manipulate the ...
cfr's user avatar
  • 205k
15 votes

Circled numbers ❶, ❷, etc. as bullets and in paragraphs

Option 1: Use a font with the glyphs as DejaVu Sans. Option 2: Use the pifont package. \documentclass{article} \usepackage{fontspec} \setmainfont{DejaVu Sans} \usepackage{pifont} \begin{document} ❶ ❷...
Fran's user avatar
  • 82.2k
1 vote

Parsing macros and tikzstyle in Quarto (imagify Lua filter)

As samcarter_is_at_topanswers.xyz proposed, replacing \tikzstyle by the new syntax \tikzset worked. Here is the qmd file with the new yaml header: --- filters: - imagify imagify: header-includes: |...
mistral's user avatar
  • 105
0 votes

From Markdown to PDF by pandoc: how to change the font-size to 13pt with using KOMA-script

Unfortunately I do not really know, which font sizes you want to use for \Huge … \tiny and which other values for the other lengths set by the font size files. So this answer describes only how the ...
cabohah's user avatar
  • 13.3k
1 vote
Accepted

From Markdown to PDF by pandoc: how to change the font-size to 13pt with using KOMA-script

If you just want to change the size of the text, without changing the size of section titles etc., you could switch the size at the start of the document: --- output: pdf_document documentclass: ...
samcarter_is_at_topanswers.xyz's user avatar
2 votes

Tikz plot in Quarto

Following the link from @cfr in the comments (tex.meta.stackexchange.com/q/228) I built the MWE that could recreate the problem and actually found the solution! Here is the MWE that still requires you ...
mistral's user avatar
  • 105
0 votes

Undefined control sequence using citeproc to convert MD to PDF with a template. Works fine without template

for those landing here, the answer is in https://github.com/Zettlr/Zettlr/issues/4879 replace your current code inside $if(csl-refs)$ to $endif$ with the code posted here "Alexandros81 commented ...
KJB's user avatar
  • 1

Top 50 recent answers are included