Alignment issue with bibtex using IEEEtran class











up vote
4
down vote

favorite












Only the first reference of my bibliography is correctly aligned within the margins. The other references go outside the margins to the left and right.



documentclass[10pt,journal,cspaper,compsoc]{IEEEtran}      
usepackage{verbatim}
usepackage{draftwatermark}

ifCLASSOPTIONcompsoc
% IEEE Computer Society needs nocompress option
% requires cite.sty v4.0 or later (November 2003)
usepackage[nocompress]{cite}

begin{document}

IEEEtriggeratref{5}
bibliographystyle{IEEEtran}
bibliography{IEEEabrv, ExpObs}

end{document}


Output



Using .bib file (link to an image of the .bib file)



.bib file



% This file was created with JabRef 2.9.2.
% Encoding: Cp1252

@ARTICLE{Abran1996,
author = {Abran, Alain and Robillard, Pierre N.},
title = {Function points analysis: An empirical study of its measurement processes},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1996},
volume = {22},
pages = {895–910},
number = {12},
file = {[PDF] from etsmtl.ca:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageT7CRESRVAbran and Robillard - 1996 - Function points analysis An empirical study of it.pdf:application/pdf;Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageMD2F63THlogin.html:text/html},
shorttitle = {Function points analysis},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=553638},
urldate = {2013-04-12}
}

@ARTICLE{Albrecht1983,
author = {Albrecht, Allan J. and Gaffney Jr, John E.},
title = {Software function, source lines of code, and development effort prediction:
a software science validation},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1983},
pages = {639–648},
number = {6},
file = {Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageAFMVVT4Zlogin.html:text/html},
shorttitle = {Software function, source lines of code, and development effort prediction},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1703110},
urldate = {2013-04-05}
}









share|improve this question




















  • 1




    Welcome to TeX.sx! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you.
    – jubobs
    Apr 16 '13 at 14:07










  • You can add the output, and remove the leading !. Then, people can edit your question, and insert the ! back again. Please also add the offending bibliography items in ExpObs.bib.
    – mafp
    Apr 16 '13 at 14:21






  • 1




    Please provide a complete minimal working example allowing us to reproduce the problem mentioned.
    – Gonzalo Medina
    Apr 16 '13 at 15:26










  • Please, at least post parts of your .bib file, not a mere picture of its contents.
    – jubobs
    Apr 16 '13 at 15:49










  • I could not find a way to post a file, but the .bib file is similar for the many other entries. If there is anything else I should post, please let me know.
    – jbeach
    Apr 16 '13 at 17:22















up vote
4
down vote

favorite












Only the first reference of my bibliography is correctly aligned within the margins. The other references go outside the margins to the left and right.



documentclass[10pt,journal,cspaper,compsoc]{IEEEtran}      
usepackage{verbatim}
usepackage{draftwatermark}

ifCLASSOPTIONcompsoc
% IEEE Computer Society needs nocompress option
% requires cite.sty v4.0 or later (November 2003)
usepackage[nocompress]{cite}

begin{document}

IEEEtriggeratref{5}
bibliographystyle{IEEEtran}
bibliography{IEEEabrv, ExpObs}

end{document}


Output



Using .bib file (link to an image of the .bib file)



.bib file



% This file was created with JabRef 2.9.2.
% Encoding: Cp1252

@ARTICLE{Abran1996,
author = {Abran, Alain and Robillard, Pierre N.},
title = {Function points analysis: An empirical study of its measurement processes},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1996},
volume = {22},
pages = {895–910},
number = {12},
file = {[PDF] from etsmtl.ca:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageT7CRESRVAbran and Robillard - 1996 - Function points analysis An empirical study of it.pdf:application/pdf;Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageMD2F63THlogin.html:text/html},
shorttitle = {Function points analysis},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=553638},
urldate = {2013-04-12}
}

@ARTICLE{Albrecht1983,
author = {Albrecht, Allan J. and Gaffney Jr, John E.},
title = {Software function, source lines of code, and development effort prediction:
a software science validation},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1983},
pages = {639–648},
number = {6},
file = {Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageAFMVVT4Zlogin.html:text/html},
shorttitle = {Software function, source lines of code, and development effort prediction},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1703110},
urldate = {2013-04-05}
}









