Skip to main content
added 87 characters in body
Source Link
user31220
user31220

This answers the unwrap part

This answers the unwrap part

Menu Bar for LaTeX

This answers the unwrap part

This answers the unwrap part

Menu Bar for LaTeX

added 852 characters in body
Source Link
user31220
user31220

Overview

| M-x package-initialize  <return>        | package-initialize        |
| C-x C-x C-f test.tex  <return>          | find-file                 |
| M-x display-line-numbers-mode  <return> | display-line-numbers-mode |
| M-g M-g 27  <return>                    | goto-line                 |
| C-2  C-c .                              | LaTeX-mark-environment    |
| C-u C-x r s a                           | copy-to-register  ?a      |
| C-<up>                                  | backward-paragraph        |
| C-SPC                                   | set-mark-command          |
| C-<down>                                | forward-paragraph         |
| C-w                                     | kill-region               |
| C-x r i a                               | insert-register   ?a      |

Detailed Answer

Overview

| M-x package-initialize  <return>        | package-initialize        |
| C-x C-x C-f test.tex  <return>          | find-file                 |
| M-x display-line-numbers-mode  <return> | display-line-numbers-mode |
| M-g M-g 27  <return>                    | goto-line                 |
| C-2  C-c .                              | LaTeX-mark-environment    |
| C-u C-x r s a                           | copy-to-register  ?a      |
| C-<up>                                  | backward-paragraph        |
| C-SPC                                   | set-mark-command          |
| C-<down>                                | forward-paragraph         |
| C-w                                     | kill-region               |
| C-x r i a                               | insert-register   ?a      |

Detailed Answer

edited body
Source Link
user31220
user31220

This answers the unwrap part

  1. Copy the below snippet to test.tex.
\documentclass[handout]{beamer}

\begin{document}

\begin{frame}
  
  \frametitle{Foo}
  
  \begin{block}{First Block}<+->
    Foo bar.
  \end{block}
  
  \begin{block}{Second Block}<+->
    Foo bar.
  \end{block}
  
\end{frame}

\makeatletter
\gdef\beamer@currentmode{beamer}
\makeatother
\begin{frame}
  
  \frametitle{Bar}
  
  \begin{block}{First Block}<+->
    Foo \uncover<+->{bar.}
  \end{block}
  
  \begin{block}{Second Block}<+->
    Spam \uncover<+->{eggs.}
  \end{block}
  
\end{frame}
\makeatletter
\gdef\beamer@currentmode{handout}
\makeatother

\end{document}
  1. emacs -Q
  2. M-x package-initialize
  3. C-x b *scratch*. Copy the below snippet and do M-x eval-buffer RET.
(defalias 'unwrap
  (kmacro "C-u C-x r s a C-<up> C-SPC C-<down> C-w <return> C-x r i a C-x C-s"))
(defalias 'unwrap
   (kmacro "C-u C-x r s a C-<up> C-SPC C-<down> C-w C-x r i a"))
  1. C-x C-f test.tex RET.
  2. M-x display-line-numbers-mode
  3. M-g M-g 1327
  4. C-2 C-c .
  5. M-x unwrap RET
  6. Profit

This answers the unwrap part

  1. Copy the below snippet to test.tex.
\documentclass[handout]{beamer}

\begin{document}

\begin{frame}
  
  \frametitle{Foo}
  
  \begin{block}{First Block}<+->
    Foo bar.
  \end{block}
  
  \begin{block}{Second Block}<+->
    Foo bar.
  \end{block}
  
\end{frame}

\makeatletter
\gdef\beamer@currentmode{beamer}
\makeatother
\begin{frame}
  
  \frametitle{Bar}
  
  \begin{block}{First Block}<+->
    Foo \uncover<+->{bar.}
  \end{block}
  
  \begin{block}{Second Block}<+->
    Spam \uncover<+->{eggs.}
  \end{block}
  
\end{frame}
\makeatletter
\gdef\beamer@currentmode{handout}
\makeatother

\end{document}
  1. emacs -Q
  2. M-x package-initialize
  3. C-x b *scratch*. Copy the below snippet and do M-x eval-buffer RET.
(defalias 'unwrap
  (kmacro "C-u C-x r s a C-<up> C-SPC C-<down> C-w <return> C-x r i a C-x C-s"))
  1. C-x C-f test.tex RET.
  2. M-x display-line-numbers-mode
  3. M-g M-g 13
  4. C-2 C-c .
  5. M-x unwrap RET
  6. Profit

This answers the unwrap part

  1. Copy the below snippet to test.tex.
\documentclass[handout]{beamer}

\begin{document}

\begin{frame}
  
  \frametitle{Foo}
  
  \begin{block}{First Block}<+->
    Foo bar.
  \end{block}
  
  \begin{block}{Second Block}<+->
    Foo bar.
  \end{block}
  
\end{frame}

\makeatletter
\gdef\beamer@currentmode{beamer}
\makeatother
\begin{frame}
  
  \frametitle{Bar}
  
  \begin{block}{First Block}<+->
    Foo \uncover<+->{bar.}
  \end{block}
  
  \begin{block}{Second Block}<+->
    Spam \uncover<+->{eggs.}
  \end{block}
  
\end{frame}
\makeatletter
\gdef\beamer@currentmode{handout}
\makeatother

\end{document}
  1. emacs -Q
  2. M-x package-initialize
  3. C-x b *scratch*. Copy the below snippet and do M-x eval-buffer RET.
(defalias 'unwrap
   (kmacro "C-u C-x r s a C-<up> C-SPC C-<down> C-w C-x r i a"))
  1. C-x C-f test.tex RET.
  2. M-x display-line-numbers-mode
  3. M-g M-g 27
  4. C-2 C-c .
  5. M-x unwrap RET
  6. Profit
deleted 2 characters in body
Source Link
user31220
user31220
Loading
Source Link
user31220
user31220
Loading