导入 \usepackage{graphicx} 后字体发生变化

导入 \usepackage{graphicx} 后字体发生变化

我的论文出现了一个奇怪的问题,在尝试将图像导入文本并导入 graphicx 后,字体大小发生了变化,我似乎还没有弄清楚。这是我的代码,

\documentclass[12pt]{article}
%\usepackage{graphicx}
\usepackage{fontspec}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{setspace}
\onehalfspacing

\setromanfont{Times New Roman}
\setsansfont{Arial}

\usepackage{titlesec}
\author{Stamatis Papangelou}
\title{Thesis}
\date{July 2020}
\usepackage{blindtext}

\titleformat{\section}{\sffamily\upshape\bfseries\huge}{\thesection}{1em}{}
\titleformat{\subsection}{\sffamily\upshape\bfseries\large}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\sffamily\upshape\bfseries}{\thesubsubsection}{1em}{} 



\usepackage[backend=biber,defernumbers=true]{biblatex}
\addbibresource{bib.bib}

\begin{document}



\section{Introduction}
\vspace{7mm} 
This file contains the basic formatting instructions and guidelines on how to write your dissertation, according to the School’s requirements. Word Styles are being used extensively for the formatting of basic elements, such as titles, legends etc. Minor modifications are permitted with the agreement of the supervisor.
\subsection{Level 2}
\blindtext
\subsubsection{Level 3}
\blindtext

\begin{figure}[h]
\centering
\includegraphics[width=8cm]{pow.png}
%\caption{Proof-of-Work Algorithm}
\end{figure}



\printbibliography[heading=subbibliography]
\end{document}

以下是一些截图, 没有

和

相关内容