Skip some pitfalls of LATEX's IEEE template

Download template

Download link: http://www.ieee.org/publications_standards/publications/authors/author_templates.html

After decompressing to the local, if you are going to write a journal-type paper, open bare_jnl to modify, if it is a conference, open bare_conf to modify

According to different journals, the IEEE template has several topics, namely:

  • bare_jrnl.tex: This template is often used to write journals such as IEEE on
  • bare_jrnl_comsoc.tex: Template for IEEE Communications Society journal
  • bare_jrnl_compsoc.tex: Template for IEEE Computer Society journal
  • bare_jrnl_transmag.tex template for IEEE TRANSACTIONS ON MAGNETICS

These templates can be opened directly based on tex files with different names, or they can be \documentclass[xxx]manually specified in, for example, they can be written in \documentclass[10pt,journal,compsoc]this form.

Editor settings

When using texstudio to generate pdf based on the original template, observe whether the abstract part of the generated text is bolded, if not, click the log, you should see this error:
Insert picture description here

Font shape `TU/ptm/m/sc' undefined(Font) using `TU/ptm/m/n' instead

Follow the steps in https://blog.csdn.net/zzq060143/article/details/103601113 to add the pdfLaTeX compilation command, and run again
Insert picture description here

Hidden character search

After using the pdflatex command, this compilation error occurred

Package inputenc Error: Unicode character ‎ (U+200E)(inputenc) not set up for use with LaTeX. 

In order to solve this problem, first copy the invisible mark in the Easy copy/paste box of http://www.unicode-symbol.com/u/200E.html, and then search for the corresponding sentence in vscode and replace it with Just replace the tool with a space.

If you can't copy the value inside, you can use the Chrome debugging tool:
Insert picture description here
copy it into the search box, then copy the quotation mark behind the value to the search box of vscode, remove the quotation mark and search.
Insert picture description here

Uncomment

When entering mathematical formulas, you may encounter some errors. Don’t worry, go back to the beginning of the template and uncomment \usepackage{amsmath}. By the way, uncomment all other things beginning with \usepackage. For details, please refer to https: //zhuanlan.zhihu.com/p/145009285

Sub-picture settings

If the original subfigure implemented by subfigure is used, change them all to subfloat

Incomplete compilation

I just said that the xelatex+pdflatex compilation command has been set. The result of execution at the beginning was normal, but then suddenly only the stage of xelatex was executed. At this time, it is necessary to go back to the folder where the file is located and manually put all the intermediate files Delete all of them and start over.

Guess you like

Origin blog.csdn.net/jining11/article/details/109354644