| 1 |
2025-11-16 |
| 2 |
* tag cropmarks are artifacts, see https://github.com/latex3/tagging-project/issues/1064 |
| 3 |
|
| 4 |
|
| 5 |
2020-01-02 Release 5.9 |
| 6 |
* Include German translation (previously distributed as geometry-de on ctan) |
| 7 |
* Use iftex versions of \ifxetex, \ifpdf |
| 8 |
|
| 9 |
2018-04-16 Release 5.8 |
| 10 |
* Documentation fixes. |
| 11 |
* (x)dvipdfmx alias for dvipdfm option. |
| 12 |
|
| 13 |
2018-03-24 Release 5.7 |
| 14 |
* add support for luatex 0.85+ |
| 15 |
|
| 16 |
2010-09-12 Release 5.6 |
| 17 |
* Package 'ifxetex' is loaded for robuster detection of XeTeX. |
| 18 |
* Fixed a bug where 'pass' option was not reset in \newgeometry. |
| 19 |
|
| 20 |
2010-07-13 Release 5.5 |
| 21 |
* Fixed a bug where paper width and height were swapped unnecessarily |
| 22 |
inside \newgeometry{} if 'landscape' is given as a class option. |
| 23 |
* Changed crop marks with elbow-shaped lines 17mm long and offset by 3mm. |
| 24 |
* Added 'showframe' and 'showcrop' as options shown in verbose mode. |
| 25 |
* Fixed typos and wrong figures, and revised expressions in the document. |
| 26 |
* Added missed things that had been fixed for v5.4 into changes.txt. |
| 27 |
|
| 28 |
2010-07-08 Release 5.4 |
| 29 |
* New paper size presets for ISO C-series: 'c0paper' to 'c6paper'. |
| 30 |
* Fixed a bug where overloading shipout in 'showframe' and/or 'showcrop' |
| 31 |
mode caused warnings when 'pdfpages' package is used. |
| 32 |
* Changed the shipout overloading process to use 'atbegshi' package. |
| 33 |
Options 'showframe' and 'showcrop' require the package. |
| 34 |
* Fixed a bug where restoring layoutwidth and layoutheight failed |
| 35 |
when \restoregeometry is called. |
| 36 |
* Fixed a bug that forced papersize to set the same length |
| 37 |
as the specified layoutsize. |
| 38 |
* Fixed a bug where page frame shown in 'showframe' mode was placed |
| 39 |
slightly wrong. |
| 40 |
* Fixed wrong 'h-part' calculation in verbose when bindingoffset |
| 41 |
or mag is specified. |
| 42 |
* Changed format and fixed values shown in verbose mode. |
| 43 |
|
| 44 |
2010-03-13 Release 5.3 |
| 45 |
* Fixed missed initialization of \Gm@lines. |
| 46 |
|
| 47 |
2010-03-01 Release 5.2 |
| 48 |
* Fixed a bug that the papersize setting explicitly specified |
| 49 |
with \geometry or \usepackage in the preamble didn't come to |
| 50 |
\newgeometry. |
| 51 |
* Added \mag offset adjustment for \newgeometry. |
| 52 |
* Added 'onecolumn' option as a shorthand for 'twocolumn=false'. |
| 53 |
* Changed the format of the verbose mode. |
| 54 |
|
| 55 |
2010-02-15 Release 5.1 |
| 56 |
* Fixed a bug that caused an error in 'pass' option. |
| 57 |
|
| 58 |
2010-02-12 Release 5.0 |
| 59 |
* Changing page layout mid-document. |
| 60 |
The new commands \newgeometry{...} and \restoregeometry allow |
| 61 |
users to change page dimensions in the middle of the document. |
| 62 |
* A new set of options to specify the layout area. |
| 63 |
The options specified for the area, in which the page dimensions |
| 64 |
are calculated, are added: 'layout', 'layoutsize', |
| 65 |
'layoutwidth', 'layoutheight' and so forth. |
| 66 |
These options would help to print the specified |
| 67 |
layout to a different sized paper. For example, with 'a4paper' |
| 68 |
and 'layout=a5paper', the geometry package uses 'A5' layout to |
| 69 |
calculate margins with the paper size still 'A4'. |
| 70 |
* A new driver option 'xetex'. |
| 71 |
The new driver option 'xetex' is added. The driver auto-detection |
| 72 |
routine has been revised so as to avoid an error with undefined |
| 73 |
control sequences. Note that 'geometry.cfg' in TeXLive, which |
| 74 |
disables the auto-detection routine and sets 'pdftex', is no |
| 75 |
longer necessary and has no problem even though it still exists. |
| 76 |
To set 'xetex' is strongly recommended with XeLaTeX. |
| 77 |
* New paper size presets for JIS B-series. |
| 78 |
The papersize presets 'b0j' to 'b6j' for JIS (Japanese Industrial |
| 79 |
Standards) B-series are added. |
| 80 |
* Changing default for underspecified margin. |
| 81 |
In the previous version, if only one margin was specified, |
| 82 |
'bottom=1cm' for example, then geometry set the other margin with |
| 83 |
the margin ratio (1:1 by default for the vertical dimensions) |
| 84 |
and got 'top'=1cm in this case. |
| 85 |
The version 5 sets the text-body size with the default 'scale' |
| 86 |
(=0.7) and determine the unspecified margin. |
| 87 |
* The option 'showframe' works on every page. |
| 88 |
With 'showframe' option, the page frames are shown on every page. |
| 89 |
In addition, the new option 'showcrop' would print cropmarks showing |
| 90 |
the corners of the layout (the same as paper by default) on every page. |
| 91 |
* Loading geometry.cfg precedes processing class options. |
| 92 |
The previous version loaded 'geometry.cfg' after processing |
| 93 |
the document class options. Now that the config file is |
| 94 |
loaded before processing the class options, you can change the |
| 95 |
behavior specified in 'geometry.cfg' by adding options into |
| 96 |
\documentclass as well as \usepackage and \geometry. |
| 97 |
* Deleted options: 'compat2' and 'twosideshift'. |
| 98 |
The version 5 has no longer compatibility with the previous ones. |
| 99 |
'compat2' and 'twosideshift' are gone for simplicity. |
| 100 |
|
| 101 |
2008-12-21 Release 4.2 |
| 102 |
* Fixed check for the definition of \AtBeginShipoutFirst. |
| 103 |
* Fixed \topskip adjustment so that it works when "lines" option is used. |
| 104 |
* Added "driver=none" option, which does nothing for driver. |
| 105 |
* Revised the note on 'ifvtex' package. |
| 106 |
|
| 107 |
2008-11-13 Release 4.1 |
| 108 |
* Fixed missing \ProvidesPackage. |
| 109 |
|
| 110 |
2008-11-06 Release 4.0 |
| 111 |
* More robust driver detection. |
| 112 |
The driver detection method has been totally rewritten so that |
| 113 |
it can automatically detect the driver appropriate for the |
| 114 |
typesetting program in use. Therefore explicit driver setting is no |
| 115 |
longer needed in most cases, except for the driver 'dvipdfm'. |
| 116 |
This improvement makes geometry work more robustly for |
| 117 |
the typesetting programs under e-TeX, XeTeX and VTeX |
| 118 |
as well as normal TeX environment. The packages 'ifpdf' and |
| 119 |
'ifvtex' are used, which are available in CTAN. |
| 120 |
Note that 'ifvtex' package v1.3 (2007/09/09), however, has a |
| 121 |
bug (a typo) that affects the detection of VTeX. |
| 122 |
So you need to use 'ifvtex' v1.4 or later. |
| 123 |
* New option: resetpaper. |
| 124 |
This option disables explicit paper setting in 'geometry' |
| 125 |
and uses the paper size specified before 'geometry'. |
| 126 |
This option may be useful to print nonstandard sized documents |
| 127 |
with normal printers and papers. |
| 128 |
* Added adjustment to \topskip. |
| 129 |
When large font sizes are specified, \topskip has to be adjusted |
| 130 |
so that the formula: |
| 131 |
\textheight = (lines - 1) x \baselineskip} + \topskip |
| 132 |
to be correct. To do this, \topskip is set to \ht\strutbox, |
| 133 |
if \topskip is smaller than \ht\strutbox. |
| 134 |
* Added ANSI paper sizes. |
| 135 |
New paper size definitions for ANSI A to E are added. |
| 136 |
* Fixed wrong ISO paper sizes. |
| 137 |
The paper sizes for A1,A2,A5 and A6 were wrong (by 1mm). |
| 138 |
* Fixed PDFTeX magnification problem. |
| 139 |
PDF paper offset is adjusted properly when magnification is |
| 140 |
set by mag option with pdfTeX. |
| 141 |
* Changed package source organization. |
| 142 |
Files geometry.ins and geometry-samples.tex are integrated into |
| 143 |
geometry.dtx so that they can be generated from geometry.dtx by |
| 144 |
the 'tex' command. Documentation can be also generated directly |
| 145 |
from geometry.dtx by '(pdf)latex' command. |
| 146 |
* Other improvements to the code and documentation. |
| 147 |
|
| 148 |
2002-07-08 Release 3.2 |
| 149 |
* Added known problem: for crop package with its 'center' option and |
| 150 |
'mag' larger than 1000, the result is not the one expected. |
| 151 |
* Fixed double-valued marginratio setting like {1:1,1:5}. |
| 152 |
{h|v}marginratio should have been set by \edef |
| 153 |
instead of \def (line:439-440 in geometry.sty). |
| 154 |
The bug was introduced in v3.1. (found by Rolf Niepraschk) |
| 155 |
* Added two test files: gtest15.tex gtest16.tex |
| 156 |
|
| 157 |
2002-07-04 Release 3.1 |
| 158 |
* Fixed an error in setting geometry dimensions with \widthof of |
| 159 |
calc package. \Gm@defbylen and \Gm@defbycnt are introduced to set |
| 160 |
geometry dimensions. |
| 161 |
|
| 162 |
2002-06-30 Release 3.0 |
| 163 |
(Special thanks to Frank Mittelbach for checking codes patiently |
| 164 |
and providing extremely helpful insight and suggestions) |
| 165 |
* Revised geometry.dtx document. |
| 166 |
|
| 167 |
2002-06-28 |
| 168 |
* Bug fix: multiple landscape/portrait switches malfunctioned. |
| 169 |
* Bug fix: default hmarginratio wasn't reset when twoside is reset. |
| 170 |
The initialization of default margionratios added in \Gm@clean. |
| 171 |
|
| 172 |
2002-06-12 |
| 173 |
* Improved 'reset': can reset 'paper' given as a geometry option. |
| 174 |
* Bug fix: class default papersize with class option 'landscape' |
| 175 |
didn't work with \geometry command. |
| 176 |
|
| 177 |
2002-06-05 |
| 178 |
* Added a landscape correction for dvips with 'special' command. |
| 179 |
* Added 'dvipdfm' (same as 'dvips' internally). |
| 180 |
* Changed driver settings ('dvips', 'pdftex', and all that) to exclusive. |
| 181 |
* Bug fix: 'footnotesep' (\skip\footins) couldn't be reset. |
| 182 |
* Bug fix: 'bindingoffset' didn't work with calc package |
| 183 |
* Bug fix: 'showframe' vbox had improper height settings. |
| 184 |
* Bug fix: complex margin settings with calc, e.g. (1in-50pt)*2/3, |
| 185 |
didn't work well. |
| 186 |
|
| 187 |
2002-05-27 |
| 188 |
* Added many '\@onlypreamble' commands. |
| 189 |
* The default vscale is changed to 0.7. |
| 190 |
* Added 'compat2' to achieve option compatibility with the old version. |
| 191 |
|
| 192 |
2002-05-24 |
| 193 |
* 'pdfoutput=1' is removed because it is unnecessary and rather harmful |
| 194 |
with package 'hyperref'. |
| 195 |
* The default hscale is changed to 0.7. |
| 196 |
* The default hmaginratio '\Geom@Dhratiotwo' (=2:3) is used |
| 197 |
if \@twosidetrue. |
| 198 |
* 'asymmetric' sets \@mparswitchfalse and \@twosidetrue, so that |
| 199 |
one can use 'asymmetric' as an alternative to the 'twoside' option. |
| 200 |
|
| 201 |
2002-05-21 |
| 202 |
* Added 'nomarginpar' with \marginparwidth and \marginparsep set to 0pt. |
| 203 |
* Added '\geom@checkmp' checking if marginal notes fall off the page. |
| 204 |
* '\geom@process' revised with new internal macros. |
| 205 |
* Bug fixed: odd/evensidemargin calculations totally modified. |
| 206 |
|
| 207 |
2002-05-20 |
| 208 |
* Changed the default settings (old defaults --> new defaults) |
| 209 |
- scale={0.8,0.9} --> scale=0.8 |
| 210 |
- includeheadfoot, ignoremp --> ignoreall |
| 211 |
- marginratio={2:3,1:2} for oneside, marginratio=2:3 for twoside |
| 212 |
--> marginratio={1:1,2:3} for oneside, marginratio=2:3 for twoside |
| 213 |
|
| 214 |
2002-05-19 |
| 215 |
* 'asymmetric' just sets \@mparswitchfalse. 'asymmetric=false' does |
| 216 |
nothing. |
| 217 |
* '\geom@process' revised. |
| 218 |
|
| 219 |
2002-05-14 |
| 220 |
* 'nohead', 'nofoot' and 'noheadfoot' are just shortcut for |
| 221 |
setting the corresponding LaTeX dimensions to zero, so they |
| 222 |
are overwritable by subsequent options. |
| 223 |
* Added 'asymmetric' option with the same layout on every pages. |
| 224 |
'twoside' automatically set 'asymmetric=false', but users can |
| 225 |
set manually 'asymmetric(=true)'. |
| 226 |
* Changed showparam style. |
| 227 |
* Added 'hcentering' and 'vcentering', which set 'hmarginratio=1:1' |
| 228 |
and 'vmarginratio=1:1' respectively. |
| 229 |
* Bug fixed: incorrect margins when 'twocolumn' and 'includemp' |
| 230 |
* Bug fixed: '(h|v)centering' option was set even when the value is |
| 231 |
false. |
| 232 |
* Bug fixed: \mag and options with true dimension values caused |
| 233 |
overspecification warning about \mag. Now \mag cannot be specified |
| 234 |
more than once as geometry option. |
| 235 |
* Known Problem: 'reset' still leaves the last papername given as |
| 236 |
a geometry option, not the class original papername. |
| 237 |
Set the proper paper name again after 'reset'. |
| 238 |
|
| 239 |
2002-05-13 |
| 240 |
* Added 'twocolumn' option |
| 241 |
* "verbose" displays the parameter results on the terminal, |
| 242 |
"verbose=false" (default) still puts them into the log. |
| 243 |
* 'heightrounded' calculation no longer needs ifthen package. |
| 244 |
* Bug fixed: 'heightrounded' always adjusted downwards. |
| 245 |
* Bug fixed: it didn't work with calc package. |
| 246 |
\Geom@setafter command needs \expandafter's |
| 247 |
* Bug fixed: 'pass' and multiple 'reset' didn't work well. |
| 248 |
|
| 249 |
2002-05-10 |
| 250 |
* Added 'showframe' option, which shows textarea and page frames, |
| 251 |
and lines for head and foot to check layout in detail. |
| 252 |
Geometry.sty now contains features of showframe.sty. So showframe.sty |
| 253 |
is deleted from the distribution. |
| 254 |
* Bug fixed: {h,v}offset was set wrong values when 'mag', 'truedimen' |
| 255 |
and \geometry{..} macro were used. |
| 256 |
* Bug fixed: execution timing of changing papersize was wrong. |
| 257 |
This bug was introduced in v3.0 beta. |
| 258 |
|
| 259 |
2002-05-09 |
| 260 |
* Added 'heightrounded' option. If \textheight is not specified, |
| 261 |
this option rounds it to n-times (n: an integer) of \baselineskip plus |
| 262 |
\topskip, \textheight = n * \baselineskip + \topskip, |
| 263 |
to avoid "underfull vbox" in some cases. Default is false. |
| 264 |
ifthen package included in LaTeX base bundle is required. |
| 265 |
* Added 'lines' option, which enables users to specify \textheight |
| 266 |
by the number of lines included in \textheight auto-calculating |
| 267 |
\textheight = (lines - 1) * \baselineskip + \topskip. |
| 268 |
This option is prior to all the other options determining 'textheight' |
| 269 |
directly (ie. 'textheight', 'height', 'vscale'). |
| 270 |
* Bug fixed: \Geom@dset wasn't set by \edef. |
| 271 |
|
| 272 |
2002-04-26 |
| 273 |
* \geom@setafter and \Geom@dset (both internal) makes LaTeX dimension |
| 274 |
setting as a option (headsep, footskip, hoffset, and etc) |
| 275 |
effective at the beginning of \geom@process for 'pass' option. |
| 276 |
* Revised internal codes specifying papersize. |
| 277 |
* Changed the way of displaying options and parameters in 'verbose' mode. |
| 278 |
|
| 279 |
2002-04-25 Release 3.0 beta |
| 280 |
* Added 'screen' option as a new papersize (papersize={225mm,180mm}). |
| 281 |
To make presentation with PC and video projector, geometry option |
| 282 |
"screen,centering" with 'slide' documentclass must be the best choice. |
| 283 |
* Added 'pass' option, which disables geometry's auto-layout. |
| 284 |
* Added 'ratio' option equivalent to 'marginratio'. |
| 285 |
* Added 'centering', a shortcut for 'marginratio=1:1'. |
| 286 |
* Added 'innermargin' and 'outermargin', aliases for leftmargin |
| 287 |
and rightmargin respectively. |
| 288 |
|
| 289 |
2002-04-22 |
| 290 |
* Version 3.0 Candidate alpha, alpha-2 (formly known as 2.4 alpha-1,2) |
| 291 |
* Added 'ignorehead', 'ignorefoot', 'ignoreheadfoot', and |
| 292 |
'ignoreheadfootmp'(ignoreall) options to disregard |
| 293 |
head/foot/marginpars spaces. |
| 294 |
* Added '{h|v}marginratio' options. |
| 295 |
These options specify visible marginal spaces in each direction, |
| 296 |
left(inner):right(outer) for the horizontal ratio, top:bottom |
| 297 |
for the vertical. They should be set in 'a:b' style and each |
| 298 |
value should be a positive integer less than 100 to avoid |
| 299 |
arithmetic overflow. In default, hmarginratio=2:3 (1:2 for |
| 300 |
twoside) and vmarginratio=1:2. |
| 301 |
* The 'automatic' centering is no longer default layout, |
| 302 |
so marginratio={2:3,1:2} is used as default. |
| 303 |
* Removed twosideshift option, use bindingoffset instead. |
| 304 |
bindingoffset is set 0pt as default and supports twoside. |
| 305 |
|
| 306 |
2000-06-28 Release 2.3 |
| 307 |
* Added 'truedimen', 'columnsep' and 'footnotesep' options. |
| 308 |
* VTeX supported. |
| 309 |
* Modified internal settings for twosideshift and mag. |
| 310 |
|
| 311 |
1999-10-07 Release 2.2 |
| 312 |
* Bug fixed: explicit twoside was needed for book.cls. |
| 313 |
|
| 314 |
1999-09-27 Release 2.1 |
| 315 |
* Bug fixed: twosideshift with reversemarginpar made wrong margins. |
| 316 |
* Added mag option. |
| 317 |
* Paper sizes A6 and B6 supported. |
| 318 |
* Changed license declaration to LPPL. |
| 319 |
|
| 320 |
1998-04-06 Release 2.0 |
| 321 |
* Flexible setting scheme for package option with keyval. |
| 322 |
* Removed exclamations and extra control sequences for paperwidth |
| 323 |
and paperheight. |
| 324 |
* Totally revised the code and document. |
| 325 |
|
| 326 |
1997-09-08 Release 1.08 |
| 327 |
* Included geometry.cfg into geometry.dtx. |
| 328 |
* Changed the catcode of exclamation mark. |
| 329 |
|
| 330 |
1997-07-05 Release 1.07 |
| 331 |
* Modified process of 'dvips' option. |
| 332 |
* pdftex supported. |
| 333 |
* Added 'a0paper' and 'b0paper'. |
| 334 |
|
| 335 |
1997-04-16 Release 1.06 |
| 336 |
* reversemarginpar supported. |
| 337 |
|
| 338 |
1997-02-17 Release 1.05 |
| 339 |
* Changed the definition for dvips option. |
| 340 |
|
| 341 |
1996-08-05 Release 1.04 |
| 342 |
* Bug fixed: papersize= had no effect when papertype was given |
| 343 |
in geometry.cfg or as a package option. |
| 344 |
|
| 345 |
1996-07-17 Release 1.03 |
| 346 |
* calc support |
| 347 |
|
| 348 |
1996-06-07 Release 1.02 |
| 349 |
* Changed definition for 'reset' option. |
| 350 |
* Revised instructions for 'reset' and 'dvips' options. |
| 351 |
|
| 352 |
1996-06-03 Release 1.01 |
| 353 |
* Fixed bugs in setting paper and option processing. |
| 354 |
* geometry.cfg |
| 355 |
* Added 'dvips' option. |
| 356 |
|
| 357 |
1996-05-31 Release 1.00 |
| 358 |
* Started geometry package distribution. |
| 359 |
* Use keyval interface. |
| 360 |
|
| 361 |
EOF |