圖片定位

圖片定位

所以我試著在文字右側放一張圖片。在我在其他問題/問題上發現的許多示例之後,我以以下方式結束 MWE

\documentclass{article}
\usepackage{geometry}
\usepackage{float}
\usepackage{graphicx}
\graphicspath{ {./Pictures/} } %not the actual path
\begin{document}
\subsubsection{Arc-Dimension}
    $\alpha=\dfrac{b}{r}\rightarrow$
    \begin{tabular}{l@{$\equiv$}l}
        $\alpha$& Angle in [rad]=$\emptyset$\\
        $b$&Size of arc\\
        $r$&Radius of sector
    \end{tabular}
    \begin{figure}[H]
        \centering
        \includegraphics[width=3cm,angle=0]{Arc_Dim.png}
    \end{figure}
    $\alpha\in[0;2\pi] $ is arc-Dimension\\
    $\alpha_G\in[0\deg;360\deg]$ is degree\\ 
    $\Rightarrow\dfrac{\alpha}{\pi}=\dfrac{\alpha_G}{180\deg}$
\end{document}

Arc_Dim.png:

輸出如下:

對於精確度:我希望圖片在水平軸上上升,以便與文字處於相同的高度。

答案1

minipages重寫了數學部分:

在此輸入影像描述

\documentclass{article}
\usepackage{geometry}
\usepackage{amsmath}

\usepackage[demo]{graphicx} % <-- remove demo option in actual document
\usepackage[export]{adjustbox}


\begin{document}
\subsubsection{Arc-Dimension}

\begin{minipage}{0.5\textwidth}
\begin{align*}
    \alpha&=\frac{b}{r}\rightarrow
    \begin{aligned}
        \alpha &\equiv \text{Angle in [rad]}=\emptyset\\
        b &\equiv \text{Size of arc}\\
        r &\equiv \text{Radius of sector}
        \end{aligned}\\
     \alpha&\in[0;2\pi]{}\: \text{is arc-Dimension} \\
     \alpha_G&\in[0\deg;360\deg]{}\: \text{is degree} \\
     &\Rightarrow\frac{\alpha}{\pi}=\frac{\alpha_G}{180\deg}
    \end{align*}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
        \includegraphics[width=3cm,angle=0, valign=t]{Arc_Dim.png}
\end{minipage}
\end{document}

相關內容