ich habe folgendes schier unlösbares Problem.
Meine bisherigen Recherchen haben ergeben, dass inline Umgebungen keinerlei Zeilenumbrüche zulassen, was meine Versuche (siehe minimalbeispiel) bestätigen.
Mathmode von Herbert Voß
behauptet aber, es würde gehen, solange Zeichen binärer Oprationen darin vorkommen. Für mein folgendes Problem hat es leider nicht geklappt.
Ich setze eine Dissertation für eine Geologin. Darin ist (mehr als nur) eine schier endlos lange Tabelle, die ich per Gnumerik umwandele, nachbearbeite und dann einbinde. Unten ein Minimalbeispiel (haha) dessen, was ich da vor mir habe. Ich habe mir erlaubt die Gnumerik Kommentare zu löschen.
Man kann sehen, dass die "Inline" -Formeln unschön über die Ränder der Tabelle gesetzt werden. Außerdem kann man sehen, womit ich schon rumprobiert habe: die Tieferstellungen mit einer "tiny" umgebung simulieren, die \text{} eingaben zu splitten und ein plus (das da im übrigen nicht hingehört ._.), \newline, \linebreak etc. einzufügen... mir gehen die ideen aus. tiny finde ich unsauber, ich suche nach einer der "richtigen" wege.
jemand vorschläge?
herzlichst
julianna
edit hat die url vernünftig dargestellt.
\documentclass[a4paper,12pt]{scrartcl} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman,english]{babel} \usepackage{csquotes} \usepackage{lmodern} \usepackage{geometry} %Abstände \geometry{a4paper,left=25mm,right=30mm,top=25mm, bottom=30mm} \usepackage{amsmath} \usepackage{color} %% \usepackage{array} %% \usepackage{longtable} %% \usepackage{calc} %% \usepackage{multirow} %% \usepackage{hhline} %% \usepackage{ifthen} \begin{document} \def\inputGnumericTable{} \def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax} \ifundefined{inputGnumericTable} \def\gnumericTableEnd{\end{document}} \else \def\gnumericTableEnd{} \fi \providecommand{\gnumericmathit}[1]{#1} \providecommand{\gnumericPB}[1]% {\let\gnumericTemp=\\#1\let\\=\gnumericTemp\hspace{0pt}} \ifundefined{gnumericTableWidthDefined} \newlength{\gnumericTableWidth} \newlength{\gnumericTableWidthComplete} \newlength{\gnumericMultiRowLength} \global\def\gnumericTableWidthDefined{} \fi \ifthenelse{\isundefined{\languageshorthands}}{}{\languageshorthands{english}} %% \providecommand\gnumbox{\makebox[0pt]} %%\providecommand\gnumbox[1][]{\makebox} %% to adjust positions in multirow situations %% \setlength{\bigstrutjot}{\jot} \setlength{\extrarowheight}{\doublerulesep} %% The \setlongtables command keeps column widths the same across %% %% pages. Simply comment out next line for varying column widths. %% \setlongtables \setlength\gnumericTableWidth{% 71pt+% 71pt+% 45pt+% 45pt+% 94pt+% 100pt+% 0pt} \def\gumericNumCols{6} \setlength\gnumericTableWidthComplete{\gnumericTableWidth+% \tabcolsep*\gumericNumCols*2+\arrayrulewidth*\gumericNumCols} \ifthenelse{\lengthtest{\gnumericTableWidthComplete > \linewidth}}% {\def\gnumericScale{\ratio{\linewidth-% \tabcolsep*\gumericNumCols*2-% \arrayrulewidth*\gumericNumCols}% {\gnumericTableWidth}}}% {\def\gnumericScale{1}} \ifthenelse{\isundefined{\gnumericColA}}{\newlength{\gnumericColA}}{}\settowidth{\gnumericColA}{\begin{tabular}{@{}p{71pt*\gnumericScale}@{}}x\end{tabular}} \ifthenelse{\isundefined{\gnumericColB}}{\newlength{\gnumericColB}}{}\settowidth{\gnumericColB}{\begin{tabular}{@{}p{71pt*\gnumericScale}@{}}x\end{tabular}} \ifthenelse{\isundefined{\gnumericColC}}{\newlength{\gnumericColC}}{}\settowidth{\gnumericColC}{\begin{tabular}{@{}p{45pt*\gnumericScale}@{}}x\end{tabular}} \ifthenelse{\isundefined{\gnumericColD}}{\newlength{\gnumericColD}}{}\settowidth{\gnumericColD}{\begin{tabular}{@{}p{45pt*\gnumericScale}@{}}x\end{tabular}} \ifthenelse{\isundefined{\gnumericColE}}{\newlength{\gnumericColE}}{}\settowidth{\gnumericColE}{\begin{tabular}{@{}p{94pt*\gnumericScale}@{}}x\end{tabular}} \ifthenelse{\isundefined{\gnumericColF}}{\newlength{\gnumericColF}}{}\settowidth{\gnumericColF}{\begin{tabular}{@{}p{100pt*\gnumericScale}@{}}x\end{tabular}} \begin{longtable}[c]{% b{\gnumericColA}% b{\gnumericColB}% b{\gnumericColC}% b{\gnumericColD}% b{\gnumericColE}% b{\gnumericColF}% } \caption{Summarized results of gains and losses of the suevite matrix compared to the melt particles from best-fit-isocons.}\label{T5.3}\\ \hhline{|------} \multicolumn{1}{|p{\gnumericColA}}% {} &\gnumericPB{\centering}\textbf{Best-fit isocon} & & & &\multicolumn{1}{p{\gnumericColF}|}% {} \\ \hhline{|--|-|--|-|} \multicolumn{1}{|p{\gnumericColA}}% {} &\multicolumn{1}{p{\gnumericColB}|}% {\gnumericPB{\centering}\textbf{Elements}} &\multicolumn{1}{p{\gnumericColC}|}% {\gnumericPB{\centering}\textbf{Slope}} &\gnumericPB{\centering}\textbf{Mass increase} &\multicolumn{1}{p{\gnumericColE}|}% {} &\multicolumn{1}{p{\gnumericColF}|}% {} \\ \hhline{|-|---|--|} \multicolumn{6}{|p{ \gnumericColA+% \gnumericColB+% \gnumericColC+% \gnumericColD+% \gnumericColE+% \gnumericColF+% \tabcolsep*2*5}|}% {\gnumericPB{\centering}\textbf{\textit{FBN73}}} \\ \hhline{|------|} \multicolumn{1}{|p{\gnumericColA}|}% {\gnumericPB{\raggedright}Sedimentary unit - matrix} &\multicolumn{1}{p{\gnumericColB}|}% {\gnumericPB{\raggedright}Si, Al, Na\begin{tiny}Fe-melt-304.8m\end{tiny}, Ti$_\text{Fe-melt-304.8m}$, Fe$_\text{melt2-309.1m}$, Ca$_\text{melt1-309.1m}$} %hier (drüber) habe ich rumprobiert &\multicolumn{1}{p{\gnumericColC}|}% {\gnumericPB{\centering}\gnumbox{0.87}} &\multicolumn{1}{p{\gnumericColD}|}% {\gnumericPB{\centering}\gnumbox{14.9\%}} &\multicolumn{1}{p{\gnumericColE}|}% {\gnumericPB{\raggedright}H(w-s), Fe(s), Na$_\text{melt2-309.1m}$(s), Mg(s), K(w-s), Ca$_\text{Na-melt-304.8m}$(w), Ca$_\text{melt2.309.1m}$(w)} &\multicolumn{1}{p{\gnumericColF}|}% {\gnumericPB{\raggedright}Fe$_\text{Fe-melt-304.8m}$(w), Na(w-s), Mg$_\text{Fe-melt-304.8m}$(w), K$_\text{melt2-309.1m}$(s), Ca$_\text{Fe,Al-melt-304.8m}$(s)} \\ \hhline{|------|} \multicolumn{1}{|p{\gnumericColA}|}% {\gnumericPB{\raggedright}Sedimentary unit -- recrystallized melt} &\multicolumn{1}{p{\gnumericColB}|}% {\gnumericPB{\raggedright}Si, Al, Ca$_\text{Al-melt-304.8m}$, K$_\text{Al-melt-304.8m}$, Mg$_\text{Na-melt-304.8m}$, Mg$_\text{melt1-309.1m}$} &\multicolumn{1}{p{\gnumericColC}|}% {\gnumericPB{\centering}\gnumbox{1.06}} &\multicolumn{1}{p{\gnumericColD}|}% {\gnumericPB{\centering}\gnumbox{-5.7\%}} &\multicolumn{1}{p{\gnumericColE}|}% {\gnumericPB{\raggedright}Na(w-s), Ca(w-s), K(w-s), Fe$_\text{Na,Al-melt-304.8m}$(w-s), Fe$_\text{melt1-309.1m}$(s), K$_\text{Al-melt-304.8m}$(w), Ti$_\text{Na,Al-melt304.8m}$(s), Ti$_\text{melt1-309.1m}$(s)} &\multicolumn{1}{p{\gnumericColF}|}% {\gnumericPB{\raggedright}H(s), Na$_\text{Na-melt-304.8m}$(w), K$_\text{melt2-309.1m}$(s), Fe$_\text{Fe-melt-304.8m}$(s), Fe$_\text{melt2-309.1m}$(s), K$_\text{Fe-melt-304.8m}$(s)} \\ \hhline{|------|} \multicolumn{1}{|p{\gnumericColA}|}% {\gnumericPB{\raggedright}Graded suevite} &\multicolumn{1}{p{\gnumericColB}|}% {\gnumericPB{\raggedright}Si, Al, Na$_\text{matrix1}$, K$_\text{matrix1,altered melt,melt rim}$, Ca$_\text{altered melt}$} &\multicolumn{1}{p{\gnumericColC}|}% {\gnumericPB{\centering}\gnumbox{0.88}} &\multicolumn{1}{p{\gnumericColD}|}% {\gnumericPB{\centering}\gnumbox{13.6\%}} &\multicolumn{1}{p{\gnumericColE}|}% {\gnumericPB{\raggedright}Fe(s), K(w-s), Ca(w), K$_\text{matrix2}$(w), H\(_{\text{matrix2,altered melt,} = \text{melt rim}}\)(w), Ti(w)} %hier drüber habe ich rumprobiert &\multicolumn{1}{p{\gnumericColF}|}% {\gnumericPB{\raggedright}H$_\text{matrix1}$(s), Na(s)} \\ \hhline{|-|-|-|-|-|-|} \end{longtable} \ifthenelse{\isundefined{\languageshorthands}}{}{\languageshorthands{\languagename}} \gnumericTableEnd \end{document}