1

Say I have to add a file path like "\F\A B\C". Please note the blank between A and B are intended. I tried this as below. However, the blank is missing. How to fix it, please? Usually \ plus a blank means a blank. Right?

\documentclass[]{article}

\usepackage{hyperref}

\begin{document}

\url{\\\\F\\A\ B\\C}

\end{document}
0

1 Answer 1

2

Use url package option obeyspaces:

\documentclass[obeyspaces]{article}

\usepackage{hyperref}

\begin{document}

\url{\\\\F\\A B\\C}

\end{document}

But I think your question is a duplicate of this one.

2
  • Thanks. I shall delete my question shortly. However, I would not be able to accept your answer then. Sorry.
    – LaTeXFan
    Jun 13, 2017 at 3:56
  • @LaTeXFan you don't need to delete your question. It could remain, marked as duplicate.
    – CarLaTeX
    Jun 13, 2017 at 4:00

Not the answer you're looking for? Browse other questions tagged .