4

I have the following set of equations:

\documentclass[10pt, aspectratio=169]{beamer}
\usefonttheme{serif}

\usepackage{booktabs} % tables
\usepackage{amsmath} % align, 
\usepackage{siunitx} % units, numbers
\usepackage{mathtools}
\usepackage[singlelinecheck=false]{caption}
\usepackage{tabularray}
\UseTblrLibrary{amsmath,booktabs}

\setbeamerfont{caption}{size=\footnotesize}
\setbeamertemplate{caption label separator}[space]

\begin{document}
    \begin{frame}{}
    \begin{align}
        &(\partial_t+\mathbf{v}_{\parallel}\cdot\nabla_{\parallel}+\omega\partial_z)\mathbf{v}_{\parallel}+\epsilon(2\mathbf{\Omega}\times\mathbf{v})_{\parallel}+\tfrac{\Theta}{\epsilon}\nabla_{\parallel}\Tilde{\pi}=\mathbf{Q_v}\\
        \begin{split}
            &[\epsilon\partial_{t_m}+\epsilon^2\partial_{t_s}+\epsilon\mathbf{v}_{\parallel}\cdot\nabla_m+\epsilon^2\mathbf{v}_{\parallel}\cdot\nabla_s+\epsilon(\alpha_{\omega}\omega_1+\epsilon\omega_2+\dots)\partial_z]\mathbf{v}_{\parallel}\\
            &+\epsilon(2\mathbf{\Omega}\times\mathbf{v})_{\parallel}+(1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_m\Tilde{\pi}+\epsilon(1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_s\Tilde{\pi}=\mathbf{Q}_{\parallel}\\
        \end{split}\\
        \begin{split}
            &[\epsilon\partial_{t_m}+\epsilon^2\partial_{t_s}+\epsilon(\mathbf{v}_{\parallel,0}+\epsilon\mathbf{v}_{\parallel,1}+\epsilon^2\mathbf{v}_{\parallel,2}+\dots)\cdot\nabla_m+\epsilon^2(\mathbf{v}_{\parallel,0}+\epsilon\mathbf{v}_{\parallel,1}+\\
            &\epsilon^2\mathbf{v}_{\parallel,2}+\dots)\cdot\nabla_s+\epsilon(\mathbf{v}_{\parallel,0}+\epsilon\mathbf{v}_{\parallel,1}+\epsilon^2\mathbf{v}_{\parallel,2}+\dots)\partial_z](\mathbf{v}_{\parallel,0}+\epsilon\mathbf{v}_{\parallel,1}+\epsilon^2\mathbf{v}_{\parallel,2}+\dots)\\
            &\epsilon[(2\mathbf{\Omega}\times\mathbf{v})_{\parallel,0}+(2\mathbf{\Omega}\times\mathbf{v})_{\parallel,1}](1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_m\Tilde{\pi}+\epsilon(1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_s\Tilde{\pi}=\mathbf{Q}_{\parallel}
        \end{split}
    \end{align}
    \end{frame}
\end{document}

This is not a great slide. Could you help me with formatting the set of equations?

To begin with, I'd like to:

(a) increase spacing between each equation

(b) insert one line of text between the equations

4
  • Please be more specific as to the possible contents of "one line of text between the equations".
    – Mico
    Nov 15, 2023 at 13:00
  • Unrelated to your question, but you don't need to load amsmath, beamer already loads it. Nov 15, 2023 at 13:02
  • I want to insert something like 'do this:', 'then do this:' and 'and then do that:'.
    – Sylvia
    Nov 15, 2023 at 13:03
  • 2
    You've got an answer, but I would point you at p. 33 of the beamer doc: "PowerPoint users give better talks [...] Since PowerPoint is so bad at typesetting math, they use less math, making their talks easier to understand." As someone with some experience with conferences believe me: Almost nobody will pay attention to what's on that slide.
    – campa
    Nov 15, 2023 at 13:04

2 Answers 2

4
  • (a) increase spacing between each equation

    \\ has an optional argument, e.g. \\[2cm], which you can use to add extra space

  • (b) insert one line of text between the equations

    you can use \intertext{...} to add some text in between the equations


\documentclass[10pt, aspectratio=169]{beamer}
\usefonttheme{serif}

\usepackage{booktabs} % tables
%\usepackage{amsmath} % align, 
\usepackage{siunitx} % units, numbers
\usepackage{mathtools}
\usepackage[singlelinecheck=false]{caption}
\usepackage{tabularray}
\UseTblrLibrary{amsmath,booktabs}

\setbeamerfont{caption}{size=\footnotesize}
\setbeamertemplate{caption label separator}[space]

\begin{document}
    \begin{frame}
    \begin{align}
        &(\partial_t+\mathbf{v}_{\parallel}\cdot\nabla_{\parallel}+\omega\partial_z)\mathbf{v}_{\parallel}+\epsilon(2\mathbf{\Omega}\times\mathbf{v})_{\parallel}+\tfrac{\Theta}{\epsilon}\nabla_{\parallel}\Tilde{\pi}=\mathbf{Q_v}\\
        \intertext{word or phrase}
        \begin{split}
            &[\epsilon\partial_{t_m}+\epsilon^2\partial_{t_s}+\epsilon\mathbf{v}_{\parallel}\cdot\nabla_m+\epsilon^2\mathbf{v}_{\parallel}\cdot\nabla_s+\epsilon(\alpha_{\omega}\omega_1+\epsilon\omega_2+\dots)\partial_z]\mathbf{v}_{\parallel}\\
            &+\epsilon(2\mathbf{\Omega}\times\mathbf{v})_{\parallel}+(1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_m\Tilde{\pi}+\epsilon(1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_s\Tilde{\pi}=\mathbf{Q}_{\parallel}\\
        \end{split}\\[2cm]
        \begin{split}
            &[\epsilon\partial_{t_m}+\epsilon^2\partial_{t_s}+\epsilon(\mathbf{v}_{\parallel,0}+\epsilon\mathbf{v}_{\parallel,1}+\epsilon^2\mathbf{v}_{\parallel,2}+\dots)\cdot\nabla_m+\epsilon^2(\mathbf{v}_{\parallel,0}+\epsilon\mathbf{v}_{\parallel,1}+\\
            &\epsilon^2\mathbf{v}_{\parallel,2}+\dots)\cdot\nabla_s+\epsilon(\mathbf{v}_{\parallel,0}+\epsilon\mathbf{v}_{\parallel,1}+\epsilon^2\mathbf{v}_{\parallel,2}+\dots)\partial_z](\mathbf{v}_{\parallel,0}+\epsilon\mathbf{v}_{\parallel,1}+\epsilon^2\mathbf{v}_{\parallel,2}+\dots)\\
            &\epsilon[(2\mathbf{\Omega}\times\mathbf{v})_{\parallel,0}+(2\mathbf{\Omega}\times\mathbf{v})_{\parallel,1}](1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_m\Tilde{\pi}+\epsilon(1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_s\Tilde{\pi}=\mathbf{Q}_{\parallel}
        \end{split}
    \end{align}
    \end{frame}
\end{document}

enter image description here

2

Some suggestions, in no particular order: use \intertext instructions to insert lines of text between rows; snug up subscript terms to \nabla symbol via \! (negative thinspace) directives; use a smaller version of \parallel; use aligned environments instead of split environments; use \dotsb instead of \dots at the end of expressions involving binary operations.

enter image description here

\documentclass[10pt, aspectratio=169]{beamer}
\usefonttheme{serif}
\usepackage{bm}
\newcommand\parl{%
   \!\scriptscriptstyle\parallel} % reduce size of \parallel symbol

\begin{document}
\begin{frame}{}

\begin{align}
        &(\partial_t+\mathbf{v}_{\parl}\cdot\nabla_{\parl}+\omega\partial_z)\mathbf{v}_{\parl}
             +\epsilon(2\bm{\Omega}\times\mathbf{v})_{\parl}+\tfrac{\Theta}{\epsilon}\nabla_{\parl}\Tilde{\pi}
             =\mathbf{Q}_{\mathbf{v}} \\
        \intertext{Hello, World.}  
        &\begin{aligned}[b]
            &\bigl[\epsilon\partial_{t_m}+\epsilon^2\partial_{t_s}+\epsilon\mathbf{v}_{\parl}\cdot\nabla_{\!m}
             +\epsilon^2\mathbf{v}_{\parl}\cdot\nabla_{\!s}
             +\epsilon(\alpha_{\omega}\omega_1+\epsilon\omega_2+\dotsb)\partial_z\bigr]\mathbf{v}_{\parl}\\
            &\quad+\epsilon(2\bm{\Omega}\times\mathbf{v})_{\parl}+(1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_{\!m}\Tilde{\pi}
             +\epsilon(1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_{\!s}\Tilde{\pi}
             =\mathbf{Q}_{\,\parl}
        \end{aligned}\\
        \intertext{Hello, World.}
        &\begin{aligned}[b]
            &[\epsilon\partial_{t_m}+\epsilon^2\partial_{t_s}+\epsilon(\mathbf{v}_{\parl,0}
             +\epsilon\mathbf{v}_{\parl,1}+\epsilon^2\mathbf{v}_{\parl,2}+\dotsb)\cdot\nabla_{\!m}
             +\epsilon^2(\mathbf{v}_{\parl,0}+\epsilon\mathbf{v}_{\parl,1}\\
            &\quad+\epsilon^2\mathbf{v}_{\parl,2}+\dotsb)\cdot\nabla_{\!s}+\epsilon(\mathbf{v}_{\parl,0}
             +\epsilon\mathbf{v}_{\parl,1}+\epsilon^2\mathbf{v}_{\parl,2}+\dotsb)\partial_z](\mathbf{v}_{\parl,0}
             +\epsilon\mathbf{v}_{\parl,1}+\epsilon^2\mathbf{v}_{\parl,2}+\dotsb)\\
            &\quad\times\epsilon[(2\bm{\Omega}\times\mathbf{v})_{\parl,0}
             +(2\bm{\Omega}\times\mathbf{v})_{\parl,1}](1+\epsilon\bar{\Theta}
             +\epsilon^2\Tilde{\Theta})\nabla_{\!m}\Tilde{\pi}
             +\epsilon(1+\epsilon\bar{\Theta}+\epsilon^2\Tilde{\Theta})\nabla_{\!s}\Tilde{\pi}
             =\mathbf{Q}_{\,\parl}
        \end{aligned}
\end{align}
    
\end{frame}
\end{document} 

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .