En el tema interno del margen, ¿cómo personalizar el ancho del título del bloque en la barra lateral?

En el tema interno del margen, ¿cómo personalizar el ancho del título del bloque en la barra lateral?

El espacio indicado por el rectángulo a continuación está vacío y podría usarse para el texto mismo. Me doy cuenta de que puedo reducirlo estableciendo lesser sidebar width left, pero me gustaría que los títulos de los bloques fueran largos.

ingrese la descripción de la imagen aquí

Por esta razón, intenté crear un cuadro personalizado \blockboxque por defecto tendrá un ancho igual a sidebar width leftmenos de 3 mm. Sin embargo, el resultado anterior muestra que el cuadro tiene casi el mismo ancho que el anterior, pero está desalineado. Por lo tanto, una posible solución es simplemente cambiar este cuadro en la definición del entorno, pero no sé cómo hacerlo.

Una solución más óptima es redefinir el ancho disponible para blockel título, que es aproximadamente3.5cm

\documentclass[aspectratio=169, xcolor={x11names}]{beamer}


\usecolortheme{crane}

\usefonttheme{structurebold}

\useinnertheme{inmargin}

\useoutertheme[]{split}

    \setbeamersize{text margin left=2mm, text margin right=2mm}

    \newlength{\sidebarWidth}
    \setlength{\sidebarWidth}{5cm}  
    \setbeamersize{sidebar width left=\sidebarWidth, sidebar width right=0cm}

    \newlength{\blockboxwidth}
    \setlength{\blockboxwidth}{\sidebarWidth}
    \addtolength{\blockboxwidth}{-3mm}
    \newcommand{\blockbox}[2][\blockboxwidth]{
        \frame{\parbox{#1}{\raggedleft #2}} 
                                            }

\begin{document}

\begin{frame}{Showing Contents Gradually}

    \begin{block}{Why is induction motor very common}
        Induction motors are very practical for the following reasons

        \begin{description}[<+->]
            \item[Rigid] Rigid
            \item[Cheap] Cheap
            \item[Low Maintenance] Low Maintenance
            \item[Self-Starting] Self-starting
            \item[No Excitation Needed] No Excitation Needed
        \end{description}

    \end{block}

    \begin{block}{\blockbox{Why is induction motor very common} Why is induction motor very common}

        Induction motors are very practical for the following reasons

        \begin{description}[<+->]
            \item[Rigid] Rigid
            \item[Cheap] Cheap
            \item[Low Maintenance] Low Maintenance
            \item[Self-Starting] Self-starting
            \item[No Excitation Needed] No Excitation Needed
        \end{description}

    \end{block}

\end{frame}

\end{document}

Respuesta1

Solo repito mi respuesta a tu pregunta anterior:

\documentclass[aspectratio=169, xcolor={x11names}]{beamer}

\usecolortheme{crane}
\usefonttheme{structurebold}
\useinnertheme{inmargin}
\useoutertheme{split}

\newlength{\sidebarWidth}
\setlength{\sidebarWidth}{5cm}  
\setbeamersize{sidebar width left=\sidebarWidth, sidebar width right=0cm}


\makeatletter
\renewcommand\beamer@putleft[2]{%
  \hbox to 0pt{\hss\vtop{%
      \normalsize%
      \@tempdima=\beamer@leftsidebar%
      \advance\@tempdima by-3ex%
      \hsize=\@tempdima%
      \leftskip=0pt plus 1fill%
      \rightskip=0pt\relax%
      \leavevmode#1}\kern#2}%
}
\makeatother


\begin{document}

\begin{frame}{Showing Contents Gradually}

    \begin{block}{Why is induction motor very common\linebreak Induction motors are very practical for the following reasons}

        \begin{description}[<+->]
            \item[Rigid] Rigid
            \item[Cheap] Cheap
            \item[Low Maintenance] Low Maintenance
            \item[Self-Starting] Self-starting
            \item[No Excitation Needed] No Excitation Needed
        \end{description}

    \end{block}

    \begin{block}{Why is induction motor very common\linebreak Why is induction motor very common}

        Induction motors are very practical for the following reasons

        \begin{description}[<+->]
            \item[Rigid] Rigid
            \item[Cheap] Cheap
            \item[Low Maintenance] Low Maintenance
            \item[Self-Starting] Self-starting
            \item[No Excitation Needed] No Excitation Needed
        \end{description}

    \end{block}

\end{frame}

\end{document}

ingrese la descripción de la imagen aquí

información relacionada