Showing posts with label Latex. Show all posts
Showing posts with label Latex. Show all posts
Monday, February 4, 2008
Wednesday, January 30, 2008
Latex font error
LaTeX Font Warning: Font shape `JT1/mc/m/it' undefined
(Font) using `JT1/mc/m/n' instead on input line 30.
LaTeX Font Warning: Font shape `JY1/mc/m/it' undefined
(Font) using `JY1/mc/m/n' instead on input line 30.
jdummy.defFor this kind of warning make a "jdummy.def" file . With command \input{jdummy.def} make this file read . file contains following lines.
%%% jdummy.def
%
\DeclareRelationFont{JY1}{mc}{it}{}{OT1}{cmr}{it}{}
\DeclareRelationFont{JT1}{mc}{it}{}{OT1}{cmr}{it}{}
\DeclareFontShape{JY1}{mc}{m}{it}{<5> <6> <7> <8> <9> <10> sgen*min
<10.95><12><14.4><17.28><20.74><24.88> min10
<-> min10}{}
\DeclareFontShape{JT1}{mc}{m}{it}{<5> <6> <7> <8> <9> <10> sgen*tmin
<10.95><12><14.4><17.28><20.74><24.88> tmin10
<-> tmin10}{}
\DeclareRelationFont{JY1}{mc}{sl}{}{OT1}{cmr}{sl}{}
\DeclareRelationFont{JT1}{mc}{sl}{}{OT1}{cmr}{sl}{}
\DeclareFontShape{JY1}{mc}{m}{sl}{<5> <6> <7> <8> <9> <10> sgen*min
<10.95><12><14.4><17.28><20.74><24.88> min10
<-> min10}{}
\DeclareFontShape{JT1}{mc}{m}{sl}{<5> <6> <7> <8> <9> <10> sgen*tmin
<10.95><12><14.4><17.28><20.74><24.88> tmin10
<-> tmin10}{}
\DeclareRelationFont{JY1}{mc}{sc}{}{OT1}{cmr}{sc}{}
\DeclareRelationFont{JT1}{mc}{sc}{}{OT1}{cmr}{sc}{}
\DeclareFontShape{JY1}{mc}{m}{sc}{<5> <6> <7> <8> <9> <10> sgen*min
<10.95><12><14.4><17.28><20.74><24.88> min10
<-> min10}{}
\DeclareFontShape{JT1}{mc}{m}{sc}{<5> <6> <7> <8> <9> <10> sgen*tmin
<10.95><12><14.4><17.28><20.74><24.88> tmin10
<-> tmin10}{}
\DeclareRelationFont{JY1}{gt}{it}{}{OT1}{cmbx}{it}{}
\DeclareRelationFont{JT1}{gt}{it}{}{OT1}{cmbx}{it}{}
\DeclareFontShape{JY1}{mc}{bx}{it}{<5> <6> <7> <8> <9> <10> sgen*goth
<10.95><12><14.4><17.28><20.74><24.88> goth10
<-> goth10}{}
\DeclareFontShape{JT1}{mc}{bx}{it}{<5> <6> <7> <8> <9> <10> sgen*tgoth
<10.95><12><14.4><17.28><20.74><24.88> tgoth10
<-> tgoth10}{}
\DeclareRelationFont{JY1}{gt}{sl}{}{OT1}{cmbx}{sl}{}
\DeclareRelationFont{JT1}{gt}{sl}{}{OT1}{cmbx}{sl}{}
\DeclareFontShape{JY1}{mc}{bx}{sl}{<5> <6> <7> <8> <9> <10> sgen*goth
<10.95><12><14.4><17.28><20.74><24.88> goth10
<-> goth10}{}
\DeclareFontShape{JT1}{mc}{bx}{sl}{<5> <6> <7> <8> <9> <10> sgen*tgoth
<10.95><12><14.4><17.28><20.74><24.88> tgoth10
<-> tgoth10}{}
\DeclareRelationFont{JY1}{gt}{sc}{}{OT1}{cmbx}{sc}{}
\DeclareRelationFont{JT1}{gt}{sc}{}{OT1}{cmbx}{sc}{}
\DeclareFontShape{JY1}{mc}{bx}{sc}{<5> <6> <7> <8> <9> <10> sgen*goth
<10.95><12><14.4><17.28><20.74><24.88> goth10
<-> goth10}{}
\DeclareFontShape{JT1}{mc}{bx}{sc}{<5> <6> <7> <8> <9> <10> sgen*tgoth
<10.95><12><14.4><17.28><20.74><24.88> tgoth10
<-> tgoth10}{}
\DeclareRelationFont{JY1}{gt}{it}{}{OT1}{cmr}{it}{}
\DeclareRelationFont{JT1}{gt}{it}{}{OT1}{cmr}{it}{}
\DeclareFontShape{JY1}{gt}{m}{it}{<5> <6> <7> <8> <9> <10> sgen*goth
<10.95><12><14.4><17.28><20.74><24.88> goth10
<-> goth10}{}
\DeclareFontShape{JT1}{gt}{m}{it}{<5> <6> <7> <8> <9> <10> sgen*tgoth
<10.95><12><14.4><17.28><20.74><24.88> tgoth10
<-> tgoth10}{}
\endinput
%%%% end of jdummy.def
Powered by ScribeFire.
Tuesday, January 29, 2008
Latex Inserting Image
\begin{figure}[!bh]
\begin{center}
\includegraphics[scale=0.3]{myimage/result1.eps}
\vskip -\lastskip \vskip -9pt
\caption{Initial image.}
\label{fig:result1}
\end{center}
\end{figure}
\begin{figure}[bhtp]
\begin{center}\includegraphics[scale=0.3]{myimage/binary.eps}
\vskip -\lastskip \vskip -9pt
\caption{Binarized image on basis of marker.}
\label{fig:binary}
\end{center}
\end{figure}
\begin{figure}[bhtp]
\begin{center}\includegraphics[scale=0.50]{img/result2.eps}
\vskip -\lastskip \vskip -9pt
\caption{Camera turned to look down the left bottom corner.}
\label{fig:result2}
\end{center}
\end{figure}
\section{ABC}
The system is ..................................
Figures \ref{fig:result1} -- \ref{fig:result2} show how relative ......
An initial ..... shown in Fig. \ref{fig:result1}.
The binarized ....... Fig.\ref{fig:binary}.
in Fig. \ref{fig:result2}
In the above case
\begin{figure}[bh] option may not work because this section starts with this \begin command . So if you want your figure to set at the bottom of the page , start the section command before it .
/section{ABC}
In this section ......
........In Figure \ref{fig:result1} ..........
begin{figure}[!bh]
\begin{center}
\includegraphics[scale=0.3]{myimage/result1.eps}
\vskip -\lastskip \vskip -9pt
\caption{Initial image.}
\label{fig:result1}
\end{center}
\end{figure}
Powered by ScribeFire.
Friday, January 25, 2008
Wednesday, January 23, 2008
Latex Error
What I want to do is to add a screenshot BMP file to my latex document .
But it always fails . It shows the following error.
[6] (./sec4.tex
! LaTeX Error: Cannot determine size of graphic in img/brew_result1.bmp (no siz
e specifed).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.5 ...degraphics[scale=0.4]{img/brew_result1.bmp}
?
! Emergency stop.
...
l.5 ...degraphics[scale=0.4]{img/brew_result1.bmp}
Output written on thesis.dvi (9 pages, 18248 bytes).
Transcript written on thesis.log.
how to solve it?
Solution 1.I download en BMP to eps converter and convert your BMP file to eps . But it will make your colored image to black and white . Here is a eps converter .
http://www.vector.co.jp/soft/dl/win95/art/se176316.html
Solution 2.Still looking .
But it always fails . It shows the following error.
[6] (./sec4.tex
! LaTeX Error: Cannot determine size of graphic in img/brew_result1.bmp (no siz
e specifed).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.5 ...degraphics[scale=0.4]{img/brew_result1.bmp}
?
! Emergency stop.
...
l.5 ...degraphics[scale=0.4]{img/brew_result1.bmp}
Output written on thesis.dvi (9 pages, 18248 bytes).
Transcript written on thesis.log.
how to solve it?
Solution 1.I download en BMP to eps converter and convert your BMP file to eps . But it will make your colored image to black and white . Here is a eps converter .
http://www.vector.co.jp/soft/dl/win95/art/se176316.html
Solution 2.Still looking .
Powered by ScribeFire.
Tuesday, January 22, 2008
Subscribe to:
Posts (Atom)