Using jphysicsB.bst with Titles in LaTeX

Recently, I was working on a paper submission. Being a huge fan of it, I used LaTeX for the manuscript preparation. The journal’s guidelines for submission indicate that LaTeX Harvard Alphabetic Style must be used together with the BibTeX style file jphysicsB.bst. The guidelines also instruct that references must include the title of the article/book/etc. However, the jphysicsB style does not print it (this is not an error, that is the way it is supposed to work). How to solve this?

Apparently this is a frequently encountered problem. After a couple of hours spent, I finally found Michael Shell’s answer in a thread. It turns out that the original jphysicsB.bst requires some minor tweaking. I could tell you exactly what lines to change, but to make things easier for you, you can download the modified and working style file here:

Remember to update your LaTeX file (i.e., change the bibliography style to \bibliographystyle{jphysicsB_withTitles}, assuming you place the .bst file in the same directory where your LaTeX file is).

Please note that the file is provided as it is. Use it under your own responsibility. Full credit goes to Michael Shell for his solution. I am only making his answer easier to find and share!