Layout Templates |
You will find a sample Layout Template in the installation folder of Mnova (under the 'File/Help/Download Example datasets' menu)
This feature will allow you to create templates for your NMR, MS and Optics spectra (including processing) with the location of the spectrum, spectral width, molecular structure, images, tables and multiplet reports (including journal format). To create a template with Mnova, open a document and select the desired location and properties for the different objects present in it. The picture below shows a 1H-NMR spectrum, with the applicable molecular structure, multiplet report, images and the Parameters table:
To save the created layout as a template, just follow the menu 'View/Layout Templates/Create Template Document' and select the location of the new template.
Once saved, a template can be easily opened by double clicking on the .mnova file. Please note that drag and drop also works in this instance.
The picture below shows the layout created previously:
You can select if the layout template will be applied to the entire Mnova document (Apply to all pages) or only to the active page (Apply to Active Page Only) by using the Layout template options (View/Layout template/Layout template Options).
Check the 'Apply Zoom' box to keep the horizontal and vertical zooms used to generate the template. You can apply a 'Fit to Highest Intensity', or 'Fit to Highest Compound' or even a vertical custom zoom by loading your layout template, selecting 'manual zoom' (shortcut: M) and saving the changes in the resulting layout template document.
If the user opens a different 1D-NMR spectrum over this layout, it will be obtained in the applicable location, with the corresponding processing and analysis features (multiplet analysis in this case) and also with the applicable object properties, including all the relevant tables and reports:
In the same way, when the user opens or pastes a molecule and an image, they will also be automatically displayed in the corresponding location (with the original properties).
Also note that our concept is designed to be extended to reports with more than one page, to allow for the placing of several spectra on the report (in this case 1H, 13C and HSQC):
You can modify any layout template. For example in the template above we have added an annotation and a logo and then clicked in the 'Save' button. If you open again the template you will have by default the annotation and the logo on your screen. You can also double click on any item to change any property and then save the changes.
Of course you can use layout templates with your MS documents (or combined with NMR spectra). Here you can see an example of a layout template for MS spectra: You can also apply a layout template to any opened spectrum, just by following the menu ‘View/Layout Templates/Lay Out in Template Document’:
If you are interested in a layout template containing the same molecular structure in several pages, you would need to right click on the 'molecule box' (of the layout) select Properties and make sure that you add a field named 'layout_id' wich will be common for all the molecules of the layout.
Alternatively, you could edit the metadata field for one of the molecule boxes and make copies of that box in all the desired pages
There is a script to load a layout template (see the script called 'applyLayoutTemplateAndPrint.qs' under the examples/scripts installation folder). You will find another example under the 'Tools/Report' menu, to apply a 'Smart Reporting' which will load a layout template, with the option to include applicable processing template embedded in the layout or to load other processing templates. The script will allow you also to select 'Spectral Widths' for each nuclei: Here you can see an example: To use a layout template by default for all of your experiments follow the menu 'Edit(or File)/Preferences/Scripting/Events/nmrSpectrumImported' and add the function onSpectrumImportedDemo.applyLayoutTemplate. Next, select the Directories tab in the 'File/Preferences/Scripting' dialog and copy the script "onSpectrumImportedDemo.qs" to a script directory of Mnova. Finally, save a layout template document (called 'test.mnova') into "C:\temp\' and restart Mnova. Load your NMR spectra and the layout template will be applied automatically. |