share|improve this question




















  • 1




    Welcome to TeX.sx! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you.
    – jubobs
    Apr 16 '13 at 14:07










  • You can add the output, and remove the leading !. Then, people can edit your question, and insert the ! back again. Please also add the offending bibliography items in ExpObs.bib.
    – mafp
    Apr 16 '13 at 14:21






  • 1




    Please provide a complete minimal working example allowing us to reproduce the problem mentioned.
    – Gonzalo Medina
    Apr 16 '13 at 15:26










  • Please, at least post parts of your .bib file, not a mere picture of its contents.
    – jubobs
    Apr 16 '13 at 15:49










  • I could not find a way to post a file, but the .bib file is similar for the many other entries. If there is anything else I should post, please let me know.
    – jbeach
    Apr 16 '13 at 17:22













up vote
4
down vote

favorite









up vote
4
down vote

favorite











Only the first reference of my bibliography is correctly aligned within the margins. The other references go outside the margins to the left and right.



documentclass[10pt,journal,cspaper,compsoc]{IEEEtran}      
usepackage{verbatim}
usepackage{draftwatermark}

ifCLASSOPTIONcompsoc
% IEEE Computer Society needs nocompress option
% requires cite.sty v4.0 or later (November 2003)
usepackage[nocompress]{cite}

begin{document}

IEEEtriggeratref{5}
bibliographystyle{IEEEtran}
bibliography{IEEEabrv, ExpObs}

end{document}


Output



Using .bib file (link to an image of the .bib file)



.bib file



% This file was created with JabRef 2.9.2.
% Encoding: Cp1252

@ARTICLE{Abran1996,
author = {Abran, Alain and Robillard, Pierre N.},
title = {Function points analysis: An empirical study of its measurement processes},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1996},
volume = {22},
pages = {895–910},
number = {12},
file = {[PDF] from etsmtl.ca:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageT7CRESRVAbran and Robillard - 1996 - Function points analysis An empirical study of it.pdf:application/pdf;Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageMD2F63THlogin.html:text/html},
shorttitle = {Function points analysis},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=553638},
urldate = {2013-04-12}
}

@ARTICLE{Albrecht1983,
author = {Albrecht, Allan J. and Gaffney Jr, John E.},
title = {Software function, source lines of code, and development effort prediction:
a software science validation},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1983},
pages = {639–648},
number = {6},
file = {Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageAFMVVT4Zlogin.html:text/html},
shorttitle = {Software function, source lines of code, and development effort prediction},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1703110},
urldate = {2013-04-05}
}









share|improve this question















Only the first reference of my bibliography is correctly aligned within the margins. The other references go outside the margins to the left and right.



documentclass[10pt,journal,cspaper,compsoc]{IEEEtran}      
usepackage{verbatim}
usepackage{draftwatermark}

ifCLASSOPTIONcompsoc
% IEEE Computer Society needs nocompress option
% requires cite.sty v4.0 or later (November 2003)
usepackage[nocompress]{cite}

begin{document}

IEEEtriggeratref{5}
bibliographystyle{IEEEtran}
bibliography{IEEEabrv, ExpObs}

end{document}


Output



Using .bib file (link to an image of the .bib file)



.bib file



% This file was created with JabRef 2.9.2.
% Encoding: Cp1252

@ARTICLE{Abran1996,
author = {Abran, Alain and Robillard, Pierre N.},
title = {Function points analysis: An empirical study of its measurement processes},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1996},
volume = {22},
pages = {895–910},
number = {12},
file = {[PDF] from etsmtl.ca:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageT7CRESRVAbran and Robillard - 1996 - Function points analysis An empirical study of it.pdf:application/pdf;Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageMD2F63THlogin.html:text/html},
shorttitle = {Function points analysis},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=553638},
urldate = {2013-04-12}
}

@ARTICLE{Albrecht1983,
author = {Albrecht, Allan J. and Gaffney Jr, John E.},
title = {Software function, source lines of code, and development effort prediction:
a software science validation},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1983},
pages = {639–648},
number = {6},
file = {Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageAFMVVT4Zlogin.html:text/html},
shorttitle = {Software function, source lines of code, and development effort prediction},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1703110},
urldate = {2013-04-05}
}






bibtex ieeetran






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 16 '13 at 17:11

























