beamer

two column beamer/sweave slide with grid graphic

独自空忆成欢 提交于 2019-12-03 04:25:29
问题 I'm trying to make a presentation on ggplot2 graphics using beamer + sweave. Some slides should have two columns; the left one for the code, the right one for the resulting graphic. Here's what I tried, \documentclass[xcolor=dvipsnames]{beamer} \usepackage{/Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/Sweave} \usepackage[english]{babel} \usepackage{tikz} \usepackage{amsmath,amssymb}% AMS standards \usepackage{listings} \usetheme{Madrid} \usecolortheme{dove} \usecolortheme

LaTeX beamer: way to change the bullet indentation?

邮差的信 提交于 2019-12-03 01:55:33
问题 I've checked the Beamer Class manual (PDF file). I can't figure out how to change the indentation bullet assigns to \itemize. [This is kind of important, as I'm using 2 column slides, and I don't want beamer to steal too much horizontal space]. 回答1: Beamer just delegates responsibility for managing layout of itemize environments back to the base LaTeX packages, so there's nothing funky you need to do in Beamer itself to alter the apperaance / layout of your lists. Since Beamer redefines

Changing the colour of \\textbullet in LaTeX Beamer

依然范特西╮ 提交于 2019-12-03 01:33:40
I don't want to use Beamer's standard blue colour theme. I want to use beaver , which is deep reds. Everything looks nice, except that if I use itemize the bullet points are still blue. Is there a nice way to have the bullets vary with what colour theme I was using? (If I were to opt for a yellowish colour theme, I'd expect the bullets to go yellow too.) If there isn't, what is the brute force way to change the bullet points red? Or at the very least, make them go back to black again. Bart Kiers ... what is the brute force way to change the bullet points red? ... This works for me:

Ignoring page numbers in backup slides

孤者浪人 提交于 2019-12-03 01:27:01
问题 I am using the beamer document class in latex to make a presentation. I will have a number of back up slides which are there for offline viewing, reference etc. Beamer has a feature that shows the progress through the presentation as {page#}/{total pages} on each slide. I would really like it if {total pages} was equivalent to my total number of pages w/out counting the back up slides (I don't want to discourage my audience on the first page!). Does anyone know how this can be done? 回答1: This

How to set any font size (e.g. 32pt) with \\setbeamerfont?

痴心易碎 提交于 2019-12-03 01:07:49
I want to set font size for frametitle with \setbeamerfont. How to set any font size (e.g. 32pt) with \setbeamerfont? Viet After reading the manual, I found the answer! It's simple: \setbeamerfont{frametitle}{family=\rmfamily,series=\bfseries,size={\fontsize{32}{36}}} where 32 is 32pt, the font size and 36 is the skip line size in pt. According to the manual (version 3.09), you can also use: size*={<font size>}{<baseline skip>} 来源: https://stackoverflow.com/questions/2619337/how-to-set-any-font-size-e-g-32pt-with-setbeamerfont

How to get rid of navigation bars in beamer

蹲街弑〆低调 提交于 2019-12-02 19:54:00
How to remove the navigation bar of sections and subsections on the top of each slide generated from a beamer latex file? By the way, in my preamble, I wrote: \setbeamertemplate{navigation symbols}{} \usepackage{beamerthemeshadow} Vivi I don't know whether this is what you want, but if you are talking about the navigation bar which has the symbols you can click on, this is the way to go: \beamertemplatenavigationsymbolsempty Funny, that is the second time you ask this.... By the way, you might want to check this proposal for a question/answer website focusing on LaTeX. The section navigation

Reduce space between code chunks and code output in rmarkdown beamer presentation

泪湿孤枕 提交于 2019-12-02 19:20:39
I'm building a presentation using rmarkdown and LaTeX/Beamer. I would like to reduce the spacing between the displayed R-commands and R-output. I believe this is related to the paragraph spacing options in LaTeX/Beamer. Is this something I should do in rmarkdown (chunk options, knit_hooks, or something else?), in the pandoc Yaml header (some pandoc option?), or in the LaTeX beamer template file? I feel like it should be in the LaTeX template file. Below is a working example of a minimal markdown file, and a .tex template file I'm using to control some beamer settings. example.Rmd --- title:

two column beamer/sweave slide with grid graphic

久未见 提交于 2019-12-02 18:44:45
I'm trying to make a presentation on ggplot2 graphics using beamer + sweave. Some slides should have two columns; the left one for the code, the right one for the resulting graphic. Here's what I tried, \documentclass[xcolor=dvipsnames]{beamer} \usepackage{/Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/Sweave} \usepackage[english]{babel} \usepackage{tikz} \usepackage{amsmath,amssymb}% AMS standards \usepackage{listings} \usetheme{Madrid} \usecolortheme{dove} \usecolortheme{rose} \SweaveOpts{pdf=TRUE, echo=FALSE, fig=FALSE, eps=FALSE, tidy=T, width=4, height=4} \title

Ignoring page numbers in backup slides

╄→尐↘猪︶ㄣ 提交于 2019-12-02 14:50:00
I am using the beamer document class in latex to make a presentation. I will have a number of back up slides which are there for offline viewing, reference etc. Beamer has a feature that shows the progress through the presentation as {page#}/{total pages} on each slide. I would really like it if {total pages} was equivalent to my total number of pages w/out counting the back up slides (I don't want to discourage my audience on the first page!). Does anyone know how this can be done? This can now be achieved with the following option on all "backup" slides: \begin{frame}[noframenumbering]{My

knitr: code in chunks gets wrapped unexpectedly

谁都会走 提交于 2019-12-02 05:27:09
In a beamer presentation using knit2pdf() and LaTeX, I sometimes find that code in chunks gets wrapped, even though I have set tidy=FALSE globally. For example, this chunk: \item Fit this using \func{glm}: <<berk-logit2, size='footnotesize'>>= berkeley <- as.data.frame(UCBAdmissions) berk.logit2 <- glm(Admit == "Admitted" ~ Dept + Gender, data = berkeley, weights = Freq, family = "binomial") @ Appears like this: Note that all three lines are wrapped, as if in paragraph mode. The indented line in the code chunk uses spaces, not tabs. When I look at the .tex file produced, nothing looks strange,