
Más de 2 citas vienen así [1-3]. Pero los quiero como [1]-[3]. 2 citas consecutivas vienen así [2, 4], pero las quiero como [2], [4].
Estoy usando Tex Studio. Cuando uso IEEEtran
clase, las citas aparecen como [1]-[3]. Pero estoy tratando de conseguir este estilo en mi tesis, que está escrita con report
clase. Aquí se proporciona un MWE ejecutable. Gracias de antemano.
\documentclass{report}
\usepackage{url}
\usepackage{cite} % citation
\renewcommand{\bibname}{REFERENCES}
\let\oldthebibliography\thebibliography
\let\endoldthebibliography\endthebibliography
\renewenvironment{thebibliography}[1]{
\begin{oldthebibliography}{#1}
\setlength{\itemsep}{5pt} %Controls the spacing between two references.
\setlength{\parskip}{0em}
}
{
\end{oldthebibliography}
}
\begin{document}
More than 2 citations are coming like this \cite{Shafiei2017, Martins2017, JohnCrothers2017}. But I want them as [1]-[3]. 2 Consecutive citations are coming like this \cite{Wajda2017,Martins2017}, but I want them as [2], [4].
\bibliographystyle{IEEEtran}
\bibliography{Physics}
\end{document}
Las entradas de citas son
Automatically generated by Mendeley Desktop 1.19.4
Any changes to this file will be lost if it is regenerated by Mendeley.
BibTeX export options can be customized via Options -> BibTeX in Mendeley Desktop
@article{Wajda2017,
author = {Wajda, Tadeusz},
doi = {10.5539/apr.v9n6p67},
issn = {1916-9639},
journal = {Applied Physics Research},
number = {6},
pages = {67},
title = {{Dilation of Time Dilation}},
volume = {9},
year = {2017}
}
@article{Shafiei2017,
author = {Shafiei, Ziaedin},
file = {:C$\backslash$:/Users/miais/AppData/Local/Mendeley Ltd./Mendeley Desktop/Downloaded/Shafiei - 2017 - Is Time Dilation a scientific theory.pdf:pdf},
number = {October},
title = {{Is Time Dilation a scientific theory ?}},
year = {2017}
}
@article{JohnCrothers2017,
author = {{John Crothers}, Stephen},
doi = {10.11648/j.ajmp.20170603.12},
issn = {2326-8867},
journal = {American Journal of Modern Physics},
number = {3},
pages = {43},
title = {{On the Logical Inconsistency of the Special Theory of Relativity}},
volume = {6},
year = {2017}
}
@article{Tartaglia2017,
author = {Tartaglia, Angelo and Lucchesi, David and Ruggiero, Matteo Luca and Valko, Pavol},
doi = {10.1109/MetroAeroSpace.2017.7999548},
isbn = {9781509042340},
journal = {4th IEEE International Workshop on Metrology for AeroSpace, MetroAeroSpace 2017 - Proceedings},
pages = {108--113},
title = {{LAGRANGE: An experiment for testing general relativity in the inner solar system}},
year = {2017}
}
@article{Martins2017,
author = {Martins, P. and Alves, L. Nero and Mendes, J. C.},
doi = {10.1109/ECCTD.2017.8093266},
isbn = {9781538639740},
journal = {2017 European Conference on Circuit Theory and Design, ECCTD 2017},
keywords = {Memristive systems,Memristors,Special Relativity (SR),State-space},
pages = {1--4},
title = {{On the dynamics of accelerated observers in Special Relativity}},
year = {2017}
}