pdflatex

Sphinx automodule, no text wrap in class name (latexpdf)

会有一股神秘感。 提交于 2021-02-10 22:42:19
问题 I'm generating pdf using make latexpdf of Sphinx. This mostly works fine but I have a quite deep folder structure for my project resulting in class names that do not fit on the page. Anyone who knows how I can tackle this? Here is a screenshot of the problem: 回答1: Hi I hope you found the solution if not add the code below in the preamble of your conf.py \makeatletter \renewcommand{\pysigline}[1]{% \setlength{\py@argswidth}{\dimexpr\labelwidth+\linewidth\relax}% \item[{\parbox[t]{\py@argswidth

Level 4 Heading issue in R Markdown

我的梦境 提交于 2021-02-07 14:20:56
问题 When I use #### for a level 4 heading, the output in pdf(latex) does not leave a line space before the paragraph begins. For example, #### Heading 4 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. Output only in pdf(latex) looks like this Heading 4 Lorem Ipsum is simply dummy text of the printing

How to change font and point size in bookdown pdf?

无人久伴 提交于 2021-01-22 03:34:10
问题 I am writing a document with a strict requirement to use arial 12 point. I have modified my output yml in bookdown like this: site: bookdown::bookdown_site fontsize: 12pt fontfamily: arial documentclass: book output: bookdown::pdf_book: includes: in_header: preamble.tex keep_tex: yes toc_depth: 3 toc_appendix: yes clean: [packages.bib, bookdown.bbl] but it has no effect on the output other than I was forced to install some extra font packages in MikTex package manager, but even after this was

How to change font and point size in bookdown pdf?

↘锁芯ラ 提交于 2021-01-22 03:21:27
问题 I am writing a document with a strict requirement to use arial 12 point. I have modified my output yml in bookdown like this: site: bookdown::bookdown_site fontsize: 12pt fontfamily: arial documentclass: book output: bookdown::pdf_book: includes: in_header: preamble.tex keep_tex: yes toc_depth: 3 toc_appendix: yes clean: [packages.bib, bookdown.bbl] but it has no effect on the output other than I was forced to install some extra font packages in MikTex package manager, but even after this was

How to change font and point size in bookdown pdf?

浪子不回头ぞ 提交于 2021-01-22 03:15:12
问题 I am writing a document with a strict requirement to use arial 12 point. I have modified my output yml in bookdown like this: site: bookdown::bookdown_site fontsize: 12pt fontfamily: arial documentclass: book output: bookdown::pdf_book: includes: in_header: preamble.tex keep_tex: yes toc_depth: 3 toc_appendix: yes clean: [packages.bib, bookdown.bbl] but it has no effect on the output other than I was forced to install some extra font packages in MikTex package manager, but even after this was

Video embedded into pdf with Latex does not play correctly

故事扮演 提交于 2021-01-05 09:11:41
问题 I want to embed an mp4 video (with H.264 codec) into a pdf with Latex, using the media9 package. There are no error messages during compilation. Before activating the video in the pdf, there is a still image (as intended), but after activation, there is just a black window, without the video being played properly. A minimal example to illustrate is given below. It is a shortened version of an Overleaf template for embedding mp4 files into pdf documents with Latex. I have attached the still

R Sweave (Rnw) won't produce a PDF file - exit code 1

只谈情不闲聊 提交于 2020-12-15 05:16:32
问题 I've recently been learning how to use sweave in R to create PDF files out of Rstudio, and my machine has suddenly stopped being able to create a PDF using sweave. It can still create PDFs in rMarkdown, but it gives the exit code one when it fails to do so in sweave. There are maybe a dozen questions that I've found online that ask similar questions, but none of the answers have helped. I've tried changing the %PATH% in my environment window, I've uninstalled and reinstalled rStudio and

Weird subprocess issue with Django

北慕城南 提交于 2020-11-27 04:32:34
问题 I'm sorry if this is a duplicate question, but after searching through 3 pages for "django subprocess", I, for one, could not find the answer to my particular problem. I'm trying to run pdflatex on tex file, but for some reason in Django it doesn't produce anything. It works just fine in a regular python script, though. I've omitted most of the code here, but this is basically the important bit. I'm running this on apache2 with mod_wsgi, and I suspect that it might be an apache permissions

Weird subprocess issue with Django

≡放荡痞女 提交于 2020-11-27 04:31:21
问题 I'm sorry if this is a duplicate question, but after searching through 3 pages for "django subprocess", I, for one, could not find the answer to my particular problem. I'm trying to run pdflatex on tex file, but for some reason in Django it doesn't produce anything. It works just fine in a regular python script, though. I've omitted most of the code here, but this is basically the important bit. I'm running this on apache2 with mod_wsgi, and I suspect that it might be an apache permissions

Weird subprocess issue with Django

微笑、不失礼 提交于 2020-11-27 04:29:25
问题 I'm sorry if this is a duplicate question, but after searching through 3 pages for "django subprocess", I, for one, could not find the answer to my particular problem. I'm trying to run pdflatex on tex file, but for some reason in Django it doesn't produce anything. It works just fine in a regular python script, though. I've omitted most of the code here, but this is basically the important bit. I'm running this on apache2 with mod_wsgi, and I suspect that it might be an apache permissions