在Texstudio中在Latex中创建PDF时出错

时间:2017-07-25 11:02:15

标签: pdf latex presentation

我想在乳胶中创建演示文稿。以下是代码:

\documentclass{beamer}
\usetheme{default}

\title{Electrical Machines}
\subtitle{Electromechanical Energy Conversion}
\author{Vivek kumar Pal}
\institute{Department of Electrical Engineering\\VJTI}
\date{\today}   

\subject{Electricals}

\begin{document}
\end{document}

代码正在正确执行。但是创建pdf会出现以下错误:

does not look like a valid PDF document. Either the file is corrupt or it is in the process of creation. Retrying every two seconds.

请帮忙,让我们知道原因。

1 个答案:

答案 0 :(得分:1)

您缺少内容。添加后,它将正常工作。

\documentclass{beamer}
\usetheme{default}

\title{Electrical Machines}
\subtitle{Electromechanical Energy Conversion}
\author{Vivek kumar Pal}
\institute{Department of Electrical Engineering\\VJTI}
\date{\today}   

\subject{Electricals}

\begin{document}
Enter content here.
\end{document}

`