beamer

How to best manage multi-lingual presentations?

落爺英雄遲暮 提交于 2019-12-10 15:56:23
问题 I have a presentation done in Latex+Beamer, currently in french. I also need to make the same presentation, with the same structure, in dutch. I'd like to maintain the presentation in one file, so that if I want to change the structure of it, I only have to do it in one place. What's the best way to put the translations outside of the presentation file? I thought of defining a command for each text element to be present in the slides, and having a different command definition for each

Knitr escape latex special characters (e.g., ~, $) in R code

£可爱£侵袭症+ 提交于 2019-12-10 15:11:49
问题 LaTeX crashes when I run it on the output of this knitr document because the LaTeX special characters aren't properly escaped. Any hints how to fix this? \documentclass{beamer} \begin{document} \begin{frame}{Unescaped dollar signs and tildes} In this example, neither the tilde nor the dollar sign will appear in the pdf document, and the dollar sign will cause a \LaTeX error. <<xtable, results="asis">>= n <- 100 x <- rnorm(n) y <- 2*x + rnorm(n) out <- lm(y ~ x) library(xtable) xtable(summary

latex beamer: prevent showing the TOC at one occasion

无人久伴 提交于 2019-12-10 04:06:44
问题 Normally I use \AtBeginSection[] { \begin{frame}<beamer>{Gliederung} \tableofcontents[currentsection] \end{frame} } in my preamble to achieve that before a new sections starts the TOC is shown with the now starting section highlighted. In the talk I am actually preparing I have one special section for which I do not want this behavior. The transition from the section before should be "silent". All the other sections should start like they do now. I am sure that must be possible. 回答1: In the

How to get rid of navigation bars in beamer?

梦想的初衷 提交于 2019-12-07 06:47:16
问题 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. 回答1: The stupid way to make sure the presentation structure does not show up, (independent of theme) comment out the \section and \subsection commands. 回答2: 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.

How do I create a new Beamer environment with a verbatim environment?

狂风中的少年 提交于 2019-12-06 06:00:27
I'm creating a Beamer presentation that has a lot of example LaTeX in it, which has to go in a verbatim environment. I'm getting tired of typing \begin{example} \begin{verbatim} Verbatim Text \end{verbatim} \end{example} I wish to create a new command or environment that will shorthand this for me. I also need this for blocks and theorems, since I'm using those frequently as well. But if I can figure it out for examples, it should be easy to translate to another example. I can't create a new environment or command using just \begin{verbatim}, since it cuts off the rest of the command. So I

Resize matrix in LaTeX beamer

谁说我不能喝 提交于 2019-12-05 17:08:08
Hi I was wondering how to resize matrices in a beamer environment. Currently I am writing the following code: \begin{align*} \left( \begin{array}{ccccccc} 0 & 1 & & & & & \\ -1 & 0 & & & & & \\ & & 0 & 1 & & & \\ & & -1 & 0 & & & \\ & & & & \ddots & & \\ & & & & & 0 & 1 \\ & & & & & -1 & 0 \end{array} \right) \end{align*} and the matrix takes up almost a whole page. I would like it to be about half a page in height. Benjamin Bannier See this answer for how to change font dimensions in LaTeX's math mode. Edit Specifying font sizes in beamer is no different from specifying them in other LaTeX

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

How can I change fonts in a beamer presentation that uses Sweave?

别来无恙 提交于 2019-12-05 12:15:09
When I include \usepackage{Sweave} in the preamble of a beamer presentation, beamer ignores changes to font, e.g., \usepackage{helvet} . Here is a minimal example: \documentclass[professionalfonts]{beamer} \usepackage[T1]{fontenc} \usepackage{helvet} \usepackage{Sweave} \begin{document} \begin{frame} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. \end{frame} \end{document} The text is set in computer modern,

tikz: set appropriate x value for a node

纵然是瞬间 提交于 2019-12-05 00:10:05
问题 This question resulted from the question here I want to produce a curly brace which spans some lines of text. The problem is that I have to align the x coordinate manually, which is not a clean solution. Currently I use \begin{frame}{Example} \begin{itemize} \item The long Issue 1 \tikz[remember picture] \node[coordinate,yshift=0.7em] (n1) {}; \\ spanning 2 lines \item Issue 2 \tikz[remember picture] \node[coordinate, xshift=1.597cm] (n2) {}; \item Issue 3 \end{itemize} \visible<2->{ \begin

Tables and Figures side-by-side in Knitr or RMarkdown Beamer

不问归期 提交于 2019-12-04 20:05:18
问题 I am trying to create a Beamer Presentation slide in RMarkdown / Knitr . In the slide I would like to have a table and a figure placed Side-by-side , and then some more text underneath. I can only get as far as my attempt as shown in the code. I would like to have the density plot placed, next to the Hmisc Table. I am not using Kable or xtable since I get more control over the tables with Hmisc. Also, How can I adjust the text characteristics (font-size, type, color) in the individual slides?