Hi,

Rainer M Krug <rai...@krugs.de> writes:

> I am using 
>
> \color{red} some red text \color{black} and we continue with black
>
> to set the text colour for sections in my document for LaTeX export, but
> this does obviously does not org for odt export.
>
> What can I use to achieve the same for odt export?

You can use a macro.  {{{color(text, red)}}}.  You then specify a macro
that inserts

     @@latex:{\color{red} text}@@@@odt:<text:span 
text:style-name="red">text</text:span>@@,

Unfortunately, it doesn’t seem like odt provides inline styles, so you may
have to add new styles for each color; see:

    
https://www.gnu.org/software/emacs/manual/html_node/org/Creating-one_002doff-styles.html

Hope it helps,
Rasmus

-- 
One thing that is clear: it's all down hill from here 


Reply via email to