TransWikia.com

It is possible write multilingual text with different scripts in Lyx for dummies?

TeX - LaTeX Asked by Fernando Prieto on January 10, 2021

I’m noob in lyx. I like Lyx but in terms of multilingual is a pain ass for dummies …. I try so many times I need many languagues error error error..

It is possible for lyx ? similar to this link:
Pro I like lyx because I can use mode offline!

How to write multilingual text with differents scripts in latex

Example document:

% Preview source code

%% LyX 2.3.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass{article}
begin{document}
title{selectlanguage{american}%
Howforeignlanguage{spanish}{ to write multilingual text with different
scripts in lyx for Dummies}}
author{selectlanguage{spanish}%
Lyx Community}
maketitle

section{Spanish}

Como escribir diferentes lenguajes en lyx para principiantes

section{Chinese}

<LyX Warning: uncodable character '如'><LyX Warning: uncodable character '何'><LyX Warning: uncodable character '用'><LyX Warning: uncodable character 'l'><LyX Warning: uncodable character 'y'><LyX Warning: uncodable character 'x'><LyX Warning: uncodable character '中'><LyX Warning: uncodable character '的'><LyX Warning: uncodable character '不'><LyX Warning: uncodable character '同'><LyX Warning: uncodable character '腳'><LyX Warning: uncodable character '本'><LyX Warning: uncodable character '編'><LyX Warning: uncodable character '寫'><LyX Warning: uncodable character '多'><LyX Warning: uncodable character '語'><LyX Warning: uncodable character '言'><LyX Warning: uncodable character '文'><LyX Warning: uncodable character '本'>

section{Hindi}

कैसे गीत में विभिन्न लिपियों के साथ बहुभाषी पाठ लिखने के लिए

selectlanguage{spanish}%

end{document}

One Answer

New file, Document settings, language Spanish, Marcar fonts use non-TeX/ LaTeX

LaTeX preamble add:

% Config Chinese
usepackage{xeCJK}

% Font Hindi
newfontfamily{devanagarifont}{Noto Serif Devanagari}

Works!

Answered by Fernando Prieto on January 10, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP