Search found 4 matches

by mssm
Mon Mar 21, 2011 2:40 pm
Forum: Graphics, Figures & Tables
Topic: colortbl and tabular* - messed up cells
Replies: 0
Views: 1173

colortbl and tabular* - messed up cells

Using the code below, the tabular environment I create unfortunately looks not how I expected.
ugly.png
Can someone maybe help me figure out how to fix that? In particular, having the entire cell colored in the last row.
\documentclass[a4paper,11pt]{article}
\usepackage{colortbl}
\begin{document ...
by mssm
Fri Aug 20, 2010 9:10 pm
Forum: Graphics, Figures & Tables
Topic: Inserting figures from different folders
Replies: 3
Views: 14785

Re: Inserting figures from different folders

Hey Laura,

In fact, there is such a thing. The first three hits on Google with the keywords 'latex', 'figure', and 'directory' gave me the answers to that problem.

You are searching for the \graphicspath{} command.

A good idea for any sort of problem is to consult Google.
by mssm
Fri Aug 20, 2010 2:28 am
Forum: Graphics, Figures & Tables
Topic: Place a Verbatim environment within a Figure, i.e. label it?
Replies: 1
Views: 3695

Place a Verbatim environment within a Figure, i.e. label it?

I would like to place a Verbatim environment as provided by the fancyvrb package into a figure environment, so that I can add a label to the Verbatim and reference it later.
Is this at all possible?


\begin{figure}
\begin{Verbatim}[frame=single,numbers=left,label={Sample input},commandchars ...
by mssm
Thu Aug 19, 2010 7:57 pm
Forum: General
Topic: fancyvrb, dash and commandchars= option cause trouble
Replies: 0
Views: 2043

fancyvrb, dash and commandchars= option cause trouble

Using the Verbatim environment provided by the fancyvrb package, the following code will not compile for me:

\documentclass[a4paper,12pt]{article}
\usepackage{fancyvrb}
\begin{document}
\begin{figure}
\begin{Verbatim}[commandchars=\\\{\},frame=single,numbers=left,label={Sample input}]
%POSITION ...