Search found 14 matches

by nunolf
Mon Oct 29, 2007 10:39 pm
Forum: General
Topic: Defining color font for the whole document
Replies: 2
Views: 15879

Defining color font for the whole document

Great!
xcolor seems to manage colors better than color.

And answering my question, it's trivial :oops:
Just have to define the color, and b4 starting the real stuff, call the new color.
Just for the record:


\documentclass[11pt,pdftex]{book}
\usepackage{xcolor}
\definecolor{bookColor}{cmyk}{0 ...
by nunolf
Mon Oct 29, 2007 9:57 pm
Forum: General
Topic: Defining color font for the whole document
Replies: 2
Views: 15879

Defining color font for the whole document

Hi guys

I want to produce a document (book) using a text font color different from black (I think is the default value), to say 90% gray.

Of course this is easily doable under latex! Can you guys point me to a good package for managing the colors? I read something about the color package, but got ...
by nunolf
Tue Sep 25, 2007 10:21 am
Forum: General
Topic: How to avoid overfull box due to lstinline?
Replies: 5
Views: 12741

How to avoid overfull box due to lstinline?

Hi

Have you tryed something like:

bla bla bla \lstinline[breaklines=true]!some source code! bla bla bla

By default, the line breaking is deactivated.

Cheers,
Nuno

P.S. Next time, please refer to which package belongs the command you're in trouble. Though its straightforward for some people ...
by nunolf
Wed Sep 19, 2007 1:00 pm
Forum: General
Topic: Text fontsize in document of class article
Replies: 3
Views: 2847

Text fontsize in document of class article

Hi there

You must have something (probably a package or a LaTeX command like \small) that resets the font size.

You could write the following in the preamble of your .tex file, and send us the list of packages being read by your compiler ...
by nunolf
Wed Sep 19, 2007 12:51 pm
Forum: General
Topic: listings - package caption below the list
Replies: 1
Views: 14007

listings - package caption below the list

Hi Samy

Play with the belowcaptionskip argument. By default its value is \smallskipamount.
Example:

Code: Select all

\lstinputlisting[ ... ,captionpos=b,caption=Bresenham-Algorithmus, belowcaptionskip=4pt]{listings/umsetzung/bresenham.txt}
Cheers,
N.
by nunolf
Mon Sep 10, 2007 11:54 am
Forum: General
Topic: Put footnotes at end of longtable
Replies: 7
Views: 21875

Re: logtable - footnotes

Hi medina(g)

I understood your idea. Put the footnotes on a separate minipage. That's a nice suggestion, but, you cannot pass the footnote marks written outside the minipage environment into it, can you?

At the end, with some tweaking on the latex stuff inside the minip env, your idea works just ...
by nunolf
Sat Sep 08, 2007 11:33 am
Forum: General
Topic: Put footnotes at end of longtable
Replies: 7
Views: 21875

Re: logtable - footnotes

Hi ghost(local)

As I said in the beginning of my post, for tables that do not cross pages, a minipage could be a solution. But for tables that do cross pages, thus the need for longtable, you cannot use the minipage concept, because it was designed within that scope.

At least, that's what I read ...
by nunolf
Fri Sep 07, 2007 11:54 am
Forum: General
Topic: Put footnotes at end of longtable
Replies: 7
Views: 21875

Put footnotes at end of longtable

Hi *

Goal: put the footnotes at the end of a longtable, NOT at the page end

Yes ,how know this is tricky question. I read all stuff I could find out on the net and on books I have here on the lab, but I can´t seem to put this working.

For small tables, there are a couple of ways to put footnotes ...
by nunolf
Wed Sep 05, 2007 10:37 am
Forum: General
Topic: verbatim - body + margin
Replies: 3
Views: 6375

verbatim - body + margin

Hi * & gmedina

Thanks for the reply.
Since I posted the question, I did try to solve the problem, and playing with \leftmargin and \rightmargin seems to be the path to follow.

Going to share some of my findings to help others. Here is a minimal example:


\documentclass{book}

% change the page ...
by nunolf
Thu Aug 30, 2007 4:25 pm
Forum: General
Topic: verbatim - body + margin
Replies: 3
Views: 6375

Re: verbatim - body + margin

Ups

Shoub be:
- odd pages: inner alignement is ok and verbatim uses the right margin if it needs
- even pages: outer alignement is not ok (does not use the margin space on the left)


Thanks
N.