[OS X TeX] query to: MacOSX-TeX Digest

Peter Dyballa Peter_Dyballa at Web.DE
Thu Jun 28 07:59:49 EDT 2007


Am 28.06.2007 um 10:55 schrieb Bridget Kane:

> I tried making a table and including a figure into one of  the   
> cells and the table into another.  But that wouldn't work for me.

What do you think of this colourful work-around, a picture beside  
some text, that could be also a table?

\usepackage[pdftex,colorlinks,breaklinks,bookmarks]{hyperref}
\usepackage{amssymb,soul}
\usepackage[svgnames]{xcolor}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%%%%%%%
\newcommand{\universr}{\usefont{T1}{phv}{m}{n}}
\newcommand{\universb}{\usefont{T1}{phv}{b}{n}}
\newcommand{\georgiar}{\usefont{T1}{ppl}{m}{n}}
\newlength{\bildbreite}
\newlength{\bildhoehe}
\newlength{\deltax}
\newlength{\mass}
\sodef\sperrgerog{\georgiar}{0.15ex}{0.5ex}{0.5ex}
\sodef\sperruni{\universb}{0.15ex}{0ex}{1ex}
\sodef\sperrrot{\georgiar}{0.5ex}{5ex}{9ex}
\soulregister{\universr}{1}
\soulregister{\universb}{1}
\soulregister{\georgiar}{1}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%%%%%%%

\begin{document}
%        \setlength{\fboxrule}{0mm}
       \colorbox{LightGrey}{%
         \setlength{\fboxsep}{2mm}
         \begin{minipage}[t][50mm][t]{.5\linewidth-2.5mm}
            \topskip=0.8\baselineskip
            \begin{multicols*}{2}[][5pt]\raggedcolumns\footnotesize{%  
engere Zeilen!
              \fontsize{6.25}{5pt}{\universr
                 {\sperruni{Titel,}}           {\sperrgerog{ Another  
Day On Earth}}\\
                 {\sperruni{Musiker,}}         {\sperrgerog{ Brian  
Eno}}\\
                 {\sperruni{Veröffentlichung,}}{\sperrgerog{ 04. Juli  
2005}}\\
                 {\sperruni{Anbieter,}}        {\sperrgerog{ Hannibal  
Records\\(Rough Trade)}}\\
                 {\sperruni{Preis,}}           {\sperrgerog{ 15,99  
Euro}}\\
              }}
              \setlength{\unitlength}{1mm}
              \begin{picture}(0,23)
                   \fontsize{6.6}{7pt}{\universr
                     \put(0,15){\color{Maroon}{M\;E\;D\;I\;A\;-\;M\;E 
\;T\;E\;R}}
                     \put(-0.7,12){\summameterK{3}}
                     \put(0,7.5){\color{Maroon}{M\;E\;D\;I\;E\;N\;-\;E 
\;C\;H\;O}}
                     \put(-0.6,4.5){\medienechoK{4}}
                     \put(0,0){\href{http://www.fiercepanda.co.uk/} 
{http://www.discogs.com/release/474404}}
                   }
              \end{picture}
              \vfill\columnbreak	% starts next column
              \settoheight{\bildhoehe}{\includegraphics 
[clip=true,keepaspectratio=true,%
                       width=45.5mm,%
                       height=45.5mm]%
                       {pop-image1.jpg}}
              \settowidth{\bildbreite}{\includegraphics 
[clip=true,keepaspectratio=true,%
                       width=45.5mm,%
                       height=45.5mm]%
                       {pop-image1.jpg}}
              \setlength{\deltax}{\linewidth}
              \addtolength{\deltax}{-\bildbreite}
              \addtolength{\deltax}{1mm}
              \setlength{\mass}{\bildhoehe}
              \addtolength{\mass}{-2.75mm}
              \addtolength{\mass}{-5mm}
              \setlength{\unitlength}{1pt}%
              \vspace*{\the\mass}\hspace*{\the\deltax}\begin{picture} 
(0,0)%\strip at pt\mass
                 \put(0,0){\includegraphics 
[clip=true,keepaspectratio=true,%
                   width=45.5mm,%
                   height=45.5mm]%
                   {pop-image1.jpg}}
                 \put(0,-6.4){\color{Thistle}\rule{\bildbreite}{2.25mm}}
                 \put(1.4,-5){\fontsize{6}{5pt}{\universr{\color{Plum}
                       Bild, \textcopyright{} Hannibal Records
                    }}}
              \end{picture}
            \end{multicols*}
         \end{minipage}
	}	% Ende colorbox

\end{document}

>
> The .eps is a graph and the small table intended alongside is the  
> data for the graph.

EPS does not work with pdfTeX, PNG, GIF, or JPEG do.

--
Greetings

   Pete

                   Sorry my terrible English, my native language Lisp!



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list