[luatex] [External] Re: lualatex with mathversion based on different text font with text font italic variables

Kunchitapadam, Baskaran (TNQ Software) n.k.baskaran at tnqsoftware.co.in
Thu Apr 21 06:57:08 CEST 2022


Dear Herbert,

Thank you...It is working fine.  And Kindly suggest substitute math 
variables from text font for example the title font "lmroman10-bold" and 
the math alphabets form "lmroman10-bolditalic"

Thanks and Regards

Baskaran NK



On 21-04-2022 01:14, Herbert Voss wrote:
> use
>
> \setmathfont{latinmodern-math.otf}
> \setmathfont[version=bold,RawFeature={embolden=3}]{latinmodern-math.otf}
>
>
> Herbert
>
>
> Am 20.04.22 um 19:11 schrieb Kunchitapadam, Baskaran (TNQ Software) 
> via luatex:
>>
>> Hi Team
>>
>> In LuaLaTeX, I have change title font "lmroman10-bold". The math 
>> variables "a" and "b" comes "latinmodern-math.otf". If I change 
>> mathversion to "bold" but not comes "bold italic".Is it possible to 
>> change automatically bolditalic either "latinmodern-math.otf" or 
>> "lmroman10-bolditalic". Is it possible to change the mathvariables 
>> [A-Za-z] to running text font italic by using unicode-math.sty. By 
>> using range, then the last \mathversion is working globally.
>>
>>
>>
>> \documentclass{article}
>> \usepackage{fontspec}
>> \usepackage{unicode-math}
>> \setmathfont[version=normal]{latinmodern-math.otf}
>> \setmathfont[version=bold]{latinmodern-math.otf}
>> \makeatletter
>> \def\@maketitle{%
>>   \newpage
>>   \null
>>   \vskip 2em%
>>   \begin{center}%
>>   \let \footnote \thanks
>>     {\LARGE\mathversion{bold}\bfseries \@title \par}%
>>     \vskip 1.5em%
>>     {\large
>>       \lineskip .5em%
>>       \begin{tabular}[t]{c}%
>>         \@author
>>       \end{tabular}\par}%
>>     \vskip 1em%
>>     {\large \@date}%
>>   \end{center}%
>>   \par
>>   \vskip 1.5em}
>> \makeatother
>> \begin{document}
>> \title{This is $a+b=\alpha+\beta$ article title}
>> \author{Test $a+b=\alpha+\beta$}
>> \maketitle
>> \end{document}
>>
>> Thanks and regards
>> Baskaran NK
>>
>>
>> Disclaimer: The entire content of this email message, including any 
>> files transmitted with it are confidential and intended solely for 
>> the use of the individual or entity to whom they are addressed. If 
>> you are not the named addressee or part of the entity, you should not 
>> disseminate, distribute, or copy this email. Please notify the sender 
>> immediately by e-mail if you have received this email by mistake and 
>> delete this e-mail from your system. If you are not the intended 
>> recipient you are notified that disclosing, copying, distributing, or 
>> taking any action in reliance on the contents of this information is 
>> strictly prohibited.
>
-- 


Disclaimer: The entire content of this email message, including any files 
transmitted with it are confidential and intended solely for the use of the 
individual or entity to whom they are addressed. If you are not the named 
addressee or part of the entity, you should not disseminate, distribute, or 
copy this email. Please notify the sender immediately by e-mail if you have 
received this email by mistake and delete this e-mail from your system. If 
you are not the intended recipient you are notified that disclosing, 
copying, distributing, or taking any action in reliance on the contents of 
this information is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20220421/134580bd/attachment.html>


More information about the luatex mailing list.