zoukankan      html  css  js  c++  java
  • Make PhD citations say "dissertation" rather than thesis


    https://tex.stackexchange.com/questions/175106/make-phd-citations-say-dissertation-rather-than-thesis


    At my school, PhD works are generally referred to as dissertations rather than theses.

    My bibtex file has this entry:

    @phdthesis{Alsolami2012Auth,
        title    = {An examination of keystroke dynamics for continuous user authentication},
        school   = {Queensland University of Technology},
        author   = {Alsolami, Eesa},
        year     = {2012}, %other attributes omitted
    }

    And it gets rendered as:

    [2] Eesa Alsolami. An examination of keystroke dynamics for continuous user authentication.
    PhD thesis, Queensland University of Technology, 2012.

    Is there any way to make it say "PhD dissertation" rather than "PhD thesis"?

    On another note, why is this the default in LaTeX? Would it be unusual or poor form to change it?

    Edit: I'm using the plain bibliography style. I could probably use ieeetr as well:

    ibliographystyle{plain}
    ibliography{myBibFile1,myBibFile2}

    ================================================================================

    Answers

    The text used in plain.bst is hard coded into the file itself, and so isn't customizable from within your document.

    What you can do is make a copy of plain.bst and edit it, and then use the copy as your bibliography style.

    On a TeX Live system, plain.bst is located in /usr/local/texlive/2013/texmf-dist/bibtex/bst/base/plain.bst. Make a copy of this file and call it plain-diss.bst (or some other name). Save this in the same folder as your document, or put it in your local texmf folder in texmf/bibtex/bst/.

    Edit the file and search for "thesis". You will find the following function:

    FUNCTION {phdthesis}
    { output.bibitem
      format.authors "author" output.check
      new.block
      format.btitle "title" output.check
      new.block
      "PhD thesis" format.thesis.type output.nonnull
      school "school" output.check
      address output
      format.date "year" output.check
      new.block
      note output
      fin.entry
    }

    Change "PhD thesis" to "PhD dissertation" and then save the file.

    In your document, use ibliographystyle{plain-diss} instead of {plain}.

    The same general solution will also work for the ieeetr.bst.

    A biblatex solution

    Another way to do this would be to use biblatex, which provides easy customization of these sorts of things. Here's a schematic document that shows how to do this:

    documentclass{article}
    usepackage[style=numeric]{biblatex}
    usepackage[american]{babel}
    addbibresource{<your-bib-fil>.bib}
    DefineBibliographyStrings{american}{phdthesis = {PhD dissertation}}
    egin{document}
    cite{<cite-key>}
    printbibliography
    end{document}

    For a quick fix, you can use the type field, although it makes the file non portable.

    egin{filecontents*}{jobname.bib}
    @phdthesis{Alsolami2012Auth,
        title    = {An examination of keystroke dynamics for continuous user authentication},
        school   = {Queensland University of Technology},
        author   = {Alsolami, Eesa},
        year     = {2012},
        type     = {{PhD} dissertation},
    }
    end{filecontents*}
    
    documentclass{article}
    
    egin{document}
    
    cite{Alsolami2012Auth}
    
    ibliographystyle{plain}
    ibliography{jobname}
    
    end{document}

    And it gets rendered as:

    [1] Eesa Alsolami. An examination of keystroke dynamics for continuous user authentication.
    PhD dissertation, Queensland University of Technology, 2012.


  • 相关阅读:
    hive实现根据用户分组,按用户记录求上下两条记录的时间差
    国外互联网公司大数据技术架构研究
    Hadoop源码解析之 rpc通信 client到server通信
    一致性哈希与java实现
    spark 对hbase 操作
    Spark MLlib(下)--机器学习库SparkMLlib实战
    PHP源码进行加密(仅linux)
    有个问题需要将字符串(大数字)计算相加并转换成字符串,传递的参数是字符串。
    Js中Array 函数使用方法
    phpstorm配置xdebug调试
  • 原文地址:https://www.cnblogs.com/ztguang/p/12644725.html
Copyright © 2011-2022 走看看