1
vote
1answer
66 views

lstlisting: how to align highlighted code

I want to define a couple of new commands in order to highlight parts of my code (this is actually for a trace dump, not for a programming language). My problem is that I can't seem to make the ...
14
votes
1answer
145 views

Why does a color meant for the first typeset line *only* (with package magaz) affect the *entire* document?

I am trying to make a nice layout that gives a different style to the first line in a section using the package magaz. All examples I have seen feature some variation of small caps {\scshape text} or ...
0
votes
0answers
40 views

Automatic layout for some words [duplicate]

Possible Duplicate: How to highlight keywords? I'm building a presentation with some keywords. These keywords are somehow confusing (LL-parsing, LR-parsing,...). Therefore I was thinking to ...
0
votes
0answers
36 views

How can I use different font color for h1 h2 h3 in latex template [duplicate]

Possible Duplicate: Section and subsection colors using titlesec In latex template, what i need to do to display different font color for h1 h2 and h3 specificly?
6
votes
1answer
249 views

How to change text to bold when font does not support bold

I have a 100 page document, I used colored text many places to highlight with below command in my preamble \newcommand\bluetext[1]{\textcolor{blue}{#1}} its working great however did not realize at ...
4
votes
1answer
839 views

Change paragraph font and background color

I'm submitting a project that involves blocks of code. I figured a nice way to present it by be that paragraphs of code are black text on a light gray background, in courier font. I'm wondering if ...
6
votes
3answers
344 views

New paragraph style for newbie

This question may have already been asked, but with all of my searching, I couldn’t find it. I am new to LaTeX and after a few rough starts, I am finding my way. I am using this tool to create ...
1
vote
1answer
216 views

Different default color for each font in ConTeXt

Is there a way to specify the color along with the font name when using simplefonts? At the moment, I use the following to setup my default fonts. \usemodule[simplefonts] \setmainfont[Ubuntu] ...
8
votes
2answers
824 views

How to change color of some particular environment for entire document

I want to change color of particular environment in document. For example wherever I found verbatim environment or equation environment appears in my tex file. With some global settings, I want to ...
0
votes
1answer
395 views

Colored Small Caps [duplicate]

Possible Duplicate: Small Caps and Bold Face I'm trying to get some bold, colored, small-cap text. I've tried different variations, including: {\bf \textcolor{blue}{\textsc{text}}} and ...
12
votes
2answers
3k views

Conflict between color, graphicx and libertine

Compiling the following with pdflatex (TeXLive 2009/Debian on Ubuntu 10.04 "Lucid Lynx") \documentclass{article} \usepackage{ifpdf} \ifpdf \usepackage[T1]{fontenc} \usepackage{libertine} % ...
3
votes
3answers
500 views

Pale text in PDF viewer

I have some problems with output text color in Acrobat Reader. I have to send my work to other people and I can't change their viewers. Text looks like (in Russian): I'm using MikTeX 2.9 and ...
1
vote
1answer
2k views

change font color in a lstset

Hi I need put java code to latex. I use \lstset and \begin{lstlisting}. I need change color of font in SOME part of code. How I can do this? Help pls
14
votes
3answers
751 views

Can I change the font and colour of a letter permanently?

For my lectures, I like to colour the symbols in the equations to make it easier to follow what's going on - a bit like syntax highlighting. So all vector spaces are one colour, all sets another, e ...