[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to export to latex with $ constructs rcsinfo
From: |
Ruijie Yu |
Subject: |
Re: how to export to latex with $ constructs rcsinfo |
Date: |
Thu, 26 Jan 2023 19:35:49 +0800 |
User-agent: |
mu4e 1.8.13; emacs 29.0.60 |
Uwe Brauer <oub@mat.ucm.es> writes:
> Hi
>
> I have the following org file example
>
> #+LATEX_HEADER_EXTRA: \usepackage[scrpage2]{rcsinfo}
> \makeatletter
> \def\@rcsInfoFancyInfo{{\footnotesize%
> \emph{\fcolorbox{black}{yellow}{Rev: \rcsInfoRevision,}
> \rcsInfoOwner,
> \rcsInfoLongDate,
> \rcsInfoTime}}}
> \makeatother
> \rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $
>
>
> Some text
Hello,
IIUC, #+latex_header{,_extra} only handles the single line it is on.
Therefore, you will have to prefix "#+latex_header_extra:" for each line
you want to have in LaTeX verbatim.
Best,
RY