# CANU – CANvas Unifier for ROOT

**URL:** <https://root-forum.cern.ch/t/canu-canvas-unifier-for-root/64761>\
**Category:** Evolution Proposals, Apps & Ideas\
**Created:** [March 19, 2026, 11:05am UTC](https://root-forum.cern.ch/t/canu-canvas-unifier-for-root/64761 "2026-03-19T11:05:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlalik](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rlalik/32/25117_2.png) [@rlalik](https://root-forum.cern.ch/u/rlalik)\
**Post date:** [March 19, 2026, 11:05am UTC](https://root-forum.cern.ch/t/canu-canvas-unifier-for-root/64761/1 "2026-03-19T11:05:41Z")

</div>

Hi,

we all know ROOT has some issues with consistent formatting canvases when they are of different sizes or aspect ratios. Margins, font sizes (unless set explicitly) are relative to width, height or min(width, height) of the pad. Making consistent plots across whole papers is challenging.

I made some header-only tool to format canvases in a consistent way. You feed the tool with inputs like your journal page and column width (in pts) and text size, and the tool uses this information to rescale all values in a consistent way.

Please have a look at the README at [GitHub - rlalik/canu: CANU (CANvas Unifier) is a lightweight C++ utility for the ROOT framework that helps create publication-quality plots with consistent formatting. · GitHub](https://github.com/rlalik/canu)  
and at the example of simple macro to reformat existing canvases (given as C files) into consistent.

> **[GitHub - rlalik/canu: CANU (CANvas Unifier) is a lightweight C++ utility...](https://github.com/rlalik/canu#-examples)**
>
> CANU (CANvas Unifier) is a lightweight C++ utility for the ROOT framework that helps create publication-quality plots with consistent formatting.

There are a few preset journals but more can be add upon user demand.

Regards,  
Rafał

---

<div class="post-metadata">

**Author:** ![lbreitwi](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/lbreitwi/32/21330_2.png) [@lbreitwi](https://root-forum.cern.ch/u/lbreitwi)\
**Post date:** [March 19, 2026, 6:39pm UTC](https://root-forum.cern.ch/t/canu-canvas-unifier-for-root/64761/2 "2026-03-19T18:39:07Z")

</div>

Thank you for sharing your tool! The project looks great, nice work.

@couet @linev

---

<div class="post-metadata">

**Author:** ![Siddharth\_Parashari](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/siddharth_parashari/32/25501_2.png) [@Siddharth\_Parashari](https://root-forum.cern.ch/u/Siddharth_Parashari)\
**Post date:** [March 21, 2026, 11:14am UTC](https://root-forum.cern.ch/t/canu-canvas-unifier-for-root/64761/3 "2026-03-21T11:14:42Z")

</div>

Hi Rafal,

Very nice project. I have this application which can be used to plot most types of Root plots from txt, csv, or from root files.

> **[GitHub - siddharthparashri5/Advanced\_ROOT\_Plotting: A modern, user-friendly graphical interface for...](https://github.com/siddharthparashri5/Advanced_ROOT_Plotting)**
>
> A modern, user-friendly graphical interface for creating publication-quality plots with ROOT, supporting CSV data files, ROOT files with drag-and-drop functionality, advanced TTree entry selection with chained filtering, and integrated script execution.

You can check if you wanna combine this with your workflow.

Best  
Siddharth
