[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] small caps
From: |
Matt Price |
Subject: |
Re: [O] small caps |
Date: |
Sat, 31 Oct 2015 12:16:15 -0400 |
On Oct 30, 2015 09:09, "Christian Moe" <address@hidden> wrote:
>
>
> Thomas S. Dye writes:
>
> > Sorry, I forgot to give an example. I use it like this [[sc:ad][AD]].
> >
> > The advantage of a link over a macro is that the link should export
> > correctly to both LaTeX and HTML.
> >
> > If you intend to export to a single backend, then Nicolas' suggestion to
> > use a macro is simpler.
>
> Though you could support multiple backends with a macro, too, you just
> need to use lots of @'s. E.g.:
>
>
> #+MACRO: sc @@latex:\textsc{$1}@@@@html:<span style="font-variant:
> small-caps;">$1</span>@@
>
> Already in 400 {{{sc(bc)}}}, the Greeks...
>
>
> That's for a quick example; better to use <span class="smallcaps"> or
> something and put the CSS in a separate stylesheet, of couse
thanks everyone for all the suggestions, I will try out a few of them and decide which seems most natural for me. But in any event I've learned a bit about macros and custom links, which has been great.
Matt
>
> Yours,
> Christian
Re: [O] small caps, Aaron Ecay, 2015/10/29
Re: [O] small caps, Nicolas Goaziou, 2015/10/29
Re: [O] small caps, Rasmus, 2015/10/29
Re: [O] small caps, Robert Klein, 2015/10/29