Search found 9 matches

by generator
Wed Jan 19, 2011 5:58 am
Forum: Graphics, Figures & Tables
Topic: Captions: Tricky Underlining
Replies: 3
Views: 2996

Captions: Tricky Underlining

I've found a way to do this without using the "ulem" package; use math mode, and "underline" some "text" in math mode.

\documentclass{article}
\usepackage{caption}[2007/09/01] % needs v3.1 or newer

%THE NEWLY REDONE TEXT FOLLOWS:
\DeclareCaptionLabelFormat{underlcap}{$\underline{\text{#1 #2 ...
by generator
Wed Jan 19, 2011 1:06 am
Forum: Graphics, Figures & Tables
Topic: Sending a caption to an environment
Replies: 1
Views: 1398

Sending a caption to an environment

I have the following minimal code:

\documentclass[twocolumn]{article}

\usepackage{float}

\floatstyle{boxed}
\newfloat{ColumnFigure}{h}{cf1}
\floatname{ColumnFigure}{Figure}

\newenvironment{ColumnEnv}
{
\begin{ColumnFigure}
}
{
\caption{\textbf{Argument 1}}
\end{ColumnFigure}
}

\begin{document ...
by generator
Mon Jan 17, 2011 9:18 am
Forum: Graphics, Figures & Tables
Topic: Captions: Tricky Underlining
Replies: 3
Views: 2996

Captions: Tricky Underlining

I'm attempting to create custom float captions (for custom floats). Ordinarily, I might use a regular Figure to display a figure. In this case, the caption might display as:
Figure 1: A figure.

However, I want to underline the portion to the left of the colon. This would look like:

Figure 1 : A ...
by generator
Tue Jan 11, 2011 12:10 am
Forum: Graphics, Figures & Tables
Topic: demonstration of text floats
Replies: 0
Views: 991

demonstration of text floats

I was wondering if someone could demonstrate the use of a float to display text. Maybe even include a border and caption for extra credit. I'd like it if everything is in the same file, which should hopefully make things easier.

For MAJOR EXTRA CREDIT, I'd like to see this used in conjunction with ...
by generator
Tue Oct 26, 2010 12:19 am
Forum: General
Topic: Understanding Counters
Replies: 3
Views: 2155

Re: Understanding Counters

Thanks! That solves my problems :D
by generator
Mon Oct 25, 2010 6:04 am
Forum: General
Topic: Understanding Counters
Replies: 3
Views: 2155

Understanding Counters

I'd like to know how to set up custom counters. It seems that every counter I create has a section number attached. I'd like to be able to create a counter that doesn't have additional numbers attached.

I'd also like to know how to display counters by themselves. I've only been able to use them in ...
by generator
Sat Apr 03, 2010 3:49 pm
Forum: Math & Science
Topic: Brackets for equality
Replies: 6
Views: 3342

Re: Brackets for equality

I've been trying to read up on this. However, I don't know how to use the equation environment in conjunction with another begin/end clause. My TeX editor keeps telling me there are like 8-10 errors when I try this. How would I get around this?
by generator
Sat Apr 03, 2010 3:28 pm
Forum: Math & Science
Topic: Brackets for equality
Replies: 6
Views: 3342

Re: Brackets for equality

Thanks for your help. That's exactly what I wanted. However, I'd also like to put this into an equation, numbered for clarity. How would I do this?
by generator
Sat Apr 03, 2010 6:01 am
Forum: Math & Science
Topic: Brackets for equality
Replies: 6
Views: 3342

Brackets for equality

I haven't found any documentation on brackets with equality.

I'm attempting to define a function (the Collatz conjecture - see http://en.wikipedia.org/wiki/Collatz_conjecture)

I set up the equality

f(n) = {n/2 if n is even
{3n+1 if n is odd

I'd like to combine the brackets, just like in the ...