0

So I have been writing report, and had to put two - in row. It typesets as one instead of two -. I remember as I read Stefan Kottwitz's Latex for beginners guide, he have mentioned about --, but hadn't said how to actually typeset two - in row. (I may be wrong but anyways)

So, code

\subsection{Тестування}
\paragraph{Пункт \code{а}}
Відкриємо термінал та попросимо програму вивести справку користувача.

\begin{figure}[H] \begin{minipage}{.5\textwidth} \begin{figure}[H] \centering \includegraphics[width=\textwidth]{images/t1.1} \end{figure} \end{minipage} \begin{minipage}{.5\textwidth} \begin{figure}[H] \centering \includegraphics[width=\textwidth]{images/t1.2} \end{figure} \end{minipage} \caption{Справка користувача, опція \code{--help (-h)}} \label{fig:help} \end{figure}

Відштовхуючись від \cref{fig:help}, перевіримо решту опцій. \begin{figure}[H] \begin{minipage}{.5\textwidth} \begin{figure}[H] \centering \includegraphics[width=\textwidth]{images/t3.1} \end{figure} \end{minipage} \begin{minipage}{.5\textwidth} \begin{figure}[H] \centering \includegraphics[width=\textwidth]{images/t3.2} \end{figure} \end{minipage} \caption{Опція \code{--file (-f)}} \label{fig:file} \end{figure}

produces

enter image description here

How to typeset -- as two minuses?

0 Answers0