TeX - LaTeX Asked by masoumeh on January 9, 2021
LaTeX changed position of dot, why?
please see the below example
to the third dimensioncite{Ref13}.
and the result:
The dot was supposed to be on the right of the footnote.
Some important parts of my Latex file:
documentclass[12pt]{spieman} % 12pt font required by SPIE;
%documentclass[a4paper,12pt]{spieman} % use this instead for A4 paper
usepackage{amsmath,amsfonts,amssymb}
usepackage{graphicx}
usepackage{setspace}
usepackage{tocloft}
usepackage{lineno}
usepackage{xcolor, soul}
sethlcolor{green}
usepackage{subcaption}
usepackage{cleveref}
%%%%% References %%%%%
bibliography{report} % bibliography data in report.bib
bibliographystyle{spiejour} % makes bibtex use spiejour.bst
vspace{1ex}
noindent Biographies and photographs of the other authors are not available.
end{spacing}
end{document}
It looks like a deliberate design decision: the class spieman.cls
does
RequirePackage[super]{cite}
. The package cite
describes this behavior for the cite
command with the super
option.
trailing punctuation is moved to come before the superscript citation
It also says
You may disable movement with the [nomove] package option.
The authors of spieman.cls
decided not to do that so I can only repeat: this looks like a deliberate design decision.
Anyway, in order to prevent the behavior (and in order to avoid the option clash error) one needs to do either
PassOptionsToPackage{nomove}{cite}
or
RequirePackage[super,nomove]{cite}
before documentclass{spieman}
:
PassOptionsToPackage{nomove}{cite}
documentclass[12pt]{spieman}
begin{document}
to the third dimensioncite{Alred03}.
bibliography{report}
bibliographystyle{spiejour}
end{document}
Answered by cgnieder on January 9, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP