General ⇒ marginal notes outside the page
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
marginal notes outside the page
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
marginal notes outside the page
actually i have some trouble with this:
Code: Select all
\newcommand*{\theoremframe}[1]{\noindent\fbox{\hspace{\parindent}\parbox{\textwidth-2\parindent}{#1} \hspace{\parindent}}\\}
@localghost:
what problem do you mean? hyphenation works fine, because i useThis head-word makes me suggest you the hyphenat package. Perhaps it can solve the problem.
Code: Select all
\selectlanguage
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
marginal notes outside the page
the lengths you are looking are \fboxsep and \fboxrule, see here.
Substracting them should solve it:
Code: Select all
\newcommand*{\theoremframe}[1]{\noindent\fbox{\hspace{\parindent}%
\parbox{\textwidth-2\parindent-2\fboxsep-2\fboxrule}{#1}\hspace{\parindent}}\\}
Stefan
Re: marginal notes outside the page
thanks alot