asked Apr 16 '13 at 14:03









jbeach

213




213








  • 1




    Welcome to TeX.sx! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you.
    – jubobs
    Apr 16 '13 at 14:07










  • You can add the output, and remove the leading !. Then, people can edit your question, and insert the ! back again. Please also add the offending bibliography items in ExpObs.bib.
    – mafp
    Apr 16 '13 at 14:21






  • 1




    Please provide a complete minimal working example allowing us to reproduce the problem mentioned.
    – Gonzalo Medina
    Apr 16 '13 at 15:26










  • Please, at least post parts of your .bib file, not a mere picture of its contents.
    – jubobs
    Apr 16 '13 at 15:49










  • I could not find a way to post a file, but the .bib file is similar for the many other entries. If there is anything else I should post, please let me know.
    – jbeach
    Apr 16 '13 at 17:22














  • 1




    Welcome to TeX.sx! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you.
    – jubobs
    Apr 16 '13 at 14:07










  • You can add the output, and remove the leading !. Then, people can edit your question, and insert the ! back again. Please also add the offending bibliography items in ExpObs.bib.
    – mafp
    Apr 16 '13 at 14:21






  • 1




    Please provide a complete minimal working example allowing us to reproduce the problem mentioned.
    – Gonzalo Medina
    Apr 16 '13 at 15:26










  • Please, at least post parts of your .bib file, not a mere picture of its contents.
    – jubobs
    Apr 16 '13 at 15:49










  • I could not find a way to post a file, but the .bib file is similar for the many other entries. If there is anything else I should post, please let me know.
    – jbeach
    Apr 16 '13 at 17:22








1




1




Welcome to TeX.sx! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you.
– jubobs
Apr 16 '13 at 14:07




Welcome to TeX.sx! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you.
– jubobs
Apr 16 '13 at 14:07












You can add the output, and remove the leading !. Then, people can edit your question, and insert the ! back again. Please also add the offending bibliography items in ExpObs.bib.
– mafp
Apr 16 '13 at 14:21




You can add the output, and remove the leading !. Then, people can edit your question, and insert the ! back again. Please also add the offending bibliography items in ExpObs.bib.
– mafp
Apr 16 '13 at 14:21




1




1




Please provide a complete minimal working example allowing us to reproduce the problem mentioned.
– Gonzalo Medina
Apr 16 '13 at 15:26




Please provide a complete minimal working example allowing us to reproduce the problem mentioned.
– Gonzalo Medina
Apr 16 '13 at 15:26












Please, at least post parts of your .bib file, not a mere picture of its contents.
– jubobs
Apr 16 '13 at 15:49




Please, at least post parts of your .bib file, not a mere picture of its contents.
– jubobs
Apr 16 '13 at 15:49












I could not find a way to post a file, but the .bib file is similar for the many other entries. If there is anything else I should post, please let me know.
– jbeach
Apr 16 '13 at 17:22




I could not find a way to post a file, but the .bib file is similar for the many other entries. If there is anything else I should post, please let me know.
– jbeach
Apr 16 '13 at 17:22










2 Answers
2






active

oldest

votes

















up vote
1
down vote













I tested your example and it works fine:



listfiles
documentclass[10pt,journal,cspaper,compsoc]{IEEEtran}
usepackage{verbatim}
usepackage{draftwatermark}
usepackage{url}
ifCLASSOPTIONcompsoc
% IEEE Computer Society needs nocompress option
% requires cite.sty v4.0 or later (November 2003)
usepackage[nocompress]{cite}
usepackage{filecontents}
begin{filecontents}{minimalbib.bib}
% This file was created with JabRef 2.9.2.
% Encoding: Cp1252

@ARTICLE{Abran1996,
author = {Abran, Alain and Robillard, Pierre N.},
title = {Function points analysis: An empirical study of its measurement processes},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1996},
volume = {22},
pages = {895–910},
number = {12},
file = {[PDF] from etsmtl.ca:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageT7CRESRVAbran and Robillard - 1996 - Function points analysis An empirical study of it.pdf:application/pdf;Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageMD2F63THlogin.html:text/html},
shorttitle = {Function points analysis},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=553638},
urldate = {2013-04-12}
}

