Search found 50 matches

by casperyc
Sun Jan 12, 2020 3:21 am
Forum: Page Layout
Topic: How to achieve multiple “LastPage” in one document?
Replies: 6
Views: 9820

How to achieve multiple “LastPage” in one document?

I should have tried that to start with ... as simple as that ...

All sorted.

Thanks.
by casperyc
Sun Jan 12, 2020 2:59 am
Forum: Page Layout
Topic: How to achieve multiple “LastPage” in one document?
Replies: 6
Views: 9820

How to achieve multiple “LastPage” in one document?

hmmmmmm...

I have put it back into my "big" project and it still couldn't identify the currect last page for each of the input tex file. I have been tweaking the codes a bit with the original page number counter. And tring to identify where/what the problem is.

If in each of the tex files, I ...
by casperyc
Sun Jan 12, 2020 2:24 am
Forum: Page Layout
Topic: How to achieve multiple “LastPage” in one document?
Replies: 6
Views: 9820

How to achieve multiple “LastPage” in one document?

Thanks. It worked.

But not sure what the "problem" is, that I had to compile `pdflate` THREE times, to get the last `LastPage` correctly. If I only compile it twice, the last LastPage would only be ??.
by casperyc
Sun Jan 12, 2020 12:42 am
Forum: Page Layout
Topic: How to achieve multiple “LastPage” in one document?
Replies: 6
Views: 9820

How to achieve multiple “LastPage” in one document?

\documentclass{article}

\usepackage{fancyhdr}
\usepackage{lastpage}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot[C]{Page \thepage\ of \pageref{LastPage}}

\usepackage{kantlipsum}

\begin{document}

\kant

\setcounter{page}{1}
\kant[1-14]

\setcounter{page}{1}
\kant[1-22]

\setcounter{page}{1}
\kant[1 ...
by casperyc
Wed Aug 28, 2013 9:38 am
Forum: Graphics, Figures & Tables
Topic: Arrows across Table
Replies: 1
Views: 3150

Arrows across Table

As shown in the attached picture, is there a way to archive this?

\documentclass[12pt,a4paper]{article}
\usepackage{amsmath}
\usepackage{rotating}

\begin{document}
\begin{sidewaystable}
\[
\begin{array}{c|c|c|c|c|c|c|c|c|c|c}
& K=3 & K=4 & K=5 & K=6 & K=7 & K=8 & K=9 & K=10 & K=11 & K=12 ...
by casperyc
Fri Aug 16, 2013 7:06 pm
Forum: Text Formatting
Topic: How do use big brace in bmatrix?
Replies: 2
Views: 5675

How do use big brace in bmatrix?

\documentclass{article}
\usepackage{multirow,bigdelim}
\usepackage{blkarray}

\begin{document}



\[
\begin{blockarray}{[c]c}
p_2 & \rdelim\}{3}{0pt}[$K-1$]\\
\vdots \\
p_K \\
\tau_2 & \rdelim\}{3}{0pt}[$K-2$]\\
\vdots \\
\tau_{K-1} \\
-
\left\{
\mu
+
\sum\limits_{c=2}^C w_c\eta_c ...
by casperyc
Thu Aug 15, 2013 10:47 pm
Forum: Text Formatting
Topic: How do use big brace in bmatrix?
Replies: 2
Views: 5675

How do use big brace in bmatrix?

\[
\begin{bmatrix}
p_2 & \rdelim\}{3}{3ex}[$K-1$]\\
\vdots \\
p_K \\
\tau_2 & \rdelim\}{3}{3ex}[$K-2$]\\
\vdots \\
\tau_{K-1} \\
-
\left\{
\mu
+
\sum\limits_{c=2}^C w_c\eta_c
\right\} & \rdelim\}{1}{3ex}[$1$]\\
w_1 \mu^2
+
\sum\limits_{c=2}^C
w_c(\mu+\eta_c)^2 & \rdelim\}{3}{3ex ...
by casperyc
Thu Aug 15, 2013 4:52 am
Forum: Text Formatting
Topic: How do use big brace in bmatrix?
Replies: 2
Views: 5675

How do use big brace in bmatrix?

go.jpg
As shown in picture, that's what I want.

\[
\begin{bmatrix}
\phi \\
\tau_3 \\
\vdots \\
\tau_K \\
-
\left\{
\mu
+
\sum\limits_{c=2}^C w_c\eta_c
\right\} \\
w_1 \mu^2
+
\sum\limits_{c=2}^C
w_c(\mu+\eta_c)^2 \\
\vdots \\
w_1 \mu^{K-1}
+
\sum\limits_{c=2}^C
w_c(\mu+\eta_c ...
by casperyc
Tue Apr 10, 2012 10:37 pm
Forum: Graphics, Figures & Tables
Topic: Several Alignments in a Table
Replies: 0
Views: 1784

Several Alignments in a Table

Hi all,

I am trying to reproduce a table, as much as I can to keep the original format.
\documentclass[a4paper,10pt]{article}

\usepackage{amsmath,setspace}
\usepackage{threeparttable}
\usepackage{multirow}

\begin{document}

\begin{threeparttable}[!htb]
\centering
\begin{tabular}{ccccccc ...
by casperyc
Thu Mar 01, 2012 11:47 pm
Forum: Document Classes
Topic: poker | xkeyval Error: value '\pkr@shad' is not allowed
Replies: 4
Views: 5530

Re: poker | Several Errors

I am having the same problem.

and i don't know if this package has been recycled or not. since it does not come with MiKTeX any more and we have to install it manually.

It seems that this package need to be update to be compatible with PDFLaTeX as well.

Not working! A bit disappointed.