Search found 37 matches

by yaozhao
Sun Oct 28, 2018 8:44 pm
Forum: TeXworks
Topic: How to center a cell among several columns?
Replies: 3
Views: 317

How to center a cell among several columns?

\begin{tabular}{l|ccc} & Year \\ \cline{2-4} City & 2006 & 2007 & 2008 \\ \hline London & 45789 & 46551 & 51298 \\ Berlin & 34549 & 32543 & 29870 \\ Paris & 49835 & 51009 & 51970 \\ \end{tabular} This is a practical practice from a tutorial. There...
by yaozhao
Sun Oct 28, 2018 8:28 pm
Forum: TeXworks
Topic: mistakes on typing |
Replies: 4
Views: 373

mistakes on typing |

The question is simple. I want to type |left|left|right|.

But the outcome after clicking on typesetting button is shown: —left— left —right

It's dash, rather than my desired |.

Many thanks in advance!
by yaozhao
Sun Oct 28, 2018 3:50 pm
Forum: TeXworks
Topic: Inquire about \vspace
Replies: 1
Views: 341

Inquire about \vspace

If you want to add blank space into your document use the \vspace{...} command. This will add blank vertical space of a height specified in typographical points (pt). For example, \vspace{12pt} will add space equivalent to the height of a 12pt font. 1. I can understand this command makes some space...
by yaozhao
Sun Oct 28, 2018 3:59 am
Forum: TeXworks
Topic: Inquire about Labelling
Replies: 2
Views: 300

Inquire about Labelling

I am reading a \LaTeX{} tutorial for beginners. It mentions "Labelling". Type \label{sec1} on a new line directly below \subsection{Stage 1} Type Referring to section \ref{sec1} on page \pageref{sec1} in the Results section. I can see the difference. But I can't understand what's unique in...
by yaozhao
Sun Oct 28, 2018 3:24 am
Forum: TeXworks
Topic: questions about .log, .gz, and .aux
Replies: 2
Views: 355

questions about .log, .gz, and .aux

Every time when I click on the Typeset button, the PDF file will be automatically saved in the same folder as the .tex file. But three other files also emerge, including .log, .gz, and .aux. It seems I never open and use these three files. So it's so annoying. What's the function of these three file...
by yaozhao
Sun Oct 28, 2018 2:55 am
Forum: TeXworks
Topic: what's the meaning of % !TEX?
Replies: 4
Views: 360

what's the meaning of % !TEX?

Hi Stefan,

Thank you for your reply. In the template article, I notice that some comments starting from %, while other comments starting from %%%.

Can you explain the difference?
by yaozhao
Sat Oct 27, 2018 10:45 pm
Forum: TeXworks
Topic: what's the meaning of % !TEX?
Replies: 4
Views: 360

what's the meaning of % !TEX?

  1. % !TEX TS-program = pdflatex
  2. % !TEX encoding = UTF-8 Unicode


These are the first two lines of "template article.tex". I know they are comments. Can someone explain them?

Many thanks in advance!

Go to advanced search