Org-mode beamer, stop a 2-column block and display following text throughout page width - org-mode

I want to compose a beamer frame which consists in two blocks side-by-side, followed by text laid out throughout the page width, that is under the 2 blocks above. Producing the two blocks works fine. However, none of my attempts (e.g putting a '-' to start a new list, putting more than a couple of empty lines after the last block text) could stop the block section.
Here is a MWE.
*** Left block :B_column:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.5
:END:
My left block of text here
*** Right block :B_column:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.48
:END:
My right block of text here.
- I'd like this piece of text to go below left and right
blocks of text throughout the page width but it stays
in the right block.
The generated LaTeX source for this will typically be, for right block:
\begin{column}{0.48\textwidth}
\begin{block}{Right block}
My right block of text here.
\begin{itemize}
\item I'd like this piece of text to go below left and right
blocks of text throughout the page width but it stays
in the right block.
\end{itemize}
\end{block}
\end{column}
while i would like the \end{column} to appear before \begin{itemize}.
I guess we can tell Beamer to stop the block but could not find out.
Edit: i found meanwhile a workaround solution, which is to create a new block without title (using ***[blank]) to contain the fullwidth text (see below). However, this is not exactly what i expected as this last block has all the properties of a block, in particular a background color.
*** Left block :B_column:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.5
:END:
My left block of text here
*** Right block :B_column:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.48
:END:
My right block of text here.
***
I'd like this piece of text to go below left and right
blocks of text throughout the page width but it stays
in the right block.
Edit 2: The solution proposed by rvf0068 works well. Let me post the whole source code. Using org-mode shortcuts, Ctrl-C Ctrl-B when positioned on the ***[blank] headline, prompts you for the block type, for which 'i' (B_ignoreheading) is what you need._
*** Left block :B_column:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.5
:END:
My left block of text here
*** Right block :B_column:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.48
:END:
My right block of text here.
*** :B_ignoreheading:
:PROPERTIES:
:BEAMER_env: ignoreheading
:END:
I'd like this piece of text to go below left and right
blocks of text throughout the page width but it stays
in the right block.

You need to add the property BEAMER_env with value ignoreheading to the heading that interrupts the columns.
*** :B_ignoreheading:
:PROPERTIES:
:BEAMER_env: ignoreheading
:END:
#+beamer: \vspace{1cm}
I'd like this piece of text to go below left and right
blocks of text throughout the page width but it stays
in the right block.
Note that I added #+beamer: \vspace{1cm} since otherwise it looks cramped.

What about this?
** Test
*** Top two-column block :B_columns:
:PROPERTIES:
:BEAMER_env: columns
:END:
**** Left block :B_column:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.5
:END:
- My left block of text here
**** Right block :B_column:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.50
:END:
- My right block of text here.
*** Bottom two-column block :B_columns:
:PROPERTIES:
:BEAMER_env: columns
:END:
**** ##beamer: ~## :B_block:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.99
:END:
- I'd like this piece of text to go below left and right blocks of
text throughout the page width but it stays in the right block.
**** ##beamer: ~## :B_block:
:PROPERTIES:
:BEAMER_env: block
:BEAMER_col: 0.01
:END:
The trick is to:
Embed your two blocks in a two-column columns block
Create another two-columns section below
Put your stuff in the left bottom column.
Notes:
Tried one-column section in step 2, but adjustment looked weird. Same with ignoreheading solution by #rvf0068
Width sum of two-columns should be equal.
Bottom left column almost full width.
Bottom right column very small and empty.
The ##beamer: ~## is to trick org-mode to use a blank title.
I'm sure there are better solutions (single-column in step 2) to sort out the adjustment, but this worked for me.

Related

How to place the multiline cursor at end of each line but at the position in each line?

