I have following code:
\documentclass{article}\setlength{\arrayrulewidth}{0.5mm}\setlength{\tabcolsep}{18pt}\renewcommand{\arraystretch}{2.5}\usepackage{longtable}\usepackage{array}\usepackage{booktabs}\usepackage{url}\setlength\arrayrulewidth{1pt}\setlength\tabcolsep{1pt}\renewcommand\arraystretch{1.5}\newenvironment{mylongtable}[2]{% \begin{longtable}{@{\hspace{1em}}#1@{}} #2} { \end{longtable}%}\setlength\columnwidth{1pt}\setlength\columnsep{10pt}\newcommand\myLTleftcolumnwidth{\dimexpr\textwidth*0.1}\newcommand\myvline{\vrule width 1pt}\setlength{\parindent}{0pt}\begin{document}\begin{mylongtable}{@{}>{\raggedright\arraybackslash}p{0.6\columnwidth} |>{\raggedright\arraybackslash}p{0.4\columnwidth}@{}}\toprule\begin{minipage}[b]{\linewidth}\raggedright\largeGruppenrichtlinieneinstellung\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright\largeEmpfohlene Option\end{minipage} \\\endhead\emph{Pfad:}\path{Computer Configuration\Policies\Administrative Templates\Windows Components\Microsoft Defender Application Guard} & \\Allow camera and microphone access in Microsoft Defender Application Guard & Disabled \\Allow auditing events in Microsoft Defender Application Guard & Enabled \\Allow data persistence for Microsoft Defender Application Guard & Disabled \\\end{mylongtable}\end{document}
which makes my document look like this
Image may be NSFW.
Clik here to view.
When copying the Paths it looks like this, which is expected.
Image may be NSFW.
Clik here to view.
Now my question is if there is any easy way to put everything in one line on copy? Or something simple to do linebreaks but treat everything as one line?