跳至主要内容

Latex学习手记之二:插入图片(2)

1,插入jpg图片
在命令行环境下,使用命令:
ebb figure.jpg
生成bounding box文件figure.bb。

使用如下命令:
\includegraphics[width=0.8\textwidth]{figure.jpg}

可以使用Pdf Texify直接编译成pdf文件。

2,插入bmp图片
还没有找到直接插入bmp图片的方法。现在的方法是,使用
gimp将bmp转换成jpg,然后按上述方法插入。转换时不要
使用windows自带的painter,图片质量损失太多。用gimp或
fastone image viewer,将jpg质量选为最高,转换之后得到的
图片质量较好。

3,同时插入jpg和eps图片
插入的命令不变。编译时使用Latex, dvi2pdf,两种格式的
图片都可以显示。

评论

此博客中的热门博文

I want to learn Emacs

I'm using crimson editor, a good text editor from Korea. It has worked very well for me till now, but it has not been updated since 2004 and recently I found some features that crimson editor does not have,such as code folding, really useful. So I want to switch to a powerful, up-to-date, extendable and cross-platform editor. Between vi and Emacs, I chose the later one. Emacs is not easy to learn, so I just want to learn some basic features firstly. 1. Switch between buffers, buffer and minibuffer, and modes. One does not need to change into a special mode to input the content in Emacs (This is one reason why I did not choose vi), but Emacs does have a minibuffer to take some complected commands from the user. And in Emacs one can have many buffers and each buffer has a mode (not the same "mode" in vi). So have to learn what they are and how to switch between them. 2. Basic editing, such as creat new, open, save, and close file, copy and paste, search and replace ... 3. F...

闲话

通常我在google上搜索的是,“如何在windows 7下配置ssh”,“vi命令”, 诸如此类的问题。百无聊赖的时候,搜一下“如何才能活得快乐”,这个居然也有答案。 这两天睡的太晚。今天实在挺不住了,回到家先睡了一觉,结果晚上睡不着。喝了点儿酒,还是睡不着。其实也不是为了睡觉才喝酒,就是想喝酒。 现在写着的这支笔,用起来不太舒服。Sailor的pocket pen, 比我另外两支pocket pen还要短1cm。不戴笔帽太短了,戴上笔帽重心太靠后,笔总向上翘,不舒服。想到Ebay上把它卖了,不过在此之前要拍照留念。我现在是不戴笔帽写的。 对,我是在纸上写的,不是在电脑上敲的。有图有真相! 太晚了,还是得去睡觉了。明天早上起来又是一个好人。张爱玲说的。 要是落款的话,现在可以用“醉墨“两个字。 我觉得这笔也没有那么讨厌了。 晚安,再见!