Let's say I want to place hyphen at the end of each line. I know I can do that by pressing Shift+Alt button in windows(to enable multiline cursors) and then jump to the end of line. (shown in the image below)
However, I want to place the cursor(and therefore hyphen) at the same position. In other words, I want hyphen to be below each another. Here is the pic of what I want -
Is there anyway to do this in vscode using multi-line shortcuts ?
Why do I want this ? To increase readability of my code.

Add left space/margin/padding in VS Code editor window between line numbers and code

I would love to have some space between the line numbers and the first intendation/code in the VS Code editor window:
I just want to indent the code in the editor without actually adding whitespace in the code.
I tried "editor.glyphMargin", but this will only increase the space on the left of the line numbers, not between the line numbers and the code.
I'm also aware of the "Centered Layout" view, but this also decreases the width of e. g. the tabs for the file selection.
Is there a setting I'm missing or do I need a plugin/custom CSS?
You can try this --
"editor.lineDecorationsWidth": 25,
This increases the space on the right side of the numbers. I haven't seen anything that increases the padding on the other side of the gutter nearest your code.
Opinion --
Ideally, there would be a editor.padding.left like there is a editor.padding.top, but I haven't seen this yet.

Table of content in MS Word 2010

I have a problem figuring this thing out. On other MS Word documents Heading 1 is in normal position (first in line left corner), but in this particular document it's ahead of Heading 2 & Heading 3. I just don't get it why & how I can fix it?Crazy table of content
A short answer, since the topic could also be of interest to developers programming Word:
You need to look at the TOC 1 style. It appears that a FirstLine indent has been set. If this is removed Toc level 1 should align left, same as the other levels.

Limiting scroll bar length

I am trying to create a simple notepad like GUI using Perl Tk. I have used the Scrolled widget to create a Text widget with two scrollbars - one on the right and one on the bottom. The place where the two scrollbars meet looks like this:
However I would like to make it look like what is seen in the "Notepad" application by Microsoft. This is how I want it:
As you can see, there is a now an "empty square" where the two scrollbars meet. One more feature of notepad is that this "square" can be used to resize the window size. I want to be able to achieve the same.
How do I go about doing this?
Thanks!
The trick is to place the widgets with the grid geometry manager, which essentially creates an (uneven-sized) 4x4 grid with the text widget at "North-West", the vertical scrollbar at "North-East", the horizontal scrollbar at "South-West", and the empty square at "South-East". There is a relevant example on the man page.
I think I'm allowed to quote the man page example as fair use (noting that it's Copyright © 1995-1997 Roger E. Critchlow Jr. Copyright © 1996 Sun Microsystems, Inc.).
# Make the widgets
toplevel .t
text .t.txt -wrap none -xscroll {.t.h set} -yscroll {.t.v set}
scrollbar .t.v -orient vertical -command {.t.txt yview}
scrollbar .t.h -orient horizontal -command {.t.txt xview}
# Lay them out
grid .t.txt .t.v -sticky nsew
grid .t.h -sticky nsew
# Tell the text widget to take all the extra room
grid rowconfigure .t .t.txt -weight 1
grid columnconfigure .t .t.txt -weight 1
You'll have translate to Perl-Tk yourself, however. There is some Perl-Tk-related discussion of grid (though not specifically about scrollbars) here at TkDocs that might get you started. The "Learning Perl/Tk" sample chapter Geometry Management also discusses grid.
Oh! You wanted a resizing control in the fourth square as well. In Tcl/T(t)k, it's called a ttk::sizegrip and it's documented here. I've never used it myself (as there are other ways to resize the window) and don't know if it's in Perl-Tk. If it's not, there is a wiki page discussing how to fake it (again, I've never tried that code myself).

Rectangular selection visual glitch

When I start a rectangular selection (C-x SPS), firstly, a thin line appears at the side of the rectangle which shifts lines to the right.
Is there a way to make rectangular selection seamless?
The thin line is put "on purpose" to visually show where is the empty rectangle. We could make it optional (in which case the 0-width rectangles would simply not be displayed). Please use M-x report-emacs-bug since that's where this discussion should take place.