* Sébastien Gendre <s...@k-7.ch> [2025-03-30 22:55]:
> 
> Exemple of LaTeX verbatim that lose its special chars when exported to
> PDF:
> 
> \begin{verbatim}
> /test
> ├── file-a
> ├── file-b
> └── file-c
> \end{verbatim}

here below is version that works:
---------------------------------

#+TITLE: Testing

#+LATEX_COMPILER: xelatex
#+LATEX_HEADER: \usepackage{fontspec}
#+LATEX_HEADER: \setmonofont{DejaVu Sans Mono} % or another monospace font with 
Unicode support

\begin{verbatim}
/test
├── file-a
├── file-b
└── file-c
\end{verbatim}

-- 
Jean Louis

Attachment: test.pdf
Description: Adobe PDF document

Reply via email to