Search found 8 matches

by TritonMan
Thu Jun 03, 2010 2:41 am
Forum: General
Topic: Jump to error
Replies: 4
Views: 4303

Re: Jump to error

From the screenshot on the link you posted it doesn't look as if TexnicCenter prints out line numbers with the error.

I don't know how you can get the jumping to work, but you can work around it by opening the .log file with the corresponding name to your .tex file (yourfile.tex produces yourfile ...
by TritonMan
Thu Jun 03, 2010 2:29 am
Forum: Math & Science
Topic: How do I format text in listing?
Replies: 2
Views: 2429

How do I format text in listing?

Hi Medova,

I used

\usepackage{listings}
\usepackage{color}

\definecolor{offwhite}{rgb}{0.99,1,0.84}
\definecolor{lightgray}{gray}{0.6}
\definecolor{myred}{rgb}{0.9,0,0}
\definecolor{myblue}{rgb}{0,0,0.5}
\definecolor{mygreen}{rgb}{0,0.5,0}

\lstset{ %
language=sh, % choose the language of ...
by TritonMan
Wed Jun 02, 2010 12:26 pm
Forum: Graphics, Figures & Tables
Topic: Misplaced Appendix title and sidewaystable
Replies: 5
Views: 6962

Re: Misplaced Appendix title and sidewaystable

Sorry about that, was just an idea off the top of my head. Had a bit more of a think: what about putting the float inside a minipage environment? I think the floats get placed separately in that.
by TritonMan
Wed Jun 02, 2010 12:21 pm
Forum: General
Topic: Section heading style for References
Replies: 7
Views: 57498

Section heading style for References

Well, I just used a line like that in my thesis, which is based on the report class, and it compiles with no errors or warnings. I'm using the natbib package, which may define the \bibsection macro regardless of document class.

The line of code from my thesis is:

\renewcommand\bibsection{\chapter ...
by TritonMan
Tue Jun 01, 2010 7:38 pm
Forum: Graphics, Figures & Tables
Topic: Misplaced Appendix title and sidewaystable
Replies: 5
Views: 6962

Misplaced Appendix title and sidewaystable

The sidewaystable command always puts the rotated table on a new page, so, no matter how small you make it, it won't fit underneath your title :(

http://www.latex-community.org/forum/viewtopic.php?f=9&t=1146

However, you might be able to do something like:
\rotatebox{90}{table contents here}
to ...
by TritonMan
Tue Jun 01, 2010 7:29 pm
Forum: Fonts & Character Sets
Topic: Macro for typesetting the METAFONT logo in Latex?
Replies: 2
Views: 3900

Re: Macro for typesetting the METAFONT logo in Latex?

Brilliant, thanks! :D

My tex installation (tetex) already had the mflogo package installed, and so I just included it in the preamble and used the \MF{} macro in my text.
by TritonMan
Tue Jun 01, 2010 3:02 pm
Forum: Fonts & Character Sets
Topic: Macro for typesetting the METAFONT logo in Latex?
Replies: 2
Views: 3900

Macro for typesetting the METAFONT logo in Latex?

Does anyone know if there is a nice quick macro for typesetting the METAFONT logo text in Latex in a similar way to the \LaTeX macro? If not, I presume there is a special font to use. Does anyone know what that might be?

Thanks :)
by TritonMan
Tue Jun 01, 2010 2:04 am
Forum: General
Topic: Section heading style for References
Replies: 7
Views: 57498

Section heading style for References

I know this thread is old, but I think I have a more robust solution for anyone who
might still be trying to do this:

\renewcommand\bibsection{\subsection{\refname}}

You can replace \subsection with whatever section type you like, which will keep it nicely in line with the style of the rest of ...