Latex IEEE模板使用问题记录 2023-07-20

References

  1. 参考文献字号过大不正确->加\small
% References
\small
\bibliographystyle{Bibliography/IEEEtranTIE}
\bibliography{Bibliography/IEEEabrv,Bibliography/myrefs}\ %IEEEabrv instead of IEEEfull
  1. zotero导出Refs设置
  • 条目格式:Better BibTex
  • Citation key formula: auth+"_"+Title.skipwords.select(1,1)+"_"+year
  • image.png
  1. 文献7个及以上作者时要省略,具体见

In IEEE citation format, you should list the names of up to six authors in a reference on your IEEE reference page. If the source has seven or more authors, just list the first author’s name followed by “et al.” (in italics): “F. Gupta et al., …”

In the main text, if you mention a source with three or more authors, you should use “et al.”: “Fowler et al. [11] argue that …”

Note that you’re not required to mention author names at all in the text though—just the IEEE in-text citation number is enough, in which case “et al.” isn’t needed: “[11] argues that …”

  1. bib中title专有名词需要大写时,用{}框起来

  2. 检查条目doi是否完整,不完整手动添加

  3. 期刊名一般需要缩写,可以借助JabRef工具来完成,修改后记得保存

  4. 参考文献编译要借助VsCode中.json文件,具体见


    image.png

    image.png

把最需要的放在最上面,这样ctrl+s可以自动执行,ctrl+b可以收起左边栏

{

    "latex-workshop.latex.tools": [
    
    {
    
    "name": "xelatex",
    
    "command": "xelatex",
    
    "args": [
    
    "-synctex=1",
    
    "-interaction=nonstopmode",
    
    "-file-line-error",
    
    "-pdf",
    
    "%DOC%"
    
    ]
    
    },
    
    {
    
    "name": "latexmk",
    
    "command": "latexmk",
    
    "args": [
    
    "-synctex=1",
    
    "-interaction=nonstopmode",
    
    "-file-line-error",
    
    "-pdf",
    
    "%DOC%"
    
    ]
    
    },
    
    {
    
    "name": "pdflatex",
    
    "command": "pdflatex",
    
    "args": [
    
    "-synctex=1",
    
    "-interaction=nonstopmode",
    
    "-file-line-error",
    
    "-pdf",
    
    "%DOC%"
    
    ]
    
    },
    
    {
    
    "name": "bibtex",
    
    "command": "bibtex",
    
    "args": [
    
    "%DOCFILE%"
    
    ]
    
    }
    
    ],
    
    "latex-workshop.latex.recipes": [

    {
    
         "name": "pdflatex*2",
            
        "tools": [
            
        "pdflatex",
        "pdflatex"
            
        ]
            
        },
    

    {

        "name": "xelatex",
        
        "tools": [
        
        "xelatex"
        
        ]
        
        },
        
    //TODO
    {
    
        "name": "pdflatex",
        
        "tools": [
        
        "pdflatex"
        
        ]
        
        },
    
   

    //TODO2
    {
    
        "name": "bibtex",
        
        "tools": [
       
        "bibtex",

        
        ]
        
        },   
    
    {
    
        "name": "xelatex -> bibtex -> xelatex*2",
    
        "tools": [
    
        "xelatex",
    
        "bibtex",
    
        "xelatex",
    
        "xelatex"
    
        ]
    
    },
    
    {
    
    "name": "bibtex -> xelatex*2",
    
    "tools": [
    
    "bibtex",
    
    "xelatex",
    
    "xelatex"
    
    ]
    
    },

    {
    
    "name": "bibtex -> pdflatex*2",
        
    "tools": [
        
    "bibtex",
        
    "pdflatex",
        
    "pdflatex"
        
    ]
        
    }
    
    ],
    "markdown.preview.fontSize": 18,
    "window.zoomLevel": 2,
    "files.autoSave": "off",
    "editor.fontSize": 10,
    "workbench.iconTheme": null,
    "editor.foldingStrategy": "indentation",
    "editor.tabSize": 6,
    "editor.largeFileOptimizations": false,
    "vsicons.dontShowNewVersionMessage": true,
    "latex-workshop.view.pdf.viewer": "tab",
    "editor.minimap.enabled": false,
    "workbench.colorTheme": "Default Light+",
    //"editor.fontSize": 20,
    //"editor.renderControlCharacters": false,
    //"editor.fontFamily": "Menlo, 'songti',Monaco, 'Courier New', monospace",
    "[json]": {

        "editor.quickSuggestions": {
            "strings": true
        },
        "editor.suggest.insertMode": "replace"
    },
    "launch": {

        "configurations": [],
        "compounds": []
    },
    "editor.suggest.shareSuggestSelections": true,
    "workbench.view.alwaysShowHeaderActions": true,
    "C_Cpp.sshTargetsView": "enabled",
    "security.workspace.trust.untrustedFiles": "open"
    
    }
    

Packages

\ifCLASSOPTIONcompsoc
\usepackage[caption=false, font=normalsize, labelfont=sf, textfont=sf]{subfig}
\else
\usepackage[caption=false, font=footnotesize]{subfig}
\usepackage{graphicx}
\graphicspath{{./figs/}{}} %设置图片保存路径,图片名必须英文且无后缀
\DeclareGraphicsExtensions{.pdf}
\usepackage{cite}
\usepackage{picinpar}
\usepackage{amsmath}
\usepackage{url}
\usepackage{flushend}
\usepackage[latin1]{inputenc}
\usepackage{colortbl}
\usepackage{soul}
\usepackage{multirow}
\usepackage{pifont}
\usepackage{color}
\usepackage{alltt}
\usepackage[hidelinks]{hyperref}
\usepackage{enumerate}
\usepackage{siunitx}
\usepackage{breakurl}
\usepackage{epstopdf}
\usepackage{pbox}
\usepackage{amssymb} %\geqslant
\usepackage[numbers,sort&compress]{natbib}
\usepackage{graphicx}
\usepackage{threeparttable}
\usepackage{multirow}
\usepackage[switch]{lineno}

\hypersetup{hypertex=true,
            colorlinks=true,
            linkcolor=black,
            anchorcolor=black,
            citecolor=black}
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容