Search found 25 matches
- 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.
- 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
- 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 ...
{\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 ...
- 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.
- 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 ...
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 ...
- 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 ...
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 ...
- 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 ...
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 ...
- 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!
- 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 ...
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 ...
- Sun Aug 01, 2010 8:30 pm
- Forum: General
- Topic: Making a new environment based on the listing environment
- Replies: 2
- Views: 3806
Re: Making a new environment based on the listing environmen
Thanks for the answer.