I am new to software development and my background is not in computer science. I am writing an article about a software package I developed with some collaborators and I was wondering about the proper way to format the appearance of certain text in the body of the article. The article is being written in latex. It is not technical documentation, just the proceedings from a conference.
My understanding is that the package should be written in typewriter text font:
We developed the \texttt{Package Name} package to solve a problem
The issue I have is the correct formatting for functions. Should we include parentheses or not when discussing functions in the body of the text?
Should I write the form without parentheses:
A useful function is \texttt{ function1 } which performs a task
.
or should I write the form with parentheses:
A useful function is \texttt{ function1() } which performs a task
?
Unfortunately my collaborators are unable to assist me right now and I have heard conflicting arguments from different graduate students and I have not been able to find a journal article which discusses a function in the body of a text.
I am not requesting information about the format of code or output, just the proper way to write about a function in the body of the text (i.e. inside a paragraph).
Thank you for looking at my post.