Search found 12 matches

by Steztric
Mon Dec 15, 2008 10:51 am
Forum: Graphics, Figures & Tables
Topic: Make heading row of table bold
Replies: 6
Views: 100238

Make heading row of table bold

Hi guys.

I managed to solve the problem. I found some documentation on the matter. It requires a couple of new definitions and some tokens in the table column definitions to get it done, but it's possible; \newcolumntype{+}{>{\global\let\currentrowstyle\relax}}
\newcolumntype{^}{>{\currentrowstyle ...
by Steztric
Wed Dec 03, 2008 2:53 am
Forum: Graphics, Figures & Tables
Topic: Make heading row of table bold
Replies: 6
Views: 100238

Make heading row of table bold

Thanks, that's true. It is an awkward hack though. Some tables I have are rotated and have 15 columns. This makes for a lot of \textbf'ing (not that text would be inclined to do so...). Surely there is a more elegant way of making an entire row bold?
by Steztric
Wed Dec 03, 2008 1:55 am
Forum: Graphics, Figures & Tables
Topic: Make heading row of table bold
Replies: 6
Views: 100238

Make heading row of table bold

Hi everybody,

This must seem like a very simple question, but I want to make the heading row of a table bold. Unfortunately I can't find any tutorials anywhere that tells me how to do this? I can make an entire column bold by going
\begin{tabular}{>{\bfseries}l} But this code doesn't help for rows ...
by Steztric
Wed Dec 03, 2008 1:40 am
Forum: General
Topic: Scale down equations
Replies: 5
Views: 30028

Re: Scale down equations

Hi, thank you both for your help. Both those solutions are excellent. Don't hate me for this, but the reason I wanted to make it fit on one line is because I am porting this document over from, *ahem*, Microsoft Word... It happened to fit on one line on there and looked fine.

The reason I did this ...
by Steztric
Tue Dec 02, 2008 4:41 pm
Forum: General
Topic: Scale down equations
Replies: 5
Views: 30028

Re: Scale down equations

Thanks for the help. Unfortunately if I abstract the equation then I cannot show the steps to simlifying the algebra, which is what I intended. That's why I need it on one line, because they are steps in a derivation.

Does anybody else have an idea?
by Steztric
Tue Dec 02, 2008 12:27 am
Forum: General
Topic: Scale down equations
Replies: 5
Views: 30028

Scale down equations

Hi everybody,

I have an equation that I want to fit onto one line. The only problem is, I don't know how to resize equations. I tried using \small but this has no effect. I also tried using the \scalebox method of the graphicx package, but no luck.

Does anybody know any way to do this? Here is the ...
by Steztric
Wed Nov 19, 2008 11:51 am
Forum: General
Topic: Single equation number in multi-line equation
Replies: 2
Views: 24567

Single equation number in multi-line equation

Hey people;

I have a very wide equation that I can't put on one line. If I do, it runs off the end of the page.

Unfortunately, when I use the newline character \\ to put part of the equation on the next line, the eqnarray environment thinks it is another equation and gives a separate equation ...
by Steztric
Tue Oct 28, 2008 4:24 am
Forum: General
Topic: using verbatim in the argument of new environment
Replies: 5
Views: 8955

using verbatim in the argument of new environment

Thanks phi- that gave me the information I needed.

If anyone else wants to know, I can define the new environment like this;

Code: Select all

\DefineVerbatimEnvironment{code}{Verbatim}{fontsize=\small}
\begin{code}
Some code
\end{code}
Great stuff.
by Steztric
Sun Oct 26, 2008 3:07 am
Forum: General
Topic: using verbatim in the argument of new environment
Replies: 5
Views: 8955

using verbatim in the argument of new environment

Great! That helps- but I don't want to have to be typing a lot of arguments every time I want to use the same Verbatim environment. Maybe I will want to change the output style of all the instances of code. Unfortunately with this package, I still can't do this;
\newenvironment{code}[1]{\begin ...
by Steztric
Sat Oct 25, 2008 4:08 pm
Forum: General
Topic: using verbatim in the argument of new environment
Replies: 5
Views: 8955

using verbatim in the argument of new environment

Hi everyone,

I want to create a new environment which abstracts the following typesetting information;
{\ttdefault
{\small
\begin{verbatim}
Some text that is typset to the correct style
\end{verbatim}
}
}
The problem is, when I define the "begdef" argument of \newenvironment, I cannot use ...