Se agradece la sugerencia ambiental.

Se agradece la sugerencia ambiental.

Estoy tratando de lograr una construcción como esta:

imagen

sin embargo, hasta ahora no he tenido éxito en lograrlo. Creo que probé todos los entornos incorrectos para eso; agregué que, como función matemática, el problema principal con la sangría y las dos líneas dobles (triples) en el lado derecho también son problemáticos. Probé la matriz, no pude forzar a lyx a tener llaves en todas las líneas. La última vez usé una tabla, pero en ese caso los tirantes no se extienden a lo largo de todas las líneas...

Por muy flexible que sea el látex, creo que debo haberme perdido alguna forma más sencilla de lograrlo.

Por cierto: no me importan los puntos en el lado derecho siempre y cuando las dos partes estén separadas de alguna manera, idealmente como un párrafo.

Alguien tiene una idea? Gracias por cualquier comentario

Respuesta1

Una solución con blkarray:

\documentclass{article}
\usepackage{amsmath}
\usepackage{blkarray, multirow}%
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage{setspace}
\usepackage{marvosym}

\newcommand\mycbox[1]{\colorbox{white}{\color{red}\bfseries#1}}

\begin{document}

\sffamily \[%
\renewcommand{\arraystretch}{2}
\colorbox{blue}{\color{yellow}\begin{blockarray}{l <{\enspace }\}@{\qquad} >{\color{white}\setstretch{1.33}}l}
\mycbox{Carburizing} & \multirow{4}{7cm}[3ex]{%
\begin{itemize}[wide = 0pt ]
    \item Forming harder and stronger surface \MVRightArrow{} introducing compressive residual stress
    \item The strengthening effect depends on the diameter of the part and the depth of the surface hardening. 
\end{itemize}}\\
\mycbox{Nitriding} \\
\mycbox{Flame hardening} \\
\mycbox{Induction hardening} \\
  \end{blockarray} }
            \]%
\end{document} 

ingrese la descripción de la imagen aquí

Para una versión en blanco y negro, elimine la carga de xcolor y use este código:

\[%
\renewcommand{\arraystretch}{2}
\begin{blockarray}{ >{\enspace $\sffamily\bfseries}l <{\enspace $}\}@{\qquad} >{\setstretch{1.33}}l <{\enspace}}
Carburizing & \multirow{4}{6.3cm}[3ex]{%
\begin{itemize}[wide = 0pt ]
    \item Forming harder and stronger surface \MVRightArrow{} introducing compressive residual stress
    \item The strengthening effect depends on the diameter of the part and the depth of the surface hardening.
\end{itemize}}\\
Nitriding \\
Flame hardening \\
Induction hardening \\
  \end{blockarray}
            \]%

ingrese la descripción de la imagen aquí

Respuesta2

Aquí hay una tcolorboxsolución basada. El primer entorno sigue tu imagen con algunas adiciones como esquinas redondeadas para los cuadros rojos.

Los dos siguientes agregan títulos, ajustan el ancho de los cuadros rojos y finalmente agregan una sombra elegante (solo por diversión):

\documentclass{article}
\usepackage[many]{tcolorbox}
\usetikzlibrary{decorations.pathreplacing}
\usepackage{enumitem,pifont}

\newtcolorbox{myenvironment}[1][]{%
  enhanced,sidebyside,lefthand width=3.7cm,%
  sharp corners,left=2mm,right=2mm,boxrule=0.4pt,
  colframe=blue!50!black,
  interior style={left color=blue!75!black,right color=blue},
  lower separated=false,
  fontlower=\sffamily\large,
  overlay={\draw[yellow,solid,very thick,decorate,decoration={brace,amplitude=8pt}]
    ([xshift=-4pt,yshift=-3mm]segmentation.north) -- ([xshift=-4pt,yshift=3mm]segmentation.south);},
  raster columns=1,
  raster force size=false,
  raster every box/.style={enhanced,fontupper=\sffamily\bfseries,size=small,
    colupper=red,colback=white,colframe=red!50!white,center upper},
  before upper=\begin{tcbraster},
  after upper=\end{tcbraster},
  before lower={\flushleft\color{white}\begin{itemize}[wide=0pt]},
  after lower={\end{itemize}},
  fonttitle=\bfseries\sffamily\large,center title,
  #1
}

