Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 2

07 Jan '16, 14:27

saputello's gravatar image

saputello
11.1k174365

Vertikale Ausrichtung tikzpicture in Tabelle

Ich bekomme mal wieder die vertikale Ausrichtung in einer Tabelle nicht hin. Folgendes hab ich probiert: \documentclass[12pt]{beamer} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{tabularx} \begin{document} \renewcommand\tabularxcolumn[1]{m{#1}} \begin{tabularx}{\textwidth}{>{\raggedright}X>{\raggedright}X} \mbox{$(a,b) = \{x \in \mathbb{R} \mid a < x < b\}$} & \begin{tikzpicture}[line cap=round, line join=round, x=1cm, y=1cm, scale=1, baseline=(O)] \coordinate (O) at (0,0); \draw [->] (0,0) -- (4,0); \foreach \x/\y/\z in {1/{{(}}/$a$,3/{{)}}/$b$} \draw [shift={({\x},0)}] node {\y} node[below=7mm,anchor=base,font=\small] {\z}; \end{tikzpicture} \end{tabularx} \end{document} Das hat leider nicht die Achse des Bilds auf die Mitte des Textes gebracht.
Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

12 Feb '15, 17:59

tom75's gravatar image

tom75
2.2k287984

Vertikale Ausrichtung tikzpicture in Tabelle

Ich bekomme mal wieder die vertikale Ausrichtung in einer Tabelle nicht hin. Folgendes hab ich probiert: \documentclass[12pt]{beamer} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{tabularx} \begin{document} \renewcommand\tabularxcolumn[1]{m{#1}} \begin{tabularx}{\textwidth}{>{\raggedright}X>{\raggedright}X} \mbox{$(a,b) = \{x \in \mathbb{R} \mid a < x < b\}$} & \begin{tikzpicture}[line cap=round, line join=round, x=1cm, y=1cm, scale=1, baseline=(O)] \coordinate (O) at (0,0); \draw [->] (0,0) -- (4,0); \foreach \x/\y/\z in {1/{{(}}/$a$,3/{{)}}/$b$} \draw [shift={({\x},0)}] node {\y} node[below=7mm,anchor=base,font=\small] {\z}; \end{tikzpicture} \end{tabularx} \end{document} Das hat leider nicht die Achse des Bilds auf die Mitte des Textes gebracht.