@ARTICLE{Albrecht1983,
author = {Albrecht, Allan J. and Gaffney Jr, John E.},
title = {Software function, source lines of code, and development effort prediction:
a software science validation},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1983},
pages = {639–648},
number = {6},
file = {Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageAFMVVT4Zlogin.html:text/html},
shorttitle = {Software function, source lines of code, and development effort prediction},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1703110},
urldate = {2013-04-05}
}
end{filecontents}
begin{document}
Textnocite{*}
IEEEtriggeratref{5}
bibliographystyle{IEEEtran}
bibliography{minimalbib}

end{document}


enter image description here



File List:



 *File List*
IEEEtran.cls 2012/12/27 V1.8 by Michael Shell
ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
draftwatermark.sty 2006/06/30 1.0 Put a gray textual watermark on document p
ages
everypage.sty 2007/06/20 1.1 Hooks to run on every page
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
cite.sty 2010/09/10 v 5.3
filecontents.sty 2011/10/08 v1.3 Create an external file from within a LaTeX
document
supp-pdf.mkii
pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
epstopdf-base.sty 2010/02/09 v2.5 Base part for package epstopdf
grfext.sty 2010/08/19 v1.1 Manage graphics extensions (HO)
kvdefinekeys.sty 2011/04/07 v1.3 Define keys (HO)
kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)
kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)
etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
test.bbl
ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
***********





share|improve this answer























  • Can you think of any reason why mine is not working? Sorry, I am quite new to latex, and I spent much of yesterday and today trying to understand this issue.
    – jbeach
    Apr 16 '13 at 20:52










  • @jbeach: You should take a copy of your document and comment line by line to find the reason for the issue.
    – Marco Daniel
    Apr 19 '13 at 10:42


















up vote
0
down vote













I had the same problem using IEEEtran with Overleaf. In my case, problems appeared with the urls: abs_all.jsp?arnumber=1703110 was misinterpreted as abs_{a}ll, Overleaf complained about math text out of an $$ enviroment and misalign the rest of the bibliography.
Try avoiding "url" and "doi" fields during your .bib exportation.






share|improve this answer








New contributor




Krugger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • Hmmm... this should not be a problem if you use it properly (see Underscore in bibtex url)...
    – Werner
    44 secs ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f109034%2falignment-issue-with-bibtex-using-ieeetran-class%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













I tested your example and it works fine:



listfiles
documentclass[10pt,journal,cspaper,compsoc]{IEEEtran}
usepackage{verbatim}
usepackage{draftwatermark}
usepackage{url}
ifCLASSOPTIONcompsoc
% IEEE Computer Society needs nocompress option
% requires cite.sty v4.0 or later (November 2003)
usepackage[nocompress]{cite}
usepackage{filecontents}
begin{filecontents}{minimalbib.bib}
% This file was created with JabRef 2.9.2.
% Encoding: Cp1252

@ARTICLE{Abran1996,
author = {Abran, Alain and Robillard, Pierre N.},
title = {Function points analysis: An empirical study of its measurement processes},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1996},
volume = {22},
pages = {895–910},
number = {12},
file = {[PDF] from etsmtl.ca:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageT7CRESRVAbran and Robillard - 1996 - Function points analysis An empirical study of it.pdf:application/pdf;Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageMD2F63THlogin.html:text/html},
shorttitle = {Function points analysis},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=553638},
urldate = {2013-04-12}
}

@ARTICLE{Albrecht1983,
author = {Albrecht, Allan J. and Gaffney Jr, John E.},
title = {Software function, source lines of code, and development effort prediction:
a software science validation},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1983},
pages = {639–648},
number = {6},
file = {Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageAFMVVT4Zlogin.html:text/html},
shorttitle = {Software function, source lines of code, and development effort prediction},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1703110},
urldate = {2013-04-05}
}
end{filecontents}
begin{document}
Textnocite{*}
IEEEtriggeratref{5}
bibliographystyle{IEEEtran}
bibliography{minimalbib}

end{document}


enter image description here



File List:



 *File List*
