Search found 9 matches

by Tie
Sun Jan 17, 2010 5:41 pm
Forum: Text Formatting
Topic: center several lines in verbatim
Replies: 1
Views: 2422

center several lines in verbatim

Hello all,

I just have several lines in verbatim:

\begin{verbatim}
line 1 ...
___line 2 ...
______line 3 ...
\end{verbatim}

I would like to center all the 3 lines together without deleting the spaces in front of line 2 and 3. It seems that \center, \centerline, \certering do not work here.

Does ...
by Tie
Wed Dec 30, 2009 12:54 am
Forum: Text Formatting
Topic: center a text in verbatim
Replies: 4
Views: 15649

Re: center a text in verbatim

Your solution works very well, thank you very much, Stefan!
by Tie
Tue Dec 29, 2009 1:40 am
Forum: Text Formatting
Topic: center a text in verbatim
Replies: 4
Views: 15649

center a text in verbatim

Hello all,

I just have one line in verbatim:

\begin{verbatim}
the line
\end{verbatim}

And i would like to center it. It seems that \center, \centerline do not work here. I do not want to use minipage because the length of the line could change.

By the way, the reason why i insist to envelop a ...
by Tie
Tue Dec 29, 2009 1:18 am
Forum: Graphics, Figures & Tables
Topic: how to keep the order "text -> table -> text"?
Replies: 2
Views: 10521

Re: how to keep the order "text -> table -> text"?

This is exactly what i want!

Thank you very much!

Tie CHENG
by Tie
Mon Dec 28, 2009 11:52 pm
Forum: Graphics, Figures & Tables
Topic: how to keep the order "text -> table -> text"?
Replies: 2
Views: 10521

how to keep the order "text -> table -> text"?

Hello all,

I have written something like that:

"some texts before the table"
\begin{table}
...
\end{table}
"some texts after the table"

As the table is floating and not small, Latex shows the order like this:

"some texts before the table"
"some texts after the table"
the table on the next page ...
by Tie
Wed Dec 23, 2009 10:48 pm
Forum: BibTeX, biblatex and biber
Topic: BibTEX and references by hand
Replies: 1
Views: 1886

BibTEX and references by hand

Hello all,

I would like to build my references list from 2 parts:

1) BibTEX
2) typesetting the references by hand: \begin{thebibliography}{} ... \bibitem ... \\end{thebibliography}{}

So naturally that results in 2 "References" appear on my paper, but i only want to keep one. Does anyone know how ...
by Tie
Tue Dec 22, 2009 11:43 pm
Forum: General
Topic: tabbing or font size
Replies: 3
Views: 2842

tabbing or font size

Got it, we need to set lstset

keepspaces=true,


Regards

Tie CHENG
by Tie
Tue Dec 22, 2009 8:04 pm
Forum: General
Topic: tabbing or font size
Replies: 3
Views: 2842

Re: tabbing or font size

Hi localghost,

Thanks very much for your code!

I have already made your code run inside my code, and i see the interest of using listings. However, the "intend" does not work 100% yet.

When I set "showspaces=true, tabsize=1", the printed output is exactly intended as my code, which is good ...
by Tie
Tue Dec 22, 2009 4:19 pm
Forum: General
Topic: tabbing or font size
Replies: 3
Views: 2842

tabbing or font size

Hello all,

This question puzzles me a lot... I am trying to print something like that with indents on the left:

=INDEX(List,
.......SMALL(IF(MATCH(List,List,0)
..................=ROW(INDIRECT(”1:”&ROWS(List))),
................MATCH(List,List,0),
................””),
.......ROW(INDIRECT(”1:”&SUM ...