Ausrichtung bei mulitrow Tabelle

Antwort erstellen


Diese Frage dient dazu, das automatisierte Versenden von Formularen durch Spam-Bots zu verhindern.
Smilies
:D :) :( :o :shock: :? 8) :lol: :-x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode ist eingeschaltet
[img] ist eingeschaltet
[flash] ist ausgeschaltet
[url] ist eingeschaltet
Smilies sind eingeschaltet

Die letzten Beiträge des Themas

Ich habe die Datenschutzerklärung gelesen und bin damit einverstanden.

   

Wenn du eine Datei oder mehrere Dateien anhängen möchtest, gib die Details unten ein.

Ansicht erweitern Die letzten Beiträge des Themas: Ausrichtung bei mulitrow Tabelle

von harald » Mi 2. Dez 2009, 21:55

bzw.
\multirow{9}
Dann ist der auch in der Mitte.

Gruß
Harald

von harald » Mi 2. Dez 2009, 21:51

Hallo scarabeus,

probier mal das:
\documentclass[11pt,a4paper]{book}
%
\usepackage{makeidx}
\makeindex
%
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{geometry}[2008/11/13]
\usepackage{marginnote}[2008/11/10]
\usepackage{graphicx}
\usepackage[table]{xcolor}
\usepackage{framed}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{hhline}
\geometry{paperwidth=170mm,paperheight=220mm,top=19mm,height=180mm,heightrounded,left=15mm,right=35mm,marginparsep=2mm,marginparwidth=27mm}
%\usepackage[cam,a4,center,dvips]{crop}
%
\setlength{\unitlength}{1mm}
\definecolor{shadecolor}{gray}{.8}
%
\newcommand{\BN}{``Bakti Negara'' }
\newcommand{\PS}{Pencak Silat }
%
\begin{document}
\begin{longtable}{ccp{8.4cm}}
   Titel && \multicolumn{1}{c}{Belt}\\[11pt]
   \multirow{4}*{Student} & & Solid Red length of training 6 months\\
      & & Red with one stripe,length of training 1 years\\
      & & Red with two stripes, length of training 1,5 years\\
      & & Red with three stripes, length of training 2 years\\[11pt]
   \multirow{4}*{Junior Cadre} & & Solid Blue length of training 2,5 years\\
      & & Blue with one stripe length of training 3,5 years\\
      & &  Blue with two stripes, length of training 4,5 years\\
      & & Blue with three stripes, length of training 5,5 years\\[11pt]
   \multirow{5}*{Mid level Cadre} & & Solid Yellow, length of training 6,5 years\\
      & & Yellow with one stripe, length of training 7,5 years\\
      & & Yellow with two stripes, length of training 8,5 years\\
      & & Yellow with three stripes, length of training 9,5 years\\[11pt]
   \multirow{5}*{Junior Master} & & Solid Purple, length of training 12 years\\
      & & Purple with one stripe, length of training 14 years\\
      & & Purple with two stripes, length of training 16 years\\
      & & Purple with three stripes, length of training 18 years\\[11pt]
 \multirow{8}*{Senior Master} & & Black \newline for those who have had at least 20 years of training and have fully mastered the four aspects of teaching \PS \BN It is seen as an honorary title given to cadres/management/members who have been proven to be dedicated, loyal and have made special achievements in the development of \BN school\\[11pt]
   Grand Master & & White
\end{longtable}
\end{document}
Gruß
Harald

Ausrichtung bei mulitrow Tabelle

von scarabeaus » Sa 21. Mär 2009, 11:57

Hallo zusammen,

Ich möchte das der Text aus der ersten Spalte immer zentral in der Zelle steht so wie in den ersten beiden Gruppen. in der 3. 4. und 5. Gruppe passt es leider nicht mehr. (Vorallem in der 5. Gruppe)

hoffe das mir jemand helfen kann

mfg
scarabeaus

hier der code den ich bis jetzt habe:
\documentclass[11pt,a4paper]{book}
%
\usepackage{makeidx}
\makeindex
%
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{geometry}[2008/11/13]
\usepackage{marginnote}[2008/11/10]
\usepackage{graphicx}
\usepackage[table]{xcolor}
\usepackage{framed}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{hhline}
\geometry{paperwidth=170mm,paperheight=220mm,top=19mm,height=180mm,heightrounded,left=15mm,right=35mm,marginparsep=2mm,marginparwidth=27mm}
%\usepackage[cam,a4,center,dvips]{crop}
%
\setlength{\unitlength}{1mm}
\definecolor{shadecolor}{gray}{.8}
%
\newcommand{\BN}{``Bakti Negara'' }
\newcommand{\PS}{Pencak Silat }
%
\begin{document}
\begin{longtable}{ccp{8.4cm}}
	Titel && \multicolumn{1}{c}{Belt}\\[11pt]
	\multirow{4}*{Student} & & Solid Red length of training 6 months\\
		& & Red with one stripe,length of training 1 years\\
		& & Red with two stripes, length of training 1,5 years\\
		& & Red with three stripes, length of training 2 years\\[11pt]
	\multirow{4}*{Junior Cadre} & & Solid Blue length of training 2,5 years\\ 
		& & Blue with one stripe length of training 3,5 years\\
		& &  Blue with two stripes, length of training 4,5 years\\
		& & Blue with three stripes, length of training 5,5 years\\[11pt]
	\multirow{4}*{Mid level Cadre} & & Solid Yellow, length of training 6,5 years\\
		& & Yellow with one stripe, length of training 7,5 years\\
		& & Yellow with two stripes, length of training 8,5 years\\
		& & Yellow with three stripes, length of training 9,5 years\\[11pt]
	\multirow{4}*{Junior Master} & & Solid Purple, length of training 12 years\\
		& & Purple with one stripe, length of training 14 years\\
		& & Purple with two stripes, length of training 16 years\\
		& & Purple with three stripes, length of training 18 years\\[11pt]
	Senior Master & & Black \newline for those who have had at least 20 years of training and have fully mastered the four aspects of teaching \PS \BN It is seen as an honorary title given to cadres/management/members who have been proven to be dedicated, loyal and have made special achievements in the development of \BN school\\[11pt]
	Grand Master & & White
\end{longtable}
\end{document}

Nach oben