IEEEtran.cls 2012/12/27 V1.8 by Michael Shell
ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
draftwatermark.sty 2006/06/30 1.0 Put a gray textual watermark on document p
ages
everypage.sty 2007/06/20 1.1 Hooks to run on every page
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
cite.sty 2010/09/10 v 5.3
filecontents.sty 2011/10/08 v1.3 Create an external file from within a LaTeX
document
supp-pdf.mkii
pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
epstopdf-base.sty 2010/02/09 v2.5 Base part for package epstopdf
grfext.sty 2010/08/19 v1.1 Manage graphics extensions (HO)
kvdefinekeys.sty 2011/04/07 v1.3 Define keys (HO)
kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)
kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)
etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
test.bbl
ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
***********





share|improve this answer























  • Can you think of any reason why mine is not working? Sorry, I am quite new to latex, and I spent much of yesterday and today trying to understand this issue.
    – jbeach
    Apr 16 '13 at 20:52










  • @jbeach: You should take a copy of your document and comment line by line to find the reason for the issue.
    – Marco Daniel
    Apr 19 '13 at 10:42















up vote
1
down vote













I tested your example and it works fine:



listfiles
documentclass[10pt,journal,cspaper,compsoc]{IEEEtran}
usepackage{verbatim}
usepackage{draftwatermark}
usepackage{url}
ifCLASSOPTIONcompsoc
% IEEE Computer Society needs nocompress option
% requires cite.sty v4.0 or later (November 2003)
usepackage[nocompress]{cite}
usepackage{filecontents}
begin{filecontents}{minimalbib.bib}
% This file was created with JabRef 2.9.2.
% Encoding: Cp1252

@ARTICLE{Abran1996,
author = {Abran, Alain and Robillard, Pierre N.},
title = {Function points analysis: An empirical study of its measurement processes},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1996},
volume = {22},
pages = {895–910},
number = {12},
file = {[PDF] from etsmtl.ca:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageT7CRESRVAbran and Robillard - 1996 - Function points analysis An empirical study of it.pdf:application/pdf;Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageMD2F63THlogin.html:text/html},
shorttitle = {Function points analysis},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=553638},
urldate = {2013-04-12}
}

@ARTICLE{Albrecht1983,
author = {Albrecht, Allan J. and Gaffney Jr, John E.},
title = {Software function, source lines of code, and development effort prediction:
a software science validation},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1983},
pages = {639–648},
number = {6},
file = {Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageAFMVVT4Zlogin.html:text/html},
shorttitle = {Software function, source lines of code, and development effort prediction},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1703110},
urldate = {2013-04-05}
}
end{filecontents}
begin{document}
Textnocite{*}
IEEEtriggeratref{5}
bibliographystyle{IEEEtran}
bibliography{minimalbib}

end{document}


enter image description here



File List:



 *File List*
IEEEtran.cls 2012/12/27 V1.8 by Michael Shell
ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
draftwatermark.sty 2006/06/30 1.0 Put a gray textual watermark on document p
ages
everypage.sty 2007/06/20 1.1 Hooks to run on every page
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
cite.sty 2010/09/10 v 5.3
filecontents.sty 2011/10/08 v1.3 Create an external file from within a LaTeX
document
supp-pdf.mkii
pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
epstopdf-base.sty 2010/02/09 v2.5 Base part for package epstopdf
grfext.sty 2010/08/19 v1.1 Manage graphics extensions (HO)
kvdefinekeys.sty 2011/04/07 v1.3 Define keys (HO)
kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)
kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)
etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
test.bbl
ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
***********





share|improve this answer























  • Can you think of any reason why mine is not working? Sorry, I am quite new to latex, and I spent much of yesterday and today trying to understand this issue.
    – jbeach
    Apr 16 '13 at 20:52










  • @jbeach: You should take a copy of your document and comment line by line to find the reason for the issue.
    – Marco Daniel
    Apr 19 '13 at 10:42













up vote
1
down vote










up vote
1
down vote









I tested your example and it works fine:



listfiles
documentclass[10pt,journal,cspaper,compsoc]{IEEEtran}
usepackage{verbatim}
usepackage{draftwatermark}
usepackage{url}
ifCLASSOPTIONcompsoc
% IEEE Computer Society needs nocompress option
% requires cite.sty v4.0 or later (November 2003)
usepackage[nocompress]{cite}
usepackage{filecontents}
begin{filecontents}{minimalbib.bib}
% This file was created with JabRef 2.9.2.
% Encoding: Cp1252

