Option to skip a section in R markdown (slides as output) - knitr

I have an ioslides_presentation with multiple slides (say 20). Some of the slides are optional (say 10-14). I want to allow the user to skip those optional slides (option to move directly from slide 9 to slide 15). Is this possible without going through each of the intermediate slides?
Edit
I want the slide to open in same tab. However, the following markdown opens a new tab in R v3.3.0 and knitr v1.12.3:
This is slide 5
[Go to slide 10](#/10)
Edit on edit
The following code opens a new tab starting from title slide in R v3.3.0 and knitr v1.12.3:
---
title: "Untitled"
output: ioslides_presentation
---
## R Markdown
[Go to slide 2](#/slide2)
## Slide with Bullets
id: slide2

Related

Visual Studio Code Html tag allignment

On line 14 to 17 p tags are wrapping the text from top and bottom but on line 18 p tag is wrap the text from right and left. I noticed that the length of line cause that but I can't find the setting of it. I want all tags are wrap the content from top and bottom like line 14 to 17. Which settings do I have to change.
I found a way in Vscode:
File -> Preferences -> Settings -> Extensions -> Prettier -> find the tab width and change the 80 value to 1 or 2 in that case everything I write in tags are automatically placed in the top and bottom of the text between texts.
As seen in the picture tags are always on the top and bottom of the text.
Maybe this answer helps: (Configuring the formatting of <% %> blocks in Visual Studio editor)
Or check vscode html-formatter : https://code.visualstudio.com/docs/languages/html#_formatting

VSCODE - TAB right after the word not working as expected

vscode:
version - 1.40.2
On a normal text type file, type Hello and hit TAB.
All i want is when i hit tab vscode should register 2/4 spaces (what i have configured in the settings.json for the specific language) not a single space.
HelloTAB
Expected: Hello****|
Actual: Hello*|
Make sure you have unchecked Editor: Detect Indentation. Checking this option will override the Tab Size configuration. E.g. if the opened file has 1 space tab indentation but you have configured a 4 spaces tab indentation - the tab size will be 1 space.
Ctrl + , to open Settings.json
Enter in "spaces" in search
Uncheck Editor: Detect Indentation
Leave Editor: Insert spaces checked if you want to insert actual spaces instead of a tab (i.e. you need to do 4 backspaces if you made a mistake). Or unchecked it if you want to insert actual tabs.
Also, you can check what is the configured tab size for that particular opened file by looking at the bottom right of your editor:

How to create sub-headers in org-mode (emacs)?

Hello I was wondering how to create sub-headers in an org document. I have tried this:
* header
* sub-header
Some text
The * works for the header part but will create bullets instead of sub-headers.
for these kind of questions the org-manual is the best place to check: https://orgmode.org/org.html#Headlines
Headlines define the structure of an outline tree. The headlines in Org start with one or more stars, on the left margin3. For example:
* Top level headline
** Second level
*** Third level
some text
*** Third level
more text
* Another top level headline
Hope, this helps!
As a supplement to the answer by #sanenr9, you can also enable a "clean view" that hides all but the last star in a heading if you prefer (see A Cleaner Outline View): the asterisks are still there in the buffer but they are hidden using an overlay.
Another useful hint is to examine the "Org" entry in the menu: there are many useful commands there (generally with a keyboard shortcut as well). E.g. you can add a new heading at the same level as the previous heading by clicking on the "New Heading" entry in the "Org" menu and you can then make it into a subheading by clicking on
"Org/Edit Structure/Demote heading" menu item (or you can use the indicated keyboard shortcut M-<right> which is done by holding down the Meta key and pressing the right arrow key.)

MSWORD2016: How do I force Table of Contents to identify a custom style as a heading?

I started with the minimalist table of contents title style, in other words based on the ToC Heading template. The important aspect is this template creates a vertical bar to the left of the title (picture below).
I would like to reproduce this for all of my headings throughout my document. My conundrum is the following:
As the base style is ToC Heading and not Heading 1, the table of contents will not reference it.
When I modify the base style from ToC Heading to Heading 1, the table of contents will naturally reference it; however, the vertical bar to the left of the title name is lost, as Heading 1 does not include this bar.
In other words, I want to keep the vertical bar, but it seems that only a ToC Heading base includes this aesthetic.
Picture (vertical bar can be seen in the document; style is based on ToC Heading)
How can I either force the table of contents to recognize my custom style as a heading to reference, or how can I retain the same aesthetic in my custom style after switching to a Heading 1 base?
Thank you!
Found it.
Highlight existing table of contents (highlighting the ToC title will create a menu above and to the left. Clicking on the ":" will highlight everything).
Click reference tab, look at the icon to add a table of contents, and click the arrow for a drop down menu.
Select custom table of contents from here.
Go to format. My custom style appeared there. I selected 1 as its heading level. It is now treated the same as Heading 1.
Add this table of contents and check the option to replace the current table.
Hope that helps someone else!

Powerpoint slide master - page numbers aren't aligned to the same line

I hope someone can help me, I have never created a slide master before and created one as good as I could
But when I use the template(?) slides the numbers on some page are NOT in the same line or row as the one before
Example:
page 5 http://i.imgur.com/KXr0Bnv.png
page 6 http://i.imgur.com/CxIM1YK.png
from page 1 to 5 is exactly what I want it to look like, but from 6 to 10 the numbers are moved more to the right side of the page
What I have tried:
I tried to copy-paste the text box (or page number textbox) from page
5 to 6 = Same output
I tried to create a new slidemaster and copy the slide master from
the old one to the new one without the footer page number box = Same
output
I tried to add more space or margin on the right side of the number =
Moves too much to the left
Conclusion:
I hate powerpoint