#請益 latex希望code 的第一行和上一行的文字左邊對齊
如題,希望排版像是下圖,也就是第三行code的t與第二行的don't的d是齊的,但是我的像第2張圖這樣,而且我的code是前面空8個字元,附上我的latex
\begin{enumerate}
\item
\begin{lstlisting}[
basicstyle=\ttfamily,
columns=fullflexible,
aboveskip=0pt,
belowskip=0pt,
% firstline=0, % Removes indentation for the entire code block
xleftmargin=0pt,
xrightmargin=0pt,
breaklines=true,
keepspaces=False,
frame=none,
firstline=0,
numbers=none
]
程式碼
\end{lstlisting}
\item
\end{enumerate}
一直查不到相關資訊,用\noindent在code前面也沒用,pdf只有印出\noindent,請求達人指點,謝謝

---