@ARTICLE{Abran1996,
author = {Abran, Alain and Robillard, Pierre N.},
title = {Function points analysis: An empirical study of its measurement processes},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1996},
volume = {22},
pages = {895–910},
number = {12},
file = {[PDF] from etsmtl.ca:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageT7CRESRVAbran and Robillard - 1996 - Function points analysis An empirical study of it.pdf:application/pdf;Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageMD2F63THlogin.html:text/html},
shorttitle = {Function points analysis},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=553638},
urldate = {2013-04-12}
}

@ARTICLE{Albrecht1983,
author = {Albrecht, Allan J. and Gaffney Jr, John E.},
title = {Software function, source lines of code, and development effort prediction:
a software science validation},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1983},
pages = {639–648},
number = {6},
file = {Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageAFMVVT4Zlogin.html:text/html},
shorttitle = {Software function, source lines of code, and development effort prediction},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1703110},
urldate = {2013-04-05}
}
end{filecontents}
begin{document}
Textnocite{*}
IEEEtriggeratref{5}
bibliographystyle{IEEEtran}
bibliography{minimalbib}

end{document}


enter image description here



File List:



 *File List*
IEEEtran.cls 2012/12/27 V1.8 by Michael Shell
ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
draftwatermark.sty 2006/06/30 1.0 Put a gray textual watermark on document p
ages
everypage.sty 2007/06/20 1.1 Hooks to run on every page
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
cite.sty 2010/09/10 v 5.3
filecontents.sty 2011/10/08 v1.3 Create an external file from within a LaTeX
document
supp-pdf.mkii
pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
epstopdf-base.sty 2010/02/09 v2.5 Base part for package epstopdf
grfext.sty 2010/08/19 v1.1 Manage graphics extensions (HO)
kvdefinekeys.sty 2011/04/07 v1.3 Define keys (HO)
kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)
kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)
etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
test.bbl
ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
***********





share|improve this answer














I tested your example and it works fine:



listfiles
documentclass[10pt,journal,cspaper,compsoc]{IEEEtran}
usepackage{verbatim}
usepackage{draftwatermark}
usepackage{url}
ifCLASSOPTIONcompsoc
% IEEE Computer Society needs nocompress option
% requires cite.sty v4.0 or later (November 2003)
usepackage[nocompress]{cite}
usepackage{filecontents}
begin{filecontents}{minimalbib.bib}
% This file was created with JabRef 2.9.2.
% Encoding: Cp1252

@ARTICLE{Abran1996,
author = {Abran, Alain and Robillard, Pierre N.},
title = {Function points analysis: An empirical study of its measurement processes},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1996},
volume = {22},
pages = {895–910},
number = {12},
file = {[PDF] from etsmtl.ca:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageT7CRESRVAbran and Robillard - 1996 - Function points analysis An empirical study of it.pdf:application/pdf;Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageMD2F63THlogin.html:text/html},
shorttitle = {Function points analysis},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=553638},
urldate = {2013-04-12}
}

@ARTICLE{Albrecht1983,
author = {Albrecht, Allan J. and Gaffney Jr, John E.},
title = {Software function, source lines of code, and development effort prediction:
a software science validation},
journal = {Software Engineering, {IEEE} Transactions on},
year = {1983},
pages = {639–648},
number = {6},
file = {Snapshot:C:UsersjbeachAppDataRoamingZoteroZoteroProfilesv8c7aoky.defaultzoterostorageAFMVVT4Zlogin.html:text/html},
shorttitle = {Software function, source lines of code, and development effort prediction},
url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1703110},
urldate = {2013-04-05}
}
end{filecontents}
begin{document}
Textnocite{*}
IEEEtriggeratref{5}
bibliographystyle{IEEEtran}
bibliography{minimalbib}

end{document}


enter image description here



File List:



 *File List*
IEEEtran.cls 2012/12/27 V1.8 by Michael Shell
ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
draftwatermark.sty 2006/06/30 1.0 Put a gray textual watermark on document p
ages
everypage.sty 2007/06/20 1.1 Hooks to run on every page
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
cite.sty 2010/09/10 v 5.3
filecontents.sty 2011/10/08 v1.3 Create an external file from within a LaTeX
document
supp-pdf.mkii
pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
epstopdf-base.sty 2010/02/09 v2.5 Base part for package epstopdf
grfext.sty 2010/08/19 v1.1 Manage graphics extensions (HO)
kvdefinekeys.sty 2011/04/07 v1.3 Define keys (HO)
kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)
kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)
etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
test.bbl
ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
***********






