Subject: Re: [jats-list] Computer algorithms From: "Alexander Schwarzman aschwarzman@xxxxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 13 Mar 2018 16:11:59 -0000 |
Debbie wrote: > I had assumed that (like <preformat> as was suggested by > Daniel ObBrien) that algorithms were monospaced, and > that would take care of the alignment. Are OSA (and Marybs) > algorithms in a proportional font? It's not so much that; it's that, as Mirco has pointed out, algorithms are not just pure code. I don't know, for example, how to indicate shading or color in <code> or <preformat>, and it's a pain to put MathML or TeX in there. Either <fig>, as Nikos has suggested, or <table-wrap>, as we do, alleviates some of these problems. See, e.g., https://doi.org/10.1364/BOE.9.001423, Algorithms 1--4. Alexander ('Sasha') Schwarzman, Content Technology Architect phone: +1.202.416.1979 | e-mail: aschwarzman@xxxxxxx The Optical Society (OSA) 2010 Massachusetts Ave., NW Washington, DC 20036 USA www.osa.org On Tue, Mar 13, 2018 at 11:48 AM, Mirko Janc mjanc@xxxxxxxxxxxxx <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Formatting of algorithms, especially of pseudo-code, is not properly > addressed in JATS. In several of our 16 journals at INFORMS (Institute for > Operations Research and the Management Sciences), we have many algorithms. > Many of therm are not pure code, so monospaced font is not an option. > Authors use bold for reserved words, and very often have quite heavy math > expressions in some of the lines. In addition, many require numbers in front > of the "code" lines, use vertical "sidebars" to group subroutines, and flush > right fragments as comments. We are getting around only by creating them as > images from what was typeset. > > I think this is quite a topics to be discussed and elaborated. Thanks, Mary, > for raising it. > > Dr. Mirko Janc > Chief Publishing Technologist > INFORMS > mjanc@xxxxxxxxxxxxx, mirko.janc@xxxxxxxxx > > > > > > > > JATS-List info and archive > EasyUnsubscribe (by email)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [jats-list] Computer algorithms, dal dalapeyre@xxxxxx | Thread | Re: [jats-list] Computer algorithms, dal dalapeyre@xxxxxx |
Re: [jats-list] Computer algorithms, dal dalapeyre@xxxxxx | Date | Re: [jats-list] Computer algorithms, dal dalapeyre@xxxxxx |
Month |