Posts

Showing posts from March 29, 2019

problem with theorem, tikzpicture and center environment

Image
4 I use a dialog-bubble style for some theorems, by using the code below, that works fine. documentclass[a4paper,11pt,twoside]{book} usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry} usepackage{amsthm} usepackage{environ} usepackage{tikz} usetikzlibrary{shapes,snakes} % Για φάνσι κουτακια theoremstyle{plain} newtheorem{theo}{Sometheorem}[chapter] tikzstyle{BoxDialog} = [draw=black, fill=white, very thick, rectangle callout, rounded corners, densely dashed,callout relative pointer={(-0.4cm,-0.4cm)}, inner sep=4pt, inner ysep=8pt] tikzstyle{TitlTheo} =[fill=white, text=black] NewEnviron{dialogtheo}[1]{ begin{tikzpicture} node [BoxDialog] (boxtheo){% begin{minipage}{0.9textwidth} BODY end{minipage}