## LaTeX forum ⇒ Text Formatting ⇒ formatting Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
shine
Posts: 4
Joined: Sun Mar 17, 2019 12:03 am

### formatting

Hello,

Can any one please tell how to put two spaces after period(full stop) in IEEEtran in latex. I have tried \nonfrenchspacing, but it dint work.

Thanks

Stefan Kottwitz
Posts: 9445
Joined: Mon Mar 10, 2008 9:44 pm
Hello shine,

welcome to the forum!

Do you use the cite package? If yes, this may help, after \begin{document}:

\let\normalsfcodes\frenchspacing

Or, in the preamble:

\AtBeginDocument{\let\normalsfcodes\frenchspacing}

Stefan

shine
Posts: 4
Joined: Sun Mar 17, 2019 12:03 am
Thanks @Stefan for your response. I am using cite package, I used \let\normalsfcodes\frenchspacing. The output obtained is shown in the file attached. However, it looks similar to me to the case without using \let\normalsfcodes\frenchspacing.

Can you please look at this attachment and give me suggestions.

Thanks
Attachments
spacing.png (152.41 KiB) Viewed 510 times

Stefan Kottwitz
Posts: 9445
Joined: Mon Mar 10, 2008 9:44 pm
Can you perhaps provide a small version of your document (minimal text) that shows the issue? I could guess about cite, but need to see more, such as the complete preamble.

Stefan

shine
Posts: 4
Joined: Sun Mar 17, 2019 12:03 am
please find attached the tex file with some text.

thanks
Attachments
document.tex

Stefan Kottwitz
Posts: 9445
Joined: Mon Mar 10, 2008 9:44 pm
Here it works after simply adding \nonfrenchspacing after \begin{document}:

\documentclass[journal]{IEEEtran} %\usepackage{ragged2e}\usepackage{graphicx}\usepackage{epstopdf}\usepackage{cite}\usepackage{fixltx2e} \usepackage{mathtools} \usepackage{amsmath}\usepackage{multirow}\usepackage{physics} \usepackage[caption=false]{subfig} \begin{document}%\let\normalsfcodes\nonfrenchspacing\nonfrenchspacing The core loss is composed of the hysteresis loss, eddy current loss and the residual loss. The hysteresis loss is the power lost in magnetization and demagnetization of the core, caused by the multi-valued nature of the B-H curve. Thus, it is dependent on the frequency of the magnetizing force f and the area of the hysteresis loop, which in turn depends on square of magnetic flux density. The eddy current loss is caused by the current flowing in the core due to time varying magnetic field. Its generating mechanism is similar to the current flowing in the conductor, and have same effects as ohmic loss. Eddy current loss is directly proportional to the square of frequency f and the square of magnetic flux density B.  \end{document}

nonfrenchspacing.png (40.97 KiB) Viewed 505 times

Stefan

Stefan Kottwitz
Posts: 9445
Joined: Mon Mar 10, 2008 9:44 pm
By the way, I think the spacing looks better with

\usepackage{microtype}

It reduces the wide gaps between words.

Stefan

shine
Posts: 4
Joined: Sun Mar 17, 2019 12:03 am
yes, it looks better.

Many thanks for your response and time.