Skip to main content
replaced http://tex.stackexchange.com/ with https://tex.stackexchange.com/
Source Link

I'm creating custom graph paper, and my code is

\documentclass{article}
\usepackage[margin=25mm]{geometry}
\usepackage{tikz}
\usepackage{background}
\usetikzlibrary{positioning}
\usepackage{geometry}

\geometry{
    a4paper,
    total={170mm,257mm},
    left=10mm,
    right=10mm,
    top=10mm,
}

\SetBgContents%
{   \begin{tikzpicture}[remember picture, overlay]
    \draw [line width=0.3pt,color=gray,step=0.5cm] (current page.south 
    west) grid (current page.north east);
    \end{tikzpicture}
}
\SetBgScale{1}
\SetBgAngle{0}

\thispagestyle{empty}

\begin{document}

\begin{flushright}
\begin{tikzpicture}
\node[draw, double, rounded corners, scale=2, text height=25pt, 
anchor=north west, align=center] (15,0) {Name: 
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \\ Date: \_\_\_\_\_\_\_\_\_\_\_};
\end{tikzpicture}
\end{flushright}

\end{document}

Which works, except it gives two errors:

Package geometry Warning: Over-specification in h'-direction. width' (483.69684pt) is ignored.

and

Package geometry Warning: Over-specification in v'-direction. height' (731.23582pt) is ignored.

I'm not really sure what is causing this, or how to fix it. Could someone explain?

I looked at this questionthis question, but I didn't really understand the explanation given.

I'm creating custom graph paper, and my code is

\documentclass{article}
\usepackage[margin=25mm]{geometry}
\usepackage{tikz}
\usepackage{background}
\usetikzlibrary{positioning}
\usepackage{geometry}

\geometry{
    a4paper,
    total={170mm,257mm},
    left=10mm,
    right=10mm,
    top=10mm,
}

\SetBgContents%
{   \begin{tikzpicture}[remember picture, overlay]
    \draw [line width=0.3pt,color=gray,step=0.5cm] (current page.south 
    west) grid (current page.north east);
    \end{tikzpicture}
}
\SetBgScale{1}
\SetBgAngle{0}

\thispagestyle{empty}

\begin{document}

\begin{flushright}
\begin{tikzpicture}
\node[draw, double, rounded corners, scale=2, text height=25pt, 
anchor=north west, align=center] (15,0) {Name: 
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \\ Date: \_\_\_\_\_\_\_\_\_\_\_};
\end{tikzpicture}
\end{flushright}

\end{document}

Which works, except it gives two errors:

Package geometry Warning: Over-specification in h'-direction. width' (483.69684pt) is ignored.

and

Package geometry Warning: Over-specification in v'-direction. height' (731.23582pt) is ignored.

I'm not really sure what is causing this, or how to fix it. Could someone explain?

I looked at this question, but I didn't really understand the explanation given.

I'm creating custom graph paper, and my code is

\documentclass{article}
\usepackage[margin=25mm]{geometry}
\usepackage{tikz}
\usepackage{background}
\usetikzlibrary{positioning}
\usepackage{geometry}

\geometry{
    a4paper,
    total={170mm,257mm},
    left=10mm,
    right=10mm,
    top=10mm,
}

\SetBgContents%
{   \begin{tikzpicture}[remember picture, overlay]
    \draw [line width=0.3pt,color=gray,step=0.5cm] (current page.south 
    west) grid (current page.north east);
    \end{tikzpicture}
}
\SetBgScale{1}
\SetBgAngle{0}

\thispagestyle{empty}

\begin{document}

\begin{flushright}
\begin{tikzpicture}
\node[draw, double, rounded corners, scale=2, text height=25pt, 
anchor=north west, align=center] (15,0) {Name: 
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \\ Date: \_\_\_\_\_\_\_\_\_\_\_};
\end{tikzpicture}
\end{flushright}

\end{document}

Which works, except it gives two errors:

Package geometry Warning: Over-specification in h'-direction. width' (483.69684pt) is ignored.

and

Package geometry Warning: Over-specification in v'-direction. height' (731.23582pt) is ignored.

I'm not really sure what is causing this, or how to fix it. Could someone explain?

I looked at this question, but I didn't really understand the explanation given.

Source Link
auden
  • 1.5k
  • 1
  • 13
  • 29

Package geometry warning

I'm creating custom graph paper, and my code is

\documentclass{article}
\usepackage[margin=25mm]{geometry}
\usepackage{tikz}
\usepackage{background}
\usetikzlibrary{positioning}
\usepackage{geometry}

\geometry{
    a4paper,
    total={170mm,257mm},
    left=10mm,
    right=10mm,
    top=10mm,
}

\SetBgContents%
{   \begin{tikzpicture}[remember picture, overlay]
    \draw [line width=0.3pt,color=gray,step=0.5cm] (current page.south 
    west) grid (current page.north east);
    \end{tikzpicture}
}
\SetBgScale{1}
\SetBgAngle{0}

\thispagestyle{empty}

\begin{document}

\begin{flushright}
\begin{tikzpicture}
\node[draw, double, rounded corners, scale=2, text height=25pt, 
anchor=north west, align=center] (15,0) {Name: 
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \\ Date: \_\_\_\_\_\_\_\_\_\_\_};
\end{tikzpicture}
\end{flushright}

\end{document}

Which works, except it gives two errors:

Package geometry Warning: Over-specification in h'-direction. width' (483.69684pt) is ignored.

and

Package geometry Warning: Over-specification in v'-direction. height' (731.23582pt) is ignored.

I'm not really sure what is causing this, or how to fix it. Could someone explain?

I looked at this question, but I didn't really understand the explanation given.