\begin{document}

\begin{myenvironment}
  \tcbox{Carburizing}
  \tcbox{Nitriding}
  \tcbox{Flame hardening}
  \tcbox{Induction hardening}
\tcblower
  \item Forming harder and stronger surface \ding{212} introducing compressive
    residual stress.
  \item The strengthening effect depends on the diameter of the part and the
    depth of the surface hardening.
\end{myenvironment}

\begin{myenvironment}[raster force size,title=My environment]
  \tcbox{Carburizing}
  \tcbox{Nitriding}
  \tcbox{Flame hardening}
  \tcbox{Induction hardening}
\tcblower
  \item Forming harder and stronger surface \ding{212} introducing compressive
    residual stress.
  \item The strengthening effect depends on the diameter of the part and the
    depth of the surface hardening.
\end{myenvironment}

\begin{myenvironment}[raster force size,title=My environment,
  rounded corners,drop fuzzy shadow]
  \tcbox{Carburizing}
  \tcbox{Nitriding}
  \tcbox{Flame hardening}
  \tcbox{Induction hardening}
\tcblower
  \item Forming harder and stronger surface \ding{212} introducing compressive
    residual stress.
  \item The strengthening effect depends on the diameter of the part and the
    depth of the surface hardening.
\end{myenvironment}

\end{document}

ingrese la descripción de la imagen aquí

El ancho del lado izquierdo se ajusta manualmente, por ejemplo para uno más corto:

\documentclass{article}
\usepackage[many]{tcolorbox}
\usetikzlibrary{decorations.pathreplacing}
\usepackage{enumitem,pifont}

\newtcolorbox{myenvironment}[1][]{%
  enhanced,sidebyside,lefthand width=3.7cm,%
  sharp corners,left=2mm,right=2mm,boxrule=0.4pt,
  colframe=blue!50!black,
  interior style={left color=blue!75!black,right color=blue},
  lower separated=false,
  fontlower=\sffamily\large,
  overlay={\draw[yellow,solid,very thick,decorate,decoration={brace,amplitude=8pt}]
    ([xshift=-4pt,yshift=-3mm]segmentation.north) -- ([xshift=-4pt,yshift=3mm]segmentation.south);},
  raster columns=1,
  raster force size=false,
  raster every box/.style={enhanced,fontupper=\sffamily\bfseries,size=small,
    colupper=red,colback=white,colframe=red!50!white,center upper},
  before upper=\begin{tcbraster},
  after upper=\end{tcbraster},
  before lower={\flushleft\color{white}\begin{itemize}[wide=0pt]},
  after lower={\end{itemize}},
  fonttitle=\bfseries\sffamily\large,center title,
  #1
}

\begin{document}

\begin{myenvironment}[lefthand width=3cm]
  \tcbox{Carburizing}
  \tcbox{Nitriding}
  \tcbox{Flame hard.}
  \tcbox{Induction hard.}
\tcblower
  \item Forming harder and stronger surface \ding{212} introducing compressive
    residual stress.
  \item The strengthening effect depends on the diameter of the part and the
    depth of the surface hardening.
\end{myenvironment}

\end{document}

ingrese la descripción de la imagen aquí

Respuesta3

Si no estás atascado en el diseño visual y solo quieres un poco de agrupación, probaría con un archivo block. No tengo idea de cómo hacer esto en LyX, pero aquí hay uno en un proyector normal:

ingrese la descripción de la imagen aquí

\documentclass{beamer}
\usetheme{madrid}
\begin{document}

\begin{frame}
\frametitle{Title}
\begin{block}{Surface Treatments}
\begin{columns}[c]
\begin{column}{0.3\textwidth}
\begin{itemize}
\item Carburizing
\item Nitriding
\item Flame hardening
\item Induction hardening
\end{itemize}
\end{column}
\begin{column}{0.6\textwidth}
\begin{itemize}
\item Forming harder and stronger surface $\rightarrow$ introducing compressive residual stress
\item The strengthening effect depends on the diameter of the part and the depth of the surface hardening
\end{itemize}
\end{column}
\end{columns}
\end{block}
\begin{block}{Something else}
This is just a placeholder. The slide may look better if this wasn't here.
\end{block}
\end{frame}

\end{document}

información relacionada