Search found 5 matches

by evans
Thu Jun 14, 2012 12:23 pm
Forum: Text Formatting
Topic: Special Characters in Argument of a new Command
Replies: 4
Views: 4844

Re: Special Characters in Argument of a new Command

Thank you so much Stefan. It works now.
Evans
by evans
Thu Jun 14, 2012 11:25 am
Forum: Text Formatting
Topic: Special Characters in Argument of a new Command
Replies: 4
Views: 4844

Special Characters in Argument of a new Command

Hi Stefan_K,
Thank you for the answer but it works fine like the way you said but i have the command in my customized class:
\def\currversion{April 17, 2012}
\typeout{LaTeX class for TEST alphabetical display of thesaurus terms.}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{testClass}
\LoadClass[12pt ...
by evans
Wed Jun 13, 2012 12:13 pm
Forum: Text Formatting
Topic: Special Characters in Argument of a new Command
Replies: 4
Views: 4844

Special Characters in Argument of a new Command

Hi friends,

I have a LaTeX class in which I define a new command as:
\newcommand{\bb}[1]{\textbf{\textcolor{red}{#1}}}
The command works fine with normal text without any formatting but when I try a text with special characters, like \bb{Al\'{e}s} I get this error:
!Missin } inserted
1.18 \bb{Al ...
by evans
Thu Apr 26, 2012 3:34 pm
Forum: Text Formatting
Topic: Margin shift in the middle of a page.
Replies: 3
Views: 3530

Margin shift in the middle of a page.

Thank you. But what I would want to do is to be able to produce something like a keyword in context display within a page. For Example:

For example I can have text here like on a normal page and then within the page I would like to have something like this(without the dots ...
by evans
Tue Apr 24, 2012 3:47 pm
Forum: Text Formatting
Topic: Margin shift in the middle of a page.
Replies: 3
Views: 3530

Margin shift in the middle of a page.

Hi,
Can anyone help me on this: Within the middle of a page I would like to move the left margin or the hoffset to the middle of the page and insert some text aligning it the way i want.
As in this example(but it doesnt work, just to explain the idea)

\documentclass{article}
\begin{document}
%some ...