Skip to content

Commit 4cdcf2a

Browse files
committed
[cover-reg] Fix box to fit page margins
1 parent 4f77c89 commit 4cdcf2a

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

source/cover-reg.tex

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
%%--------------------------------------------------
33
%% Title page for the C++ Standard
44

5+
\setlength{\fboxsep}{1em}
6+
\newlength{\copyboxwidth}
7+
\setlength{\copyboxwidth}{\textwidth}
8+
\addtolength{\copyboxwidth}{-2\fboxsep}
9+
\addtolength{\copyboxwidth}{-2\fboxrule}
510

611
\thispagestyle{empty}
712
{\raisebox{.35ex}{\smaller\copyright}}\,ISO 2017 --- All rights reserved
@@ -28,23 +33,22 @@
2833

2934
\vfill
3035

31-
\begin{tabular}{|p{\hsize}|}
32-
\hline
36+
\fbox{%
37+
\begin{minipage}{\copyboxwidth}
38+
\vspace{1ex}
3339
\begin{center}
3440
\textbf{Warning}
3541
\end{center}
36-
3742
\vspace{2ex}
3843

3944
This document is not an ISO International Standard. It is distributed
4045
for review and comment. It is subject to change without notice and may
41-
not be referred to as an International Standard.\\\\
46+
not be referred to as an International Standard.\\[1em]
4247

4348
Recipients of this draft are invited to submit, with their comments,
4449
notification of any relevant patent rights of which they are aware
45-
and to provide supporting documentation.\\\\
46-
\hline
47-
\end{tabular}
50+
and to provide supporting documentation.\\
51+
\end{minipage}}
4852

4953
\vfill
5054
\noindent
@@ -55,11 +59,6 @@
5559

5660
\thispagestyle{cpppage}
5761

58-
\setlength{\fboxsep}{1em}
59-
\newlength{\copyboxwidth}
60-
\setlength{\copyboxwidth}{\textwidth}
61-
\addtolength{\copyboxwidth}{-2\fboxsep}
62-
\addtolength{\copyboxwidth}{-2\fboxrule}
6362
\fbox{%
6463
\begin{minipage}{\copyboxwidth}
6564
\vspace{1ex}

0 commit comments

Comments
 (0)