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. 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