TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to place an Image in top of book document. But thats image still placed in center document. This is my code:

\documentclass[oneside,a4paper  , 12 pt]{book}


\includegraphics[width=0.7\linewidth]{E:/gambar tesis/variasi/9-2-10-cheek-kiss}

share|improve this question

marked as duplicate by Gonzalo Medina, ChrisS, egreg, Stefan Kottwitz Mar 1 '14 at 23:34

This question was marked as an exact duplicate of an existing question.

Use \begin{figure}[htb] – Harish Kumar Feb 28 '14 at 1:25
And I think you don’t even need the figure environment here. Do you need to refer to this image and nence set the empty \caption before the label? – Speravir Feb 28 '14 at 1:28
@Speravir , this code auto-generated by TexStudio – Mohammad Fajar Feb 28 '14 at 1:38
@MohammadFajar: So, you do not need a reference to your image, do you? Clean up your example code. Also the needless %\usepackage{package}. – Speravir Feb 28 '14 at 1:39
No, I using reference to that image. This is just example how my code looks like. – Mohammad Fajar Feb 28 '14 at 1:41

Browse other questions tagged or ask your own question.