用於建立安裝手冊的套件?

用於建立安裝手冊的套件?

我想為使用者建立一份安裝手冊。我的一般結構是,我想要單獨的步驟,並且在每個步驟中我想要在左側顯示圖像/螢幕截圖,在右側列上顯示描述。有什麼軟體包對此有幫助嗎?或者我必須自己建造它。

例子:

Section

Image  Descrption


Section

Image  Descrption

...

答案1

像這樣?

\documentclass{article}
\usepackage{geometry}
\usepackage{graphicx}
\begin{document}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex}
\begin{minipage}{0.5\textwidth}
\includegraphics[width=0.95\textwidth]{example-image-a}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
First of all, to use \TeX\ or \LaTeX, you have to install a \TeX\ distribution.
\end{minipage}

\begin{minipage}{0.5\textwidth}
\includegraphics[width=0.95\textwidth]{example-image-b}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
Next, you need an editor. In MiK\TeX, there is already one called TeXworks, but you can install other editors if you want. I am using VS Code.
\end{minipage}
\end{document}

在此輸入影像描述

這樣做很痛苦,所以我們應該有一個巨集來實現它

\documentclass{article}
\usepackage[showframe]{geometry}
\usepackage{graphicx}
\newenvironment{yourenv}[1]
{%
\begin{minipage}{0.5\textwidth}
\includegraphics[width=0.95\textwidth]{#1}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
}{%
\end{minipage}\ignorespacesafterend
}
\begin{document}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex}

\begin{yourenv}{example-image-a}
First of all, to use \TeX\ or \LaTeX, you have to install a \TeX\ distribution.
\end{yourenv}
\end{document}

在此輸入影像描述

相關內容