<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Developers, Developers, Developers! &#187; LaTeX</title>
	<atom:link href="http://maksim.sorokin.dk/it/tag/latex/feed/" rel="self" type="application/rss+xml" />
	<link>http://maksim.sorokin.dk/it</link>
	<description>Maksim Sorokin IT Blog</description>
	<lastBuildDate>Sun, 05 Feb 2012 19:37:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Multirow and Multicolumn Spanning in Latex</title>
		<link>http://maksim.sorokin.dk/it/2010/05/22/multirow-and-multicolumn-spanning-in-latex/</link>
		<comments>http://maksim.sorokin.dk/it/2010/05/22/multirow-and-multicolumn-spanning-in-latex/#comments</comments>
		<pubDate>Sat, 22 May 2010 08:55:33 +0000</pubDate>
		<dc:creator>Maksim Sorokin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[LaTeX]]></category>

		<guid isPermaLink="false">http://maksim.sorokin.dk/it/?p=161</guid>
		<description><![CDATA[Miltirow and multicolumn table spanning now with colors! or more complex example: And here how we do that for simple variant: \documentclass[12pt]{article} \usepackage{multirow} \usepackage{colortbl} \definecolor{kugray5}{RGB}{224,224,224} \begin{document} \begin{figure} \centering \begin{tabular}{&#124;c&#124;c&#124;c&#124;c&#124;c&#124;c&#124;c&#124;c&#124;c&#124;} \hline \multicolumn{1}{&#124;&#62;{\columncolor{kugray5}}c&#124;}{}&#38;\multicolumn{4}{c&#124;}{Rank}&#38;\multirow{2}{*}{Total}\\ \arrayrulecolor{kugray5} \arrayrulecolor{black} \cline{2-5} \multicolumn{1}{&#124;&#62;{\columncolor{kugray5}}c&#124;}{}&#38;A&#38;B&#38;C&#38;Other&#38;\\ \hline type 2&#38;8&#38;14&#38;5&#38;2&#38;29\\ \hline \end{tabular} \caption{Distribution of the types by rank} \label{fig:typeDistribution} \end{figure} \end{document} And for more complex one: \documentclass[12pt]{article} [...]]]></description>
			<content:encoded><![CDATA[<p>Miltirow and multicolumn table spanning now with colors!</p>
<p><img class="alignnone size-full wp-image-168" src="http://maksim.sorokin.dk/it/wp-content/uploads/2010/04/latex_table_simple1.png" alt="" width="457" height="150" /></p>
<p>or more complex example:</p>
<p><img class="alignnone size-full wp-image-162" src="http://maksim.sorokin.dk/it/wp-content/uploads/2010/04/latex_table.png" alt="" width="489" height="205" /></p>
<p>And here how we do that for simple variant:<span id="more-161"></span></p>
<pre class="brush: plain; title: ;">
\documentclass[12pt]{article}
\usepackage{multirow}
\usepackage{colortbl}
\definecolor{kugray5}{RGB}{224,224,224}

\begin{document}

\begin{figure}
  \centering
  \begin{tabular}{|c|c|c|c|c|c|c|c|c|}
    \hline
    \multicolumn{1}{|&gt;{\columncolor{kugray5}}c|}{}&amp;\multicolumn{4}{c|}{Rank}&amp;\multirow{2}{*}{Total}\\
    \arrayrulecolor{kugray5}
    \arrayrulecolor{black}
    \cline{2-5}
    \multicolumn{1}{|&gt;{\columncolor{kugray5}}c|}{}&amp;A&amp;B&amp;C&amp;Other&amp;\\
    \hline
    type 2&amp;8&amp;14&amp;5&amp;2&amp;29\\
    \hline
  \end{tabular}
  \caption{Distribution of the types by rank}
  \label{fig:typeDistribution}
\end{figure}

\end{document}
</pre>
<p>And for more complex one:</p>
<pre class="brush: plain; title: ;">
\documentclass[12pt]{article}
\usepackage{multirow}
\usepackage{colortbl}
\definecolor{kugray5}{RGB}{224,224,224}

\begin{document}

\begin{figure}
  \centering
  \begin{tabular}{|c|c|c|c|c|c|c|c|c|}
    \hline
    \multicolumn{2}{|&gt;{\columncolor{kugray5}}c|}{}&amp;\multicolumn{4}{c|}{Rank}&amp;\multirow{2}{*}{Total}\\
    \arrayrulecolor{kugray5}
    \arrayrulecolor{black}
    \cline{3-6}
    \multicolumn{2}{|&gt;{\columncolor{kugray5}}c|}{}&amp;A&amp;B&amp;C&amp;Other&amp;\\
    \hline
    \multirow{2}{*}{Type}&amp;type 1&amp;10&amp;21&amp;6&amp;3&amp;40\\
    \cline{2-7}
                         &amp;type 2&amp;8&amp;14&amp;5&amp;2&amp;29\\
    \hline
    \multicolumn{2}{|c|}{Total}&amp;18&amp;35&amp;11&amp;5&amp;69\\
    \hline
  \end{tabular}
  \caption{Distribution of the types by rank}
  \label{fig:typeDistribution}
\end{figure}

\end{document}</pre>
]]></content:encoded>
			<wfw:commentRss>http://maksim.sorokin.dk/it/2010/05/22/multirow-and-multicolumn-spanning-in-latex/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

