presentation

Markdown: Change default font size of code chunks in ioslides

我只是一个虾纸丫 提交于 2019-12-01 17:24:25
I am trying to change the font size of a code chunk (more precisely I want to use a smaller font). Take the following basic example: --- title: "Example" output: ioslides_presentation: toc: yes widescreen: yes --- ## Code ```{r, eval=FALSE} print(mtcars) ``` Anyone an idea? Is there a YAML option like code-font-size or something like that? You can change the default font size document wide using <style> pre { font-size: 20px; } </style> which you can put right underneath your YAML header or in a seperate stylesheet (CSS file) that you can include in your YAML. You may want to change the

Should css class names like 'floatleft' that directly describe the attached style be avoided?

冷暖自知 提交于 2019-11-30 06:22:01
问题 Lots of websites use class names like floatleft , clearfloat , alignright , small , center etc that describe the style that is attached to the class. This seems to make sense so when writing new content you can easily wrap (for example) <div class="clearfloat">...</div> around your element to make it behave the way you want. My question is, doesn't this style of naming classes go against the idea of separating content from presentation? Putting class="floatleft" on an element is clearly

Rpresentation in Rstudio - Make image fill out the whole screen

落爺英雄遲暮 提交于 2019-11-29 20:49:03
Making an Rpresentation in Rstudio with knitr I have a slide with just one picture, which I want to fill out the whole screen/slide. How do I do that? The second slide of the following .Rpres-document is set to 2000x2000 pixels but it still only fills a small area of the screen: first slide ====== Slide with plot which I want to fill the whole screen ======================================================== title: false ```{r, echo=FALSE,out.height="2000px",out.width="2000px"} plot(cars) ``` This is what I mean when I write that the picture does not "fill the whole screen", the red lines are

Hiding the presentation controls in LaTeX beamer presentation [closed]

冷暖自知 提交于 2019-11-29 20:32:09
I am currently building a presentation using LaTeX beamer. Is there a way to hide the presentation controls on the bottom of the slides? I don't use those controls, and they sometimes collide with the slide's text. Yes, from p.223 of the Beamer guide : To remove navigation symbols, \usenavigationsymbolstemplate{} Although it looks like the syntax has changed since then. This more recent page has: \setbeamertemplate{navigation symbols}{}%remove navigation symbols The simplest way is: \beamertemplatenavigationsymbolsempty 来源: https://stackoverflow.com/questions/3017030/hiding-the-presentation

Basic framework for presentations using HTML5 + javascript

↘锁芯ラ 提交于 2019-11-29 18:36:22
Do you know a framework for making presentations using only HTML5 and javascript technologies? I'm not talking about "export" features of various presentation software (powerpoint or OOo presentation). Some requirements for the presentations made with this "framework": take advantage of the latest HTML5 features (audio, video, canvas?) same with CSS3 (font support, gradient, shadows, transitions and transformations) If there's no such thing, example of good presentations or pointers on the subject would be appreciated. Edit: Found a nice example, HTML5 - web development to the next level .

Should css class names like 'floatleft' that directly describe the attached style be avoided?

谁说胖子不能爱 提交于 2019-11-28 17:44:51
Lots of websites use class names like floatleft , clearfloat , alignright , small , center etc that describe the style that is attached to the class. This seems to make sense so when writing new content you can easily wrap (for example) <div class="clearfloat">...</div> around your element to make it behave the way you want. My question is, doesn't this style of naming classes go against the idea of separating content from presentation? Putting class="floatleft" on an element is clearly putting presentation information into the HTML document. Should class names like this that directly describe

Rpresentation in Rstudio - Make image fill out the whole screen

让人想犯罪 __ 提交于 2019-11-28 17:04:14
问题 Making an Rpresentation in Rstudio with knitr I have a slide with just one picture, which I want to fill out the whole screen/slide. How do I do that? The second slide of the following .Rpres-document is set to 2000x2000 pixels but it still only fills a small area of the screen: first slide ====== Slide with plot which I want to fill the whole screen ======================================================== title: false ```{r, echo=FALSE,out.height="2000px",out.width="2000px"} plot(cars) ```

Basic framework for presentations using HTML5 + javascript

空扰寡人 提交于 2019-11-28 13:12:55
问题 Want to improve this post? Provide detailed answers to this question, including citations and an explanation of why your answer is correct. Answers without enough detail may be edited or deleted. Do you know a framework for making presentations using only HTML5 and javascript technologies? I'm not talking about "export" features of various presentation software (powerpoint or OOo presentation). Some requirements for the presentations made with this "framework": take advantage of the latest

UIModalPresentationFormSheet resizing view

泪湿孤枕 提交于 2019-11-28 03:27:45
I am interested to know on how I can resize the view when using UIModalPresentationFormSheet of modalPresentationStyle , it looks like it has a fixed size so I was wondering if anyone out there did managed to manipulate the popup view from the sizing perspective. So there is either UIModalPresentationFormSheet with a fixed view size or full views and I am after something in between. tosi MyModalViewController *targetController = [[[MyModalViewController alloc] init] autorelease]; targetController.modalPresentationStyle = UIModalPresentationFormSheet; targetController.modalTransitionStyle =

UIModalPresentationFormSheet resizing view

不羁岁月 提交于 2019-11-27 00:03:33
问题 I am interested to know on how I can resize the view when using UIModalPresentationFormSheet of modalPresentationStyle , it looks like it has a fixed size so I was wondering if anyone out there did managed to manipulate the popup view from the sizing perspective. So there is either UIModalPresentationFormSheet with a fixed view size or full views and I am after something in between. 回答1: MyModalViewController *targetController = [[[MyModalViewController alloc] init] autorelease];