zoukankan      html  css  js  c++  java
  • Working with Latex under Emacs

    Working with Latex under Emacs

    Working with Latex under Emacs

    It is high time that I read papers and work with my teammates to do some research works on Computer Architecture, after some awful experience with MS Word, I decided to use latex to take notes. In this post, I will briefly record the various problems encountered when using emacs+auctex.

    1 When things go wrong running C-c C-c to generate *.bbl from *.bib.

    I admit emacs is smart enough to do what is supposed to do in a latex buffer, but sometimes things may get more complicated than emacs itself can resolve, so it is necessary to help emacs a little. The problem is that when I run C-c C-c to a latex buffer, it failed to generate the *.aux and *.bbl files, which are used for bib, the way to solve this problem is to run the following commands manually:

    pdflatex jobname.tex Generate the jobname.aux file for bibtex
    bibtex jobname.aux Create the jobname.bbl from the jobname.aux file
    pdflatex jobname.tex Generate the pdf file from the above files
    pdflatex jobname.tex Resolve undefined reference

    2 The correct way to insert newlines in a section of text, not a paragraph.

    Line break accepts optional argument in brackets, whirs tells the vertical length to separate:

    line1
    \[1aselineskip]
    line2

    3 Why do you sometimes encounter the WARNING underfull hbox?

    This problem has something to do with the inter-word space of one line, when all the words in the line can not be cut properly, latex will complain about, so re-word the sentence can always solve the problem. By the way, latex can still produce the correct document if you ignore the warning.

    4 How to make the necessary packages to compile the tex files for IEEE conference and transactions?

    When texlive (not texlive-full) is installed, not all packages are installed by default, but avoid the temptation to try sudo apt-get install texlive-full, it will eat up much disk space, perhaps more than 2 GB. What is needed is texlive-science and a IEEEtran.bst file.

    Author: wujing

    Created: 2014-09-21 日 13:30

    Emacs 24.3.1 (Org mode 8.2.6)

    Validate

  • 相关阅读:
    容器网络(一)docker容器网络驱动
    双指针遍历/滑动窗口 —— 209_长度最小的子数组
    双指针遍历/滑动窗口 —— 121_买卖股票的最佳时机
    双指针遍历/滑动窗口 —— 42_接雨水
    双指针遍历/滑动窗口 —— 26_删除排序数组中的重复项
    双指针遍历/滑动窗口 —— 16_最接近的三数之和
    双指针遍历/滑动窗口 —— 15_三数之和
    双指针遍历/滑动窗口 —— 11_盛最多水的容器
    双指针遍历/滑动窗口 —— 3_无重复字符的最长子串
    链表操作 —— 206_反转链表
  • 原文地址:https://www.cnblogs.com/wujingcqu/p/3984495.html
Copyright © 2011-2022 走看看