【问题标题】:Images not showing up in PDF compile of thesis in Latex (via Overleaf)图像未显示在 Latex 论文的 PDF 编译中(通过 Overleaf)
【发布时间】:2019-12-20 02:41:19
【问题描述】:

我的论文的图形文件夹中有图像。当我在我的 chapterX.tex 文件中使用 \includegraphics[]{} 命令时,图像不会出现(在正常模式、快速模式或下载的 PDF 中)。它们似乎可以缩放,但不会出现。

我尝试过使用 graphicsx 和 graphics 包,但都不起作用。

\documentclass[
10pt, 
english, 
singlespacing, 
draft,
parindent 20mm
headsepline, 
chapterinoneline, 
]{MastersDoctoralThesis} 

\usepackage[utf8]{inputenc} 

\usepackage{ctable}

\usepackage[T1]{fontenc}

\usepackage{minitoc}
\setcounter{minitocdepth}{2} 
\setlength{\mtcindent}{24pt} 

\usepackage{hyperref}

\hypersetup{
    colorlinks=true,
    linkcolor=blue,
    filecolor=magenta,      
    urlcolor=cyan,
    }

\usepackage{enumitem} 
\setlist[itemize]{noitemsep}
\setlist[enumerate]{noitemsep}

\usepackage{graphicx} % Required for including images
\graphicspath{{figures/}} % Location of the graphics files




\geometry{
    paper=a4paper, % Change to letterpaper for US letter
    inner=3cm, % Inner margin
    outer=3cm, % Outer margin
    %bindingoffset=.5cm, % Binding offset
    top=1.5cm, % Top margin
    bottom=1.5cm, % Bottom margin
    %showframe, % Uncomment to show how the type block is set on the page
}


\begin{document}

\chapter{Conceptual framework}

\label{Chapter3} 

\minitoc

\section{Introduction}

Below is Jackendoff's parallel architecture.

\includegraphics{figures/jackendoffpa.jpeg}

【问题讨论】:

  • 你能显示.log文件吗?
  • 您能否详细说明They seem to scale, but just won't appear. 的含义?
  • 你可以试试\includegraphics[width=.5\textwidth]{jackendoffpa}
  • 如果您可以包含指向您的背页项目的链接也会很有帮助
  • 您应该改为在tex.stackexchange.com 询问此问题

标签: image latex


【解决方案1】:

您需要删除draft 选项才能看到您的图片:

\documentclass[
10pt, 
english, 
singlespacing, 
%draft,
parindent 20mm
headsepline, 
chapterinoneline, 
]{MastersDoctoralThesis} 

\usepackage[utf8]{inputenc} 

\usepackage{ctable}

\usepackage[T1]{fontenc}

\usepackage{minitoc}
\setcounter{minitocdepth}{2} 
\setlength{\mtcindent}{24pt} 

\usepackage{hyperref}

\hypersetup{
    colorlinks=true,
    linkcolor=blue,
    filecolor=magenta,      
    urlcolor=cyan,
    }

\usepackage{enumitem} 
\setlist[itemize]{noitemsep}
\setlist[enumerate]{noitemsep}

\usepackage{graphicx} % Required for including images
\graphicspath{{figures/}} % Location of the graphics files




\geometry{
    paper=a4paper, % Change to letterpaper for US letter
    inner=3cm, % Inner margin
    outer=3cm, % Outer margin
    %bindingoffset=.5cm, % Binding offset
    top=1.5cm, % Top margin
    bottom=1.5cm, % Bottom margin
    %showframe, % Uncomment to show how the type block is set on the page
}


\begin{document}

\chapter{Conceptual framework}

\label{Chapter3} 

\minitoc

\section{Introduction}

Below is Jackendoff's parallel architecture.

\includegraphics{jackendoffpa}

\end{document}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-11-19
    • 1970-01-01
    • 2019-04-07
    • 2014-01-07
    • 1970-01-01
    • 1970-01-01
    • 2020-12-15
    • 2018-03-13
    相关资源
    最近更新 更多