Search found 25 matches

by csmgroup
Wed Aug 04, 2010 4:42 am
Forum: General
Topic: parameter passing to \verb|| environment
Replies: 2
Views: 2046

Re: parameter passing to \verb|| environment

Thanks for the answer, I agree to use \texttt for this purpose.
by csmgroup
Wed Aug 04, 2010 2:29 am
Forum: General
Topic: Restore the footnote format for minipage
Replies: 3
Views: 3302

Restore the footnote format for minipage

Stefan answered this question here. The quick answer is

Code: Select all

\let\thempfootnote\thefootnote
by csmgroup
Tue Aug 03, 2010 10:58 pm
Forum: General
Topic: parameter passing to \verb|| environment
Replies: 2
Views: 2046

parameter passing to \verb|| environment

I happen to write the following code over and over again.


{\color{blue}\verb|>|} {\footnotesize\verb|HI|}


So, I came up with the following code to make it a command.


\newcommand{\result}[2]{%
{\color{#1}\verb|>|} {\footnotesize\verb|#2|}
}


The problem is that the result is not what I ...
by csmgroup
Tue Aug 03, 2010 7:02 pm
Forum: General
Topic: Writing a horizontal line in a minipage
Replies: 2
Views: 8791

Re: Writing a horizontal line in a minipage

\hrule works fine. Thanks.
by csmgroup
Tue Aug 03, 2010 5:13 pm
Forum: General
Topic: Writing a horizontal line in a minipage
Replies: 2
Views: 8791

Writing a horizontal line in a minipage

I need to draw a line inside a minipage.
I used \hline for the purpose, but I get the following error.


! Misplaced \noalign.
<recently read> \noalign

l.29 \vskip0.3em\hline
\vskip1em
?


What might be wrong? Or, is there other way to draw the line in a minipage?


\documentclass{article ...
by csmgroup
Tue Aug 03, 2010 3:36 pm
Forum: General
Topic: Restore the footnote format for minipage
Replies: 3
Views: 3302

Restore the footnote format for minipage

Thanks for the answer.

The \footnotetext{...} gives me the correct footnote content, but the number is not shown at the bottom, and even when I give the page number as \footnotetext[\thefootnote]{hello} the number is shown in alphabetical form. And even, it gives me the error message -


l.29 The ...
by csmgroup
Tue Aug 03, 2010 7:08 am
Forum: General
Topic: Restore the footnote format for minipage
Replies: 3
Views: 3302

Restore the footnote format for minipage

The Tufte handout class give a neat layout that shows the footnote at the right hand side not bottom line.

But, when I use the minipage with tufte-handout, and if the minipage has the footnote, the footnote is broken as the attached file.

Is there a way to correct this problem? Is there a way to ...
by csmgroup
Tue Aug 03, 2010 2:08 am
Forum: General
Topic: Implementing grayed rounding box
Replies: 2
Views: 4558

Re: Implementing grayed rounding box

Thanks a lot Juanjo, it works like a charm!
by csmgroup
Mon Aug 02, 2010 9:02 pm
Forum: General
Topic: Implementing grayed rounding box
Replies: 2
Views: 4558

Implementing grayed rounding box

I'm trying to make a grayboxed environment/command as is attached.

I used tikz for round box, and minipage/verbatim to be used inside the graybox.

I came up with the following command, but it doesn't work. The verbatim inside the minipage doesn't compile.

\newcommand{\graybox}[1]{%
\noindent ...