# civilytics 0.3.2 ## New features - `civilytics_logo()` and `add_logo()` gain `logo_height` (inches, default `0.5`), the height of a band reserved for the logo. - `patchwork` is now a suggested package, used when a patchwork composition is passed to `civilytics_logo()`. - Added comprehensive test coverage for the `prop_conf` module, including correctness checks against `binom.test()` for Clopper-Pearson intervals and formula-based verification for Wald and Agresti-Coull intervals. ## Bug fixes - `civilytics_logo()` / `add_logo()` now render every panel and the `plot_annotation()` of a patchwork composition. They previously drew only the last panel (#20). - The logo now sits in its own reserved band instead of pulling the plot down with negative margins, so captions are no longer clipped at the bottom edge and the layout no longer depends on whether showtext is active (#20). - `add_logo_ga()` gets the same reserved logo band (`logo_height`) and no longer pulls the plots down with a negative margin. `margin_param` still overrides the bottom margin when given (#28). - The logo keeps its own aspect ratio on any canvas. `make_logo_grob()` used to stretch it to a fixed fraction of the plot width, so its shape changed with the canvas and it was already about 1.5 times too wide at 11 by 7 inches (#20). - `font_scale` now defaults to `1` in `civilytics_logo()`, `add_logo()` and `add_logo_ga()`. The old default of `1.1` enlarged the base text by 10% whenever a logo was added. Pass `font_scale = 1.1` to keep the old sizes (#20). - `style_flextable_civilytics()` defaults now come from `civilytics_colors` instead of Bootstrap hex values: header `navy_700`, zebra `paper_2`, outer border `rule_strong`, inner border `rule`, footer text `ink_3`. Tables built with the defaults change appearance (#21). - `civilytics-reveal`: PDF output keeps slide margins, ordered-list numbers no longer clip at the left edge, and Quarto column widths (`.column width="60%"`) are honored. Columns without a width stay equal, and the default gap is now `1.5em` (#25, #26, #27). - Removed vendored headshot images (`Knowles_Headshot_2019_good.jpg`, `Knowles_Headshot_2019_prisma.jpg`) from `inst/img/` to prevent personal photos from being distributed with the package. The `plot_jpeg()` example now references a generic placeholder path instead of a specific headshot. ## Internal - Renamed `LICENSE.md` to `LICENSE` for R packaging convention compliance so that the LGPL-3 license ships correctly with built tarballs.