zoukankan      html  css  js  c++  java
  • Latex Error cannot determine the size of graphic 报错的解决的方法

    Latex Error cannot determine the size of graphic 报错的解决的方法


                             


    插入jpg文件老是会报错...


    追究了半天,原来是编译的命令又问题,不应该使用

    latex ./hello.tex

    而应该使用

    pdflatex ./hello.tex


    以下是我用的測试代码。当中包括了中文字体的測试.

    documentclass{article}
    usepackage{CJKutf8}
    usepackage{graphicx}
    
    egin{document}
    
    egin{CJK}{UTF8}{gkai}
    这是一个楷体中文测试。处理简体字。
    end{CJK}
    
    egin{figure}[ht!]
    centering
    includegraphics[width=1.77in,height=1.75in]{/home/jasonleaster/a.jpg}
    end{figure}
    
    egin{CJK}{UTF8}{gbsn}
    这是一个宋体中文测试,处理简体字。
    end{CJK}
    
    egin{CJK}{UTF8}{bkai}
    這是一個big5編碼的楷體中文测試。處理繁體文字。

    end{CJK} egin{CJK}{UTF8}{bsmi} 這是一個个big5編碼的明體中文测試,處理繁體文字。 end{CJK} Just say hello world! : ) end{document}



    2014年 10月摄于 南山一阶 前



  • 相关阅读:
    2018-04-13Java编程夯实学习心得(3)
    2018-03-28JavaScript学习心得
    2018-03-27mysql学习心得
    JavaScript-作用域
    样式切换图
    购物车结算
    Visual Studio Code快捷键操作
    复选框
    win10锁屏界面无法设置隐藏
    轮播图
  • 原文地址:https://www.cnblogs.com/zfyouxi/p/5388385.html
Copyright © 2011-2022 走看看