Currently I'm perfectly happy to abuse a san serif font for the moment.
I've never liked that family anyway.

The fontspec document looks a bit intimidating but I'll give it a go.   I
suppose that the local layout approach would work, since one probably get
away without the display font showing Roman; it would be annoying but not a
real deal-breaker.

Thanks to both of you.

john



On 25 February 2015 at 04:16, Liviu Andronic <landronim...@gmail.com> wrote:

> On Wed, Feb 25, 2015 at 10:05 AM, Guenter Milde <mi...@users.sf.net>
> wrote:
> > On 2015-02-24, John Kane wrote:
> >
> >> [-- Type: text/plain, Encoding: quoted-printable --]
> >
> >> I have managed to get my screen font and output fonts set to 'unspell'
> as
> >> wanted and it is working well.
> >
> >> My next problem is that would like to mix two fonts in the body of the
> >> text.  It looks relatively easy to do this changing lanuages but it is
> not
> >> obvious to me how to do this when all I want to do is change the font
> >> (preferably both screen and output to pdf but I'd settle for pdf at the
> >> moment.
> >
> >> Can anyone suggest an approach?  Example attached
> >
> > The easiest way would be to (ab?)use the settings for the sans-serif
> > and/or teletyped/fixed-width fonts.
> >
> One approach that I can think of is to define a local layout inset
> which uses the font that you want. But I'm not sure if you can define
> also the display font in such a construct.
>
> Liviu
>
>
> > Of course, this only works if you do not require two different font
> > *families* both complete with matching variant shapes.
> >
> >   In this case, you will need to read the extensive documentation
> >   available for the "fontspec" LaTeX package (on my TeXLive system, the
> >   command `texdoc fontspec` brings up fontspec.pdf)
> >   and use a mixture of custom premble settings (Document>Settings>User
> >   Preamble and ERT (raw LaTeX) in the document to achieve the goal.
> >
> >   The fontspec definition also describes how different fonts can be
> assigned
> >   to different languages. It may work to do such a setup in the user
> >   preamble and then change fonts by assigning text languages.
> >
> > Günter
> >
>
>
>
> --
> Do you think you know what math is?
> http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
> Or what it means to be intelligent?
> http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
> Think again:
> http://www.ideasroadshow.com/library
>



-- 
John Kane
Kingston ON Canada

Reply via email to