pdflatex

How to stitch two PDF pages together as one big page?

送分小仙女□ 提交于 2019-12-06 02:49:55
I have two 36" by 48" posters (LaTeX) that I want to append into a single 72" by 48" poster (stack vertically). Browsing around SO and GS documentation, I have no clue (I'm not a CLI wizard). How can I do this? (Also, the process should not compress the raster images lossily, because this will be printed 2400*1200 DPI.) Since the OP didn't provide (a link to) the original input posters, this answer will proceed in three steps: Create 2 dummy posters as input for step 3 Create a LaTeX document which embeds the 2 dummy posters Run pdflatex to create a PDF from the LaTeX document in step 2 Step 1

How can I set the latex path for sweave in R?

◇◆丶佛笑我妖孽 提交于 2019-12-06 02:38:45
问题 I would like to know how I can set the pdflatex path in R to use sweave . Because I have 2 different MikTeX installations and one is working properly. Please take into account that I am using R (RStudio) in Windows . I found some suggestion however, for Linux or Unix users. thanks in advance 回答1: If you have multiple installs of LaTeX (i.e. MikTeX) and you want to use a specific one of these, then you need to make sure that R finds the one you need first. This means that you have to add the

How to get rid of navigation bars in beamer?

孤者浪人 提交于 2019-12-05 13:17:37
How can I remove the navigation bar of sections and subsections on the top of each slide generated from a beamer latex file? I'm using the package beamerthemesplit. The stupid way to make sure the presentation structure does not show up, (independent of theme) comment out the \section and \subsection commands. Beamer has different themes you can use, some of which include that navigation bar and some of which don't. The default theme, for example, doesn't include any navigation bar. All the themes available with Beamer are described in the user guide ; just pick one that suits your

Longtable in a knitr (PDF) document: using xtable (or kable)

时光总嘲笑我的痴心妄想 提交于 2019-12-05 05:17:39
I am new to knitr and I have had some very basic latex knowledge in the past, so I googled already hoping to find a solution that was already posted somewhere. However, I was not able to solve my problem. I am hoping someone will be kind enough to provide help. I have a data frame of 14 columns and many rows, let's say 60. Using the data I need to produce a PDF report in landscape layout and present this data frame as a table there. The closest solution I found is here at tex.stackexchange.com: LaTex Longtable spanning several pages I used some of the hints there. However, the table is not

Latex Table of Contents Links to Wrong Section

社会主义新天地 提交于 2019-12-04 09:17:35
问题 I have a section followed by a table of contents like so: \section{Section1} ABC. \addcontentsline{toc}{section}{Table of Contents} \tableofcontents \newpage \addcontentsline{toc}{section}{List of Figures} \listoffigures \newpage \section{Section2} DEF. \section{Section3} GHI. My issue is that the "Table of Contents" and "List of Figures" entries in the table of contents link (in the generated pdf) to the wrong place in the file. They both link to the first section section on page 1. The

How can I set the latex path for sweave in R?

两盒软妹~` 提交于 2019-12-04 06:31:24
I would like to know how I can set the pdflatex path in R to use sweave . Because I have 2 different MikTeX installations and one is working properly. Please take into account that I am using R (RStudio) in Windows . I found some suggestion however, for Linux or Unix users. thanks in advance If you have multiple installs of LaTeX (i.e. MikTeX) and you want to use a specific one of these, then you need to make sure that R finds the one you need first. This means that you have to add the location of your preferred version of pdfLaTeX at the front of your PATH system environment variable. If you

Latex \\tableofcontents command always shows blank Contents on first build

偶尔善良 提交于 2019-12-04 02:53:15
When I generate a .pdf file from a .tex file using pdflatex , only the "Contents" title is shown with no actual TOC. If I run pdflatex my.tex once more, it generates the TOC just fine. I can reproduce this simply by removing the .toc file. What I think is happening is that my .toc file is being generated too late -- so how can I make the TOC work first time? Should I be generating the TOC beforehand without using pdflatex ? This is normal. LaTeX document need several compilations to reach a stable state. Use rubber -d my to compile the right number of times ( rubber comes as a package on many

Difference between “Compile PDF” and knit2pdf

守給你的承諾、 提交于 2019-12-03 20:56:43
问题 I have a .Rnw file that I am able to compile into a PDF using the "Compile PDF" button in RStudio (or Command+Shift+k). However, when I use knit2pdf the graphics are not created and the complete PDF is not created. Why would this happen? How do you specifically set where the images will be stored so that pdflatex can find them? Here is an example. I am aware that this question that I posted a few days ago has a similar example, but in my mind these are two different questions. This file will

pandoc doesn't text-wrap code blocks when converting to pdf

你离开我真会死。 提交于 2019-12-03 14:50:55
问题 I'm using pandoc with xelatex engine to convert markdown to pdf. I'm running pandoc like this: pandoc -s 'backbone-fundamentals'.md -o 'backbone-fundamentals'.pdf \ --title-prefix 'Developing Backbone.js Applications' \ --normalize \ --smart \ --toc \ --latex-engine=`which xelatex` If a code line is longer than the pdf document width it just gets cutoff. Is there anyway to have pandoc text wrap long code lines? 回答1: Not having the text wrapped is (part of) the point of code blocks. As far as

Icelandic, utf8 and utf8x in LaTeX

老子叫甜甜 提交于 2019-12-03 10:20:06
First of all, what's the difference between utf8 and utf8x in \usepackage[utf8]{inputenc} \usepackage[utf8x]{inputenc} when used in LaTeX? Secondly, what packages are required when writing an article in Icelandic using LaTeX? I found: \usepackage[icelandic]{babel} \usepackage[T1]{fontenc} \usepackage[utf8x]{inputenc} after experimenting a bit but I have a feeling some part of the code may be redundant. And even with them the aforementioned packages, the code inside \begin{lstlisting} ... \end{lstlisting} isn't rendered with Icelandic characters when outputted through pdflatex in Ubuntu,