Generalgmeometric

LaTeX specific issues not fitting into one of the other forums of this category.
hightower82
Posts: 6
Joined: Sat Apr 12, 2008 1:07 pm

gmeometric

Post by hightower82 »

Hello everybody,
I have a problem with the gmeometric.sty package. Can someone post an example?!
I worked with the geometry package but now I have to change the layout on some pages of my paper.

Code: Select all

\documentclass[a4paper, twoside,openright]{scrbook}
\usepackage[ngerman]{babel}
...
%\usepackage{geometry}
\usepackage{gmeometric}
\pagestyle{fancy}
\begin{document}
\frontmatter
\phantomsection
\addcontentsline{toc}{chapter}{Titelseite}
%
\geometry{inner=30mm, outer=30mm, textheight=207mm, textwidth=150mm}
%
\include{titlepage}
\include{1chapter}
\include{2chapter}
\mainmatter
%
\geometry{inner=30mm, outer=30mm, textheight=207mm, textwidth=120mm, %
marginpar=50mm,top=29mm,bottom=41mm headheight=7mm,headsep=7mm, footskip=13mm}
\include{3chapter}
\include{4chapter}
...
\appendix

\backmatter
\cleardoublepage
%
\geometry{inner=30mm, outer=30mm, textheight=207mm, textwidth=150mm}
%
\bibliographystyle{apasoft}
\bibliography{bibo}
\printglossary
\printindex
\end{document}

But it does not work?! Can someone help me? Is there another package which I can use to solve the Problem?
best regards
Hightower

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

gmeometric

Post by Stefan Kottwitz »

Hello Hightower,

welcome to the board!

Your question was already posted to another board: here. It would have been be nice if you had mentioned it, especially if there might appear answers.
Of course we help you with pleasure here too.

You should get warnings about over-specifications in vertical and horizontal direction, check your logfile.

I recommend to write \onecolumn directly after each \geometry call, that may solve it. I cannot test your file, because that's not a complete minimal working example. But if you need, I could provide a small example where \geometry is working.

Stefan
hightower82
Posts: 6
Joined: Sat Apr 12, 2008 1:07 pm

Re: gmeometric

Post by hightower82 »

Thanks Stefan,
You can see that this post is also from hightower (so it is my post ;-) but no one answered).
I will try to use \onecolumn but it would be nice if you can post your minimal working example :P . Now I will try and then I post some results.

thanks for your answer
hightower
hightower82
Posts: 6
Joined: Sat Apr 12, 2008 1:07 pm

gmeometric

Post by hightower82 »

OK here I am again :)
First the \oneclumn tag was the right way, but now Igot another mistake:
my document does not start with the titlepage - there are two pages before. After every \geometry tag I get "<4<40" on the page?! what does that mean?

Code: Select all

\geometry{inner=30mm, outer=30mm, textheight=207mm ,textwidth=150mm, top=39mm, bottom=51mm}
\onecolumn
and

Code: Select all

\geometry{inner=30mm, outer=60mm, textheight=207mm ,textwidth=120mm, top=39mm, bottom=51mm}
\onecolumn
Do you have another trick to solve that problem because my page number counter counts that pages too? So my titlepage is page number 3 e.g.!
Thanks a lot for the first trick
hightower
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

gmeometric

Post by Stefan Kottwitz »

hightower82 wrote:my document does not start with the titlepage
I understand that it should? When I try to reproduce this behaviour with the code given by you, the pdf starts with the titlepage. Could you provide more code? For instance the titlepage.tex.
hightower82 wrote:After every \geometry tag I get "<4<40" on the page?! what does that mean?
I don't get this. Could you post your .log-file as attachment?
hightower82 wrote:Do you have another trick to solve that problem because my page number counter counts that pages too? So my titlepage is page number 3 e.g.!
It's possible to manipulate the page counter, e.g. \setcounter{page}{0}, but it would be better to find out why empty pages appear at the beginning. But for that I need to see more of your code.

Stefan
hightower82
Posts: 6
Joined: Sat Apr 12, 2008 1:07 pm

Re: gmeometric

Post by hightower82 »

So, I attached the logfile. Hope you will find the mistake - end "yes" I know there are some warnings - double labels, missing references,...
...I try to build up the file step by step from some files and notes I have.
...but I am thankful for every help :mrgreen:

So thanks for you efforts
Hightower
Attachments
Logfile.log
(92.28 KiB) Downloaded 250 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Re: gmeometric

Post by Stefan Kottwitz »

Oh, there are many error messages!
At first you should update your gmutils package, your installed version of gmutils is too old for gmeometric, use your MiKTeX package manager. That should fix some of the errors, then we can go further.

Stefan
hightower82
Posts: 6
Joined: Sat Apr 12, 2008 1:07 pm

gmeometric

Post by hightower82 »

hey stefan,
I update my miktex to 2.7 and have all the new packages :) -> with the new gmutil package all page problems were solved :P thanks a lot!!!!
Now I have the problems with warnings...
...maybe it is possible that you can give me some hints:
  • Code: Select all

    Underfull \vbox (badness 10000) has occurred while \output is active []

    Code: Select all

    Overfull \hbox (13.62834pt too wide) in alignment at lines 61--66

    Code: Select all

    ! Undefined control sequence.
    <argument> \undefinedpagestyle 
                                   
    l.269 \include{Kapitel/LOD}
                               
    The control sequence at the end of the top line
    of your error message was never \def'ed. If you have
    misspelled it (e.g., `\hobx'), type `I' and the correct
    spelling (e.g., `I\hbox'). Otherwise just continue,
    and I'll forget about whatever was undefined.

    Code: Select all

    LaTeX Font Warning: Command \footnotesize invalid in math mode on input line 30
    6.
I attached my "new" logfile :), so if you want to do me a favor then you can send me some notes to my logfile.
Now I HAVE TO SAY THANK YOU because the layout is working fine :D

hightower
Attachments
Logfile1.log
(67.71 KiB) Downloaded 246 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

gmeometric

Post by Stefan Kottwitz »

Hi,

the first two warnings mean that the text at those lines does not fit, that's why it may contain too much whitespace or, in the case of "overfull", it could go into the margin. You must correct the text manually, for instance improve the hyphenation.
You could see those bad boxes if you give the option draft to your documentclass:

Code: Select all

\documentclass[a4paper, twoside, openright, draft]{scrbook}
Then marks will be shown next to the bad boxes. Later you can remove this option.

The message concerning \undefinedpagestyle looks like you have defined a pagestyle that does'nt exist, check \pagestyle or the fancyhdr documentation.

Concerning the last warning check your lines 298, 306. You cannot use the command \footnotesize inside a math environment, only in text mode. You could use \mathsmaller of the relsize package. Or tell us, what the problem with the size of those formulas is.

Stefan
hightower82
Posts: 6
Joined: Sat Apr 12, 2008 1:07 pm

gmeometric

Post by hightower82 »

Hey stefan,
nervous breakdown on sunday evening - nothing works anymore?!

Code: Select all

! Undefined control sequence.
<argument> \undefinedpagestyle 
                               
l.269 \include{Kapitel/LOD}
                           
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
I get an error for every \include{}??? and this is because of the gmeometric package!
Also my Miktex crashed - but I could compile my work on another computer today- and there I found out that the mistakes happen if I \include{} something - I fixed it with \input{} - but now there are no header and footer(pagenumber)???!!!
Now I will install my TeXnic Center and Miktex 2.7 and hope that everything works fine...

...so the problem with the header an footer is fixed ;-)

Thanks
Hightower
Post Reply