\documentclass[12pt]{article}
\usepackage{fontspec}\setromanfont{HiraKakuPro-W3}
\begin{document}\section{What I learned today}
I can write this ķ69;はキランです in Japanese.\end{document}
devi compilare con xelatex. e devi mettere al posto dell’ HiraKakuPro-W3, un font installato nel tuo sistema
Non necessariamente; si può usare un “main font” diverso e uno particolare per il giapponese:
`\documentclass[12pt]{article}
\usepackage{fontspec}
\setmainfont{Hoefler Text}
\newfontfamily\japfont{HiraKakuPro-W3}
\newcommand{\jap}[1]{{\japfont#1}}
\begin{document}
\title{XYZ}
\author{\jap{工学系研究ķ85; 電Ĕ71;工学専ă15;}\\ Valerio Salvucci\\
1\jap{年} 87296 \jap{ň31;ň65; 指導ă45;員:堀ė15;一}}
\maketitle
\section{What I learned today}
I can write this \jap{ķ69;はキランです} in Japanese.
\end{document}`
Spero che quel testo in giapponese sia innocuo. 😀
Ciao
Enrico