
Quero remover o espaço em branco causado pelo ambiente de alinhamento acima e abaixo de "Beachte:".
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[utf8]{inputenc}
\usepackage{ulem}
\usepackage[a4paper, top = 0.8cm, left = 1cm, right = 1cm, bottom = 0.8cm]{geometry}
\begin{document}
\begin{minipage}[t]{0.1\linewidth}
\begin{align*}
\sigma_{L} & = \text{Lochleibungsspannung}\\
\sigma_{LB} & = \text{Lochleibungsfestigkeit}\\
\sigma_{L2} & = \text{Lochleibungsgrenze}\\
\end{align*}
{\small Beachte:\\
\begin{align*}
P_B & = j \cdot j_s \cdot P_S \text{ \hspace{0.5cm} \uline{\textit{\bfseries \footnotesize oder}}}\\
P_B & = d_R \cdot s \cdot n \cdot \sigma_L\\
\end{align*}}
\end{minipage}
\end{document}
Alguém poderia me ajudar?
Obrigado!
Responder1
Remova os \\
s extras finais e considere aumentar o com de seu minipage
para acomodar a palavra inquebrável mais longa.
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[utf8]{inputenc}
\usepackage{ulem}
\usepackage[a4paper, top = 0.8cm, left = 1cm, right = 1cm, bottom = 0.8cm]{geometry}
\begin{document}
\begin{minipage}[t]{0.3\linewidth}
\begin{align*}
\sigma_{L} & = \text{Lochleibungsspannung}\\
\sigma_{LB} & = \text{Lochleibungsfestigkeit}\\
\sigma_{L2} & = \text{Lochleibungsgrenze} % <============
\end{align*}
{\small Beachte: % <============
\begin{align*}
P_B & = j \cdot j_s \cdot P_S \text{ \hspace{0.5cm} \uline{\textit{\bfseries \footnotesize oder}}}\\
P_B & = d_R \cdot s \cdot n \cdot \sigma_L
\end{align*}}
\end{minipage}
\end{document}
Responder2
Talvez o \shortintertext
comando from mathtools
seja o que você procura?
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\usepackage{ulem}
\usepackage[a4paper, vmargin = 0.8cm, hmargin = 1cm]{geometry}
\begin{document}
\begin{minipage}[t]{0.3\linewidth}
\begin{align*}
\sigma_{L} & = \text{Lochleibungsspannung}\\
\sigma_{LB} & = \text{Lochleibungsfestigkeit}\\
\sigma_{L2} & = \text{Lochleibungsgrenze}\\
\shortintertext {\small Beachte:}
P_B & = j \cdot j_s \cdot P_S \text{ \hspace{0.5cm} \uline{\textit{\bfseries \footnotesize oder}}}\\
P_B & = d_R \cdot s \cdot n \cdot \sigma_L\\
\end{align*}
\end{minipage}
\end{document}
Responder3
O tabstackengine
fornece uma alternativa e não adiciona preenchimento extra, a menos que você queira, pois coloca seus resultados em uma caixa LaTeX bem ajustada. Aqui, eu até adicionei um buffer vertical de 2 pontos em torno de "Beachte".
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[utf8]{inputenc}
\usepackage{ulem}
\usepackage[a4paper, top = 0.8cm, left = 1cm, right = 1cm, bottom = 0.8cm]{geometry}
\usepackage{tabstackengine}
\setstackgap{L}{1.1\baselineskip}
\TABstackMath
\begin{document}
\noindent\hrulefill
\begin{minipage}[t]{0.1\linewidth}
\alignCenterstack{
\sigma_{L} =& \text{Lochleibungsspannung}\\
\sigma_{LB} =& \text{Lochleibungsfestigkeit}\\
\sigma_{L2} =& \text{Lochleibungsgrenze}
}\\[2pt]
{\small Beachte:\\[2pt]
\alignCenterstack{
P_B =& j \cdot j_s \cdot P_S \hspace{0.5cm}
\underline{\text{\textit{\bfseries \footnotesize oder}}}\\
P_B =& d_R \cdot s \cdot n \cdot \sigma_L
}}
\end{minipage}
\noindent\hrulefill
\end{document}