Ergebnis 1 bis 6 von 6
  1. #1
    Granny Smith
    Themenstarter

    Registriert
    06.2007
    Beiträge
    17

    Frage Latex Captionsetup verrückt Tabelle

    Hallo!
    Ich habe eine Longtable mit eingebundenen Bildern. Bei eben dieser will ich nun die caption mit \captionsetuo so ändern, dass sie kein Label und keinen Trenner mehr hat (\captionsetup[labelformat=empty,labelsep=none]).
    Ohne captionsetup liegt die Tabelle schön mittig auf der Seite, sobald ich es dabei schreibe, rückt die Tabelle aus dem rechten Seitenrand raus.

    Ich weiß, dass man Minimalbeispiele posten soll. Habe aber versucht, die Situation mit einer Longtable nur mit Text nachzustellen, da tritt das Problem aber nicht auf. Für genau diese (Problem)tabelle müsste ich also die 24 eingebundenen Bilder irgendwie hier reinbekommen...

    Vielleicht fällt ja jemandem direkt ohne (lauffähiges)Minimalbeispiel was ein...
    {
    \centering
    \begin{longtable}{ccccc}\\

    &\textbf{++/LN}&\textbf{+-/LN}&\textbf{++/FME}&\textbf{ +-/FME}\\*[-1cm]

    \rotatebox{90}{\parbox{4cm}{\textbf{\footnotesize{ C57Bl/6Jx\newline C57Bl/6J d9}}}}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNB6d9++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNB6d9+-}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtB6d9++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtB6d9+-}\\*[-1cm]

    \rotatebox{90}{\parbox{4cm}{\textbf{\footnotesize{ C57Bl/6Jx\newline C57Bl/6J ns}}}}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNB6ns++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNB6ns+-}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtB6ns++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtB6ns+-}\\*[-1cm]

    \rotatebox{90}{\parbox{4cm}{\textbf{\footnotesize{ C57Bl/6Jx\newline Balb/c d9}}}}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNBalbd9++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNBalbd9+-}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtBalbd9++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtBalbd9+-}\\*[-1cm]
    \rotatebox{90}{\parbox{4cm}{\textbf{\footnotesize{ C57Bl/6Jx\newline Balb/c ns}}}}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNBalbns++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNBalbns+-}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtBalbns++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtBalbns+-}\\*[-1cm]

    \rotatebox{90}{\parbox{4cm}{\textbf{\footnotesize{ CCR7\textsuperscript{-/-}x\newline CCR7\textsuperscript{-/-}}}}}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNCCRd9++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNCCRd9+-}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtCCRd9++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtCCRd9+-}\\*[-1cm]

    \rotatebox{90}{\parbox{4cm}{\textbf{\footnotesize{ CCR7\textsuperscript{-/-}x\newline CCR7\textsuperscript{-/-}}}}}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNCCRns++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNCCRns+-}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtCCRns++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtCCRns+-}\\*
    &\multicolumn{4}{c}{\includegraphics[width=11.5cm,height=1cm]{Bilder/Pfeil}}\\
    \captionsetup[labelformat=empty,labelsep=none]
    \caption{\textbf{Expression des Oberflächenmarkers CD80}}
    \end{longtable}\par
    }

    Danke,
    LiZa

  2. #2
    Morgenduft
    Registriert
    05.2007
    Ort
    Hamburg
    Beiträge
    164

    Pfeil Klammerungsfehler

    Hallo LiZa,

    ersetze die eckigen Klammern durch geschweifte:
    Code:
    \captionsetup{labelformat=empty,labelsep=none}
    Viele Grüße,

    Stefan

  3. #3
    Granny Smith
    Themenstarter

    Registriert
    06.2007
    Beiträge
    17

    DANKE schonmal:)...aber...

    Das hat soweit funktioniert, die Caption ist wieder mittig im ordentlichen Blocksatz unter der Abbildung.
    Leider funktioniert aber die Änderung nicht, weswegen ich die captionsetup brauche, also schreibt Latex mir weiterhin ein Label und einen Trenner hin, die ich ja weg haben wollte (daher ja das ganze rumgebastel )
    Gruß,
    LiZa

  4. #4
    Morgenduft
    Registriert
    05.2007
    Ort
    Hamburg
    Beiträge
    164

    longtable und \captionsetup

    Hi LiZa,

    bei mir funktioniert es auf diese Weise zusammen mit Deinem Code-Ausschnitt. Teste einmal dieses Minimalbeispiel:
    Code:
    \documentclass[a4paper,10pt]{article}
    \usepackage[demo]{graphicx}
    \usepackage{longtable}
    \usepackage{caption}
    \usepackage[utf8]{inputenc}
    \begin{document}
    
    {
    \centering
    \begin{longtable}{ccccc}\\
    
    &\textbf{++/LN}&\textbf{+-/LN}&\textbf{++/FME}&\textbf{ +-/FME}\\*[-1cm]
    
    \rotatebox{90}{\parbox{4cm}{\textbf{\footnotesize{ C57Bl/6Jx\newline C57Bl/6J d9}}}}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNB6d9++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNB6d9+-}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtB6d9++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtB6d9+-}\\*[-1cm]
    
    \rotatebox{90}{\parbox{4cm}{\textbf{\footnotesize{ CCR7\textsuperscript{-/-}x\newline CCR7\textsuperscript{-/-}}}}}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNCCRns++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80LNCCRns+-}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtCCRns++}&\includegraphics[width=2.5cm,height=3.0cm]{Bilder/FACS/CD80UtCCRns+-}\\*
    &\multicolumn{4}{c}{\includegraphics[width=11.5cm,height=1cm]{Bilder/Pfeil}}\\
    \captionsetup{labelformat=empty,labelsep=none}
    \caption{\textbf{Expression des Oberflächenmarkers CD80}}
    \end{longtable}\par
    }
    \end{document}
    Stefan

  5. #5
    Ribston Pepping Avatar von allanin@gmx.net
    Registriert
    01.2007
    Beiträge
    302
    servus stefan,

    kannst du mir bitte mal sage wo ich die captiosetup nummer einbauen muss, damit ich die schriftgröße bearbeiten kann???
    musste das setup erstmal auskommentieren, da sonst nix mehr ging
    hier mal meine tabelle:

    \begin{table}[h]
    \setcaptionwidth{10cm}
    \begin{center}
    \begin{tabular}{c|ccc|cc}
    \hline
    \multicolumn{4}{c}{Ergebnissgrößen} & \multicolumn{2}{c}{Cashflowgrößen}\\
    \hline
    \hline
    \textsc{} & {\bf{\small{\textsc{BEvaE}}}} & {\bf{\small{\textsc{EBIT}}}} & {\bf{\small{\textsc{JU}}}} & {\bf{\small{\textsc{oCF}}}} & {\bf{\small{\textsc{fCF}}}}\\
    \hline
    $\alpha_{1}$ & 0.817 & 0.752 & 0.697 & 0.934 & 0.111\\
    \hline
    $\theta_{1}$ & 1.047 & 1.011 & 0.978 & 1.065 & 0.767\\
    \hline
    \end{tabular}
    % \captionsetup[table]{font=small}
    \caption{Persistenz verschiedener Ergebnis- und Cashflow-Variablen \newline Quelle: eigene Darstellung in Anlehnung an Kaserer/Adamek (2003), S. 507}
    \end{center}
    \end{table}

  6. #6
    Morgenduft
    Registriert
    05.2007
    Ort
    Hamburg
    Beiträge
    164

    \captionsetup

    Hallo,

    innerhalb der table-Umgebung würde
    Code:
    \captionsetup{font=small}
    funkionieren, oder verwende
    Code:
    \captionsetup[table]{font=small}
    vor \begin{table}[h].

    Stefan

Ähnliche Themen

  1. Antworten: 2
    Letzter Beitrag: 05.09.2007, 17:58
  2. [LaTeX] Schriftgröße in Tabelle
    Von thrillseeker im Forum LaTeX
    Antworten: 3
    Letzter Beitrag: 30.08.2007, 19:53
  3. LaTeX: Leerzeile in Tabelle weg
    Von Baumkänguruh im Forum LaTeX
    Antworten: 13
    Letzter Beitrag: 22.04.2007, 14:33
  4. Mehrzeilige Tabelle in LaTeX
    Von Zettt im Forum LaTeX
    Antworten: 8
    Letzter Beitrag: 07.02.2007, 18:26
  5. Tabelle in LaTeX
    Von zoom im Forum LaTeX
    Antworten: 12
    Letzter Beitrag: 01.12.2006, 16:08

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •