You'll first need something that renders pdf files in Emacs and plays well with Latex such as pdf-tools. Then you'll need to setup AucTex. Here are my configurations for both of these. Note that there maybe other possible configurations that achieve the same end result but since I have gotten this to work for me, I am sharing this,
(setq tab-width 2
LaTeX-item-indent 0 latex "latex"
TeX-view-program-selection '((output-pdf "PDF Tools"))
'(("PDF Tools" TeX-pdf-tools-sync-view)))
(setq-default TeX-engine 'xetex)
;; . TeX-revert-document-buffer)
'("XeLaTeX" "%`xelatex --synctex=1%(mode)%' %t"
TeX-run-TeX nil t))
(setq TeX-command-default "XeLaTeX"
:bind (:map LaTeX-mode-map
("C-c C-c" .
. (lambda ()
You may want to adjust these as per your need and then try