share|improve this answer














share|improve this answer



share|improve this answer








edited May 26 '13 at 11:46

























answered Apr 16 '13 at 18:48









Marco Daniel

77.6k13218383




77.6k13218383












  • Can you think of any reason why mine is not working? Sorry, I am quite new to latex, and I spent much of yesterday and today trying to understand this issue.
    – jbeach
    Apr 16 '13 at 20:52










  • @jbeach: You should take a copy of your document and comment line by line to find the reason for the issue.
    – Marco Daniel
    Apr 19 '13 at 10:42


















  • Can you think of any reason why mine is not working? Sorry, I am quite new to latex, and I spent much of yesterday and today trying to understand this issue.
    – jbeach
    Apr 16 '13 at 20:52










  • @jbeach: You should take a copy of your document and comment line by line to find the reason for the issue.
    – Marco Daniel
    Apr 19 '13 at 10:42
















Can you think of any reason why mine is not working? Sorry, I am quite new to latex, and I spent much of yesterday and today trying to understand this issue.
– jbeach
Apr 16 '13 at 20:52




Can you think of any reason why mine is not working? Sorry, I am quite new to latex, and I spent much of yesterday and today trying to understand this issue.
– jbeach
Apr 16 '13 at 20:52












@jbeach: You should take a copy of your document and comment line by line to find the reason for the issue.
– Marco Daniel
Apr 19 '13 at 10:42




@jbeach: You should take a copy of your document and comment line by line to find the reason for the issue.
– Marco Daniel
Apr 19 '13 at 10:42










up vote
0
down vote













I had the same problem using IEEEtran with Overleaf. In my case, problems appeared with the urls: abs_all.jsp?arnumber=1703110 was misinterpreted as abs_{a}ll, Overleaf complained about math text out of an $$ enviroment and misalign the rest of the bibliography.
Try avoiding "url" and "doi" fields during your .bib exportation.






share|improve this answer








New contributor




Krugger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • Hmmm... this should not be a problem if you use it properly (see Underscore in bibtex url)...
    – Werner
    44 secs ago















up vote
0
down vote













I had the same problem using IEEEtran with Overleaf. In my case, problems appeared with the urls: abs_all.jsp?arnumber=1703110 was misinterpreted as abs_{a}ll, Overleaf complained about math text out of an $$ enviroment and misalign the rest of the bibliography.
Try avoiding "url" and "doi" fields during your .bib exportation.






share|improve this answer








New contributor




Krugger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • Hmmm... this should not be a problem if you use it properly (see Underscore in bibtex url)...
    – Werner
    44 secs ago













up vote
0
down vote










up vote
0
down vote









I had the same problem using IEEEtran with Overleaf. In my case, problems appeared with the urls: abs_all.jsp?arnumber=1703110 was misinterpreted as abs_{a}ll, Overleaf complained about math text out of an $$ enviroment and misalign the rest of the bibliography.
Try avoiding "url" and "doi" fields during your .bib exportation.






share|improve this answer








New contributor




Krugger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









I had the same problem using IEEEtran with Overleaf. In my case, problems appeared with the urls: abs_all.jsp?arnumber=1703110 was misinterpreted as abs_{a}ll, Overleaf complained about math text out of an $$ enviroment and misalign the rest of the bibliography.
Try avoiding "url" and "doi" fields during your .bib exportation.







share|improve this answer








New contributor




Krugger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Krugger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered 27 mins ago









Krugger

1




1




New contributor




Krugger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Krugger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Krugger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Hmmm... this should not be a problem if you use it properly (see Underscore in bibtex url)...
    – Werner
    44 secs ago


















  • Hmmm... this should not be a problem if you use it properly (see Underscore in bibtex url)...
    – Werner
    44 secs ago
















Hmmm... this should not be a problem if you use it properly (see Underscore in bibtex url)...
– Werner
44 secs ago




Hmmm... this should not be a problem if you use it properly (see Underscore in bibtex url)...
– Werner
44 secs ago


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f109034%2falignment-issue-with-bibtex-using-ieeetran-class%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Entries order in /etc/network/interfaces

新発田市

Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)