Thread View: pl.comp.dtp.tex
2 messages
2 total messages
Started by lookas
Sat, 27 Mar 2010 18:22
Wcięcie twierdzenia
Author: lookas
Date: Sat, 27 Mar 2010 18:22
Date: Sat, 27 Mar 2010 18:22
10 lines
1382 bytes
1382 bytes
Witam, potrzebuję uzyskać wcięcie dla theorem jak to zaznaczona na grafice: http://img52.imageshack.us/img52/4320/twierdzenie.jpg Udało mi się za pomocą \mbox\indent, ale wolałbym ustawić wcięcie w theoremstyle. Da się? Pozdrawiam, Łukasz
Re: Wcięcie twierdzenia
Author: Paweł Wlaź
Date: Mon, 29 Mar 2010 08:27
Date: Mon, 29 Mar 2010 08:27
50 lines
2164 bytes
2164 bytes
On Sat, 27 Mar 2010, lookas wrote:
> Witam,
>
> potrzebuję uzyskać wcięcie dla theorem jak to zaznaczona na grafice:
> http://img52.imageshack.us/img52/4320/twierdzenie.jpg
>
> Udało mi się za pomocą \mbox\indent, ale wolałbym ustawić wcięcie w
> theoremstyle. Da się?
>
Być może da się czytając dokumentajcję, względnie plik źródłowy
amsthm, ja jednak nie miałem takiej cierpliwości - szybciej mi napisać
coś w stylu:
%%%----------------------------------------------------------
\documentclass{article}
\usepackage{amsthm}
\theoremstyle{definition}
\newtheorem{thdonotuseit}{Twierdzenie}
\newenvironment{tw}[1][{}]{\begin{thdonotuseit}[#1]\
\par}{\end{thdonotuseit}}
\begin{document}
\begin{tw}
Nowe nowe nowe nowe nowe nowe nowe nowe nowe nowe nowe
nowe nowe nowe nowe nowe nowe nowe nowe nowe nowe nowe
nowe nowe nowe nowe nowe nowe nowe nowe nowe nowe nowe
\end{tw}
\begin{tw}[extra]
Supernowe supernowe supernowe supernowe
supernowe supernowe supernowe supernowe
supernowe supernowe supernowe supernowe
\end{tw}
\end{document}
%%%------------------------------------------------------------
> Pozdrawiam,
> Łukasz
>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads