\documentclass{article}
\begin{document}
Normal margin here. Normal margin here. Normal margin here.
Normal margin here. Normal margin here. Normal margin here. Normal margin here.
Abcdefgh abcdefgh abcdefgh abcdefgh abcdefgh abcd: \texttt{float[][]} and
\texttt{double[][]}.
\end{document}
As you can see [] is far from other []. How can I get them closer to each other?
What is more, double[][] extends beyond the margin line. How could this be written better?
I'm using minted package. Is it possible to write small code samples inline using it?



\documentclass{article} \begin{document} % \verb+double||||+ % \verb+double[][]+. \end{document}.(Introduce new lines at the comments such that they align vertically to see the location of each character) – percusse May 19 '12 at 7:26Wand.are the same width. If you do not want that, rather than adding spacing between[]perhaps you would prefer a different font, say\textsf{float[][]}– David Carlisle May 19 '12 at 8:08