Beschriftung für Wrapfigure ändern

Beschriftung für Wrapfigure ändern

Ich verwende Wrapfigure, um sowohl eine Tabelle als auch ein Bild einzufügen. Da es sich jedoch in Wrapfigure befindet, wird die Tabellenüberschrift als „Abbildung X“ und nicht als Tabelle x angezeigt.

Gibt es eine Möglichkeit, das zu umgehen?

Vielen Dank! Hier ist ein Ausschnitt meines Direktcodes!

\begin{wrapfigure}{l}{8.5cm}
\begin{tabular}{|c|c|c|c|c|}
    \hline
    Cluster  & Start & End & Muts. in Cluster & P-Value    \\ \hline
    1 & 751   & 858 & 4 & 1.35E-04 \\ 
    2 & 719   & 751 & 2 & 2.41E-03 \\ 
    3 & 790   & 858 & 2 & 2.82E-03 \\
    \hline
\end{tabular}
\caption{The three most significant clusters found in EGFR for the 2GS7 structure.}
\label{tab:EGFRClust}

\includegraphics[width = 0.5\textwidth]{EGFRDrawing.eps}
\caption{The 2GS7 structure color coded by region: 1) cluster 1 - orange, 2) cluster 2 - blue and 3) cluster 3 - yellow. The boundary $\alpha$-carbon amino acids of 719, 751, 768, 790 and 858 are shown as purple spheres.}
\label{fig:EGFR-2GS7}
\end{wrapfigure} 

Antwort1

Du kannst den ... benutzen\captionofBefehl entweder durch dencapt-ofoder dercaptionPakete:

\documentclass{article}
\usepackage{wrapfig}
\usepackage{capt-of}
\usepackage[demo]{graphicx}
\begin{document}

\begin{wrapfigure}{l}{8.5cm}
\begin{tabular}{|c|c|c|c|c|}
    \hline
    Cluster  & Start & End & Muts. in Cluster & P-Value    \\ \hline
    1 & 751   & 858 & 4 & 1.35E-04 \\ 
    2 & 719   & 751 & 2 & 2.41E-03 \\ 
    3 & 790   & 858 & 2 & 2.82E-03 \\
    \hline
\end{tabular}
\captionof{table}{The three most significant clusters found in EGFR for the 2GS7 structure.}
\label{tab:EGFRClust}

\includegraphics[width = 0.5\textwidth]{EGFRDrawing.eps}
\captionof{figure}{The 2GS7 structure color coded by region: 1) cluster 1 - orange, 2) cluster 2 - blue and 3) cluster 3 - yellow. The boundary $\alpha$-carbon amino acids of 719, 751, 768, 790 and 858 are shown as purple spheres.}
\label{fig:EGFR-2GS7}
\end{wrapfigure} 

\end{document}

Bildbeschreibung hier eingeben

Die demoOption graphicxersetzt einfach die tatsächlichen Zahlen durch schwarze Rechtecke.nichtVerwenden Sie diese Option in Ihrem aktuellen Dokument.

verwandte Informationen