Darío | 23 May 19:41
Picon

Reference in a Appendix

Hi list, i need reference some equations and tables in the appendix,
the way they need is, for example:
"equation" (A.1)
"table" (A.1)
because i get
"equation" (4.1)
"table" (4.1)
i don't use command \appendix, only \section{Apéndice}, and the
equations and tables its labels are
\label{ec:ondas}
\numberwithin{equation}{section}

\label{tab:tension}
\numberwithin{table}{section}

Thanks all!

--

-- 
Darío
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
Por favor, no utilice formatos de archivo propietarios para el intercambio
de documentos, como ser DOC, XLS, BMP, PPT, RAR, MP3, DWG,
MOV, FLV, WMV, etc.  sino  ODT, ODS, DJVU, PDF, TXT,
CSV, PNG, FLAC, OGV, GZ o cualquier otro que no obligue a utilizar
un programa de un fabricante concreto.
Info: http://www.gnu.org/philosophy/no-word-attachments.es.html
       http://www.vaslibre.org.ve/publicaciones/odfvsooxml-es.pdf
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
 ,              ,
/                \
(Continue reading)

Mohamed HOUSSNI | 23 May 17:51

typesetting in LaTeX

Dear list,

Thank you Karl : now I attached a slight PDF to this message.

Please I'm trying de find a LaTeX style to typeset words and numbers 
like the PDF model attached to this message. Can some body help me out.

Thanks a lot,
Houssni

texhax-owner <at> tug.org a écrit :

>Your request to the texhax mailing list
>
>    Posting of your message titled "typesetting in LaTeX"
>
>has been rejected by the list moderator.  The moderator gave the
>following reason for rejecting your request:
>
>"Hello Mohamed - I'm sorry, but a 2-megabyte attachment is too big for
>this list.  Can you put it somewhere on the web and resend the message
>with just a url to it, please?
>
>Best, karl <at> tug.org "
>
>Any questions or comments should be directed to the list administrator
>at:
>
>    texhax-owner <at> tug.org
>  
(Continue reading)

Victor Ivrii | 21 May 14:13
Picon
Gravatar

beamer vs \tag*{\ref*}

The example below does not work in {beamer} but works in {article} (if
removed \begin{frame} and \end{frame} and load hyperref and ams math.

Also it works in beamer if

\tag*{$(\ref*{eq-1})^*$}\label{eq-1-*}

is replaced by
\tag*{$(1)^*$}\label{eq-1-*}

\documentclass{beamer}
\usepackage[english]{babel}

\begin{document}
\begin{frame}
\begin{equation}
1+1=2
\label{eq-1}
\end{equation}

\begin{equation}
1+2=3
\tag*{$(\ref*{eq-1})^*$}\label{eq-1-*}
%\tag*{$(1)^*$}\label{eq-1-*}
\end{equation}

\end{frame}
\end{document}

Victor
(Continue reading)

Darío | 20 May 22:33
Picon

Reset numbers of table

Hi list, i have a problem with a number of reference of a table, i
insert this table in a Apenddix (manually, without \appendix command)
but the number of reference in the first table is 4.0.1 and the nexts
is 4.2 y 4.3, i need wich the first table is 4.1 i use
My appendix is simply
\section{Apéndice} %not use \appendix
\begin{table}[h]
\begin{center}
\caption{\small{Longitudes de onda para los primeros cinco modos normales.}}
\begin{tabular}{| c | c | c |}
\hline
 Modo & $\overline{\lambda_n} [m]$ & ${1/\overline{\lambda_n}}[m^{-1}]$\\
\hline	
1& 2,140 &0,467\\
\hline
2& 1,070&0,935\\
\hline
3& 0,713&1,401\\
\hline
4& 0,535 &1.869\\
\hline
5& 0,428 &2,33\\
\hline
\end{tabular}
\label{longitud_onda}
\numberwithin{table}{section} % SEE, NOT IS subsection and behaves as subsection
\end{center}
\end{table}

Thanks
(Continue reading)

wenhuo hu | 20 May 17:05
Picon

Re: Numbering Author-Year Bibliography

Hi Ruan, 


Sorry for not checking what you said in the first email carefully. 

I think it really takes time to change the .sty file, either the plainnat.sty or plain.sty. There is a easy way to cheat with this. You can open the a.bbl file, add the numbers manually after you run bibtex a.aux. 

Let me know by which way you figure out. Thanks.


Wen

On Sun, May 20, 2012 at 10:35 AM, 阮铮 <rz1991 <at> foxmail.com> wrote:
Hi Wenhuo Hu,

I referred to many of the internal bibliography style before I post my question to the mailing list. Unfortunately, none of the style fit my condition. I checked your attachment but that is not what I need.
As I put in my first email, I want to maintain the author-year citing style in my main context and only number each literature entry. Maybe the following output it what I desired:

In this example, I will cite two articles. They are [R.M., 1990] and [W. and W., 1995]

References
[1] Schneider T.D.and Stephens R.M. Sequence Logos: A New Way to Display
Consensus Sequences. Nucleic Acids Res., 18:6097–6100, 1990.
[2] Yu W. and Schuster W. Evidence for a site-specific cytidine deamination reac-
tion involved in c to u rna editing of plant mitochondria. J. Biol. Chem., 270
(31):18227–18233, August 1995.

I will try to modify the plain.sty file but I cannot guarantee I will success. If you have any suggestions it will be very kind of you to tell me. Thanks very much.

Ruan Zheng

------------------ Original ------------------
From:  "wenhuo hu"<huwenhuo <at> gmail.com>;
Date:  Sun, May 20, 2012 10:12 PM
To:  "阮铮"<rz1991 <at> foxmail.com>;
Cc:  "texhax"<texhax <at> tug.org>;
Subject:  Re: [texhax] Numbering Author-Year Bibliography

Hi Ruan,

the numbers of reference is determined by the bibliographystyle which you used plainnat here. Please check this:

there are quite a few ways you can choose beside plainnat, try plain to see the difference from the plainnat. I attached the effect use plain. 

if there is really no style fit for you. Then find the plain.sty file, change the content and put under the same directory. I personally never try. So I do not have experience for this way. 

Good luck.

Wenhuo

On Sun, May 20, 2012 at 7:55 AM, 阮铮 <rz1991 <at> foxmail.com> wrote:
Hi texhax group,

I am using latex to write my undergraduate thesis and the bibliography format requirement of our school really annoyed me. I hope someone in this group could help me out.

I set up a wee example here for suggestions.
There are two files. One is the main content and another is bibliography database file.

main.tex file:

\documentclass{article}
\usepackage{natbib}
\begin{document}
In this example, I will cite two articles.
They are \citep{schneider1990} and \citep{yu1995}
\bibliography{tex}
\bibliographystyle{plainnat}
\end{document}

tex.bib file:

<at> article{schneider1990,
author = "Schneider T.D.and Stephens R.M.",
title = "{Sequence Logos: A New Way to
 Display Consensus Sequences}",
journal = "Nucleic Acids Res.",
volume = 18,
pages = "6097--6100",
year = 1990
}
<at> article{yu1995,
author = "Yu W. and Schuster W.",
title = "Evidence for a site-specific
 cytidine deamination reaction involved
 in C to U RNA editing of plant
 mitochondria.",
journal = "J. Biol. Chem.",
volume = 270,
number = 31,
pages = "18227--18233",
month = Aug,
year = 1995
}

Just put the two files above in the same directory and employ pdflatex to compile it. You should see the output.

The reference output is like this:

References
Schneider T.D.and Stephens R.M. Sequence Logos: A New Way to Display
Consensus Sequences. Nucleic Acids Res., 18:6097–6100, 1990.
Yu W. and Schuster W. Evidence for a site-specific cytidine deamination reac-
tion involved in c to u rna editing of plant mitochondria. J. Biol. Chem., 270
(31):18227–18233, August 1995.


My problem is how to number each bibliography entry. According to the thesis format requirement of our university, I need to number the two literature without affecting the citing style, ie (author, year) in my content. The desired output is something like this:

References
[1] Schneider T.D.and Stephens R.M. Sequence Logos: A New Way to Display
Consensus Sequences. Nucleic Acids Res., 18:6097–6100, 1990.
[2] Yu W. and Schuster W. Evidence for a site-specific cytidine deamination reac-
tion involved in c to u rna editing of plant mitochondria. J. Biol. Chem., 270
(31):18227–18233, August 1995.

I know this counting is meaningless, but I have to conform it. Can anyone give me a hand?

Many Thanks!!

Ruan Zheng

_______________________________________________
TeX FAQ: http://www.tex.ac.uk/faq
Mailing list archives: http://tug.org/pipermail/texhax/
More links: http://tug.org/begin.html

Automated subscription management: http://tug.org/mailman/listinfo/texhax
Human mailing list managers: postmaster <at> tug.org



--

               
Wenhuo Hu
Park lab

Memorial Sloan Kettering Cancer Center
Zuckerman Research Building
408 East 69th Street
Room ZRC-527
New York, NY 10065
Phone 646-888-3220
huw <at> mskcc.org



--

               
Wenhuo Hu
Park lab

Memorial Sloan Kettering Cancer Center
Zuckerman Research Building
408 East 69th Street
Room ZRC-527
New York, NY 10065
Phone 646-888-3220
huw <at> mskcc.org
Attachment (a.pdf): application/pdf, 42 KiB
阮铮 | 20 May 13:55
Favicon

Numbering Author-Year Bibliography

Hi texhax group,

I am using latex to write my undergraduate thesis and the bibliography format requirement of our school really annoyed me. I hope someone in this group could help me out.

I set up a wee example here for suggestions.
There are two files. One is the main content and another is bibliography database file.

main.tex file:

\documentclass{article}
\usepackage{natbib}
\begin{document}
In this example, I will cite two articles.
They are \citep{schneider1990} and \citep{yu1995}
\bibliography{tex}
\bibliographystyle{plainnat}
\end{document}

tex.bib file:

<at> article{schneider1990,
author = "Schneider T.D.and Stephens R.M.",
title = "{Sequence Logos: A New Way to
 Display Consensus Sequences}",
journal = "Nucleic Acids Res.",
volume = 18,
pages = "6097--6100",
year = 1990
}
<at> article{yu1995,
author = "Yu W. and Schuster W.",
title = "Evidence for a site-specific
 cytidine deamination reaction involved
 in C to U RNA editing of plant
 mitochondria.",
journal = "J. Biol. Chem.",
volume = 270,
number = 31,
pages = "18227--18233",
month = Aug,
year = 1995
}

Just put the two files above in the same directory and employ pdflatex to compile it. You should see the output.

The reference output is like this:

References
Schneider T.D.and Stephens R.M. Sequence Logos: A New Way to Display
Consensus Sequences. Nucleic Acids Res., 18:6097–6100, 1990.
Yu W. and Schuster W. Evidence for a site-specific cytidine deamination reac-
tion involved in c to u rna editing of plant mitochondria. J. Biol. Chem., 270
(31):18227–18233, August 1995.


My problem is how to number each bibliography entry. According to the thesis format requirement of our university, I need to number the two literature without affecting the citing style, ie (author, year) in my content. The desired output is something like this:

References
[1] Schneider T.D.and Stephens R.M. Sequence Logos: A New Way to Display
Consensus Sequences. Nucleic Acids Res., 18:6097–6100, 1990.
[2] Yu W. and Schuster W. Evidence for a site-specific cytidine deamination reac-
tion involved in c to u rna editing of plant mitochondria. J. Biol. Chem., 270
(31):18227–18233, August 1995.

I know this counting is meaningless, but I have to conform it. Can anyone give me a hand?

Many Thanks!!

Ruan Zheng
阮铮 | 20 May 13:53
Favicon

Re: texhax Digest, Vol 2012, Issue 125

Hi texhax group,

I am using latex to write my undergraduate thesis and the bibliography format requirement of our school really annoyed me. I hope someone in this group could help me out.

I set up a wee example here for suggestions.
There are two files. One is the main content and another is bibliography database file.

main.tex file:

\documentclass{article}
\usepackage{natbib}
\begin{document}
In this example, I will cite two articles.
They are \citep{schneider1990} and \citep{yu1995}
\bibliography{tex}
\bibliographystyle{plainnat}
\end{document}

tex.bib file:

<at> article{schneider1990,
author = "Schneider T.D.and Stephens R.M.",
title = "{Sequence Logos: A New Way to 
 Display Consensus Sequences}",
journal = "Nucleic Acids Res.",
volume = 18,
pages = "6097--6100",
year = 1990
}
<at> article{yu1995,
author = "Yu W. and Schuster W.",
title = "Evidence for a site-specific 
 cytidine deamination reaction involved 
 in C to U RNA editing of plant 
 mitochondria.",
journal = "J. Biol. Chem.",
volume = 270,
number = 31,
pages = "18227--18233",
month = Aug,
year = 1995
}

Just put the two files above in the same directory and employ pdflatex to compile it. You should see the output. 

The reference output is like this:

References
Schneider T.D.and Stephens R.M. Sequence Logos: A New Way to Display
Consensus Sequences. Nucleic Acids Res., 18:6097–6100, 1990.
Yu W. and Schuster W. Evidence for a site-specific cytidine deamination reac-
tion involved in c to u rna editing of plant mitochondria. J. Biol. Chem., 270
(31):18227–18233, August 1995.


My problem is how to number each bibliography entry. According to the thesis format requirement of our university, I need to number the two literature without affecting the citing style, ie (author, year) in my content. The desired output is something like this:

References
[1] Schneider T.D.and Stephens R.M. Sequence Logos: A New Way to Display
Consensus Sequences. Nucleic Acids Res., 18:6097–6100, 1990.
[2] Yu W. and Schuster W. Evidence for a site-specific cytidine deamination reac-
tion involved in c to u rna editing of plant mitochondria. J. Biol. Chem., 270
(31):18227–18233, August 1995.

I know this counting is meaningless, but I have to conform it. Can anyone give me a hand?

Many Thanks!!

Ruan Zheng
Darío | 18 May 12:47
Picon

Insert numbers of figures on environment Beamer

Hi list, i am doing a presentation using Beamer, and the problem i
have it when i put the numbers of figures, i uses:

\documentclass{beamer}
\usepackage[spanish,activeacute]{babel} % acentos comunes
\usepackage[utf8]{inputenc} %si se usa Windows cambiar utf8 por latin1
\usepackage{fancyhdr}
\usepackage{upgreek}
\usepackage{times}
\usepackage{gensymb}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage[intlimits]{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{float}
\usepackage{capt-of}
\usepackage{captdef}
\usepackage{hyperref}
\usetheme{Goettingen}

\begin{document}
\maketitle

% for example
\begin{frame}

\begin{center}
\frametitle{Campana de resonancia}
{\includegraphics[width=50mm,height=20mm]{/media/datos/Laboratorio2/ultrasonido/espectro_sonoro}}
\captionof{figure}{\small{Espectro sonoro}}
\label{espectro}
\end{center}

\end{frame}

when i compile does not appear for example "Figure n: Espectro sonoro"
This is my first use in this environment, but in
\documentclass{article} and the numbers on figures working perfectly.

Thanks all

-- 
Darío
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
Por favor, no utilice formatos de archivo propietarios para el intercambio
de documentos, como ser DOC, XLS, BMP, PPT, RAR, MP3, DWG,
MOV, FLV, WMV, etc.  sino  ODT, ODS, DJVU, PDF, TXT,
CSV, PNG, FLAC, OGV, GZ o cualquier otro que no obligue a utilizar
un programa de un fabricante concreto.
Info: http://www.gnu.org/philosophy/no-word-attachments.es.html
       http://www.vaslibre.org.ve/publicaciones/odfvsooxml-es.pdf
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
 ,              ,
/                \
((__-^^-,-^^-__))
 `-_---' `---_-'
  `--|o` 'o|--'
     \  `  /
      ): :(
     :o_o:
       "-"

Michael Barr | 11 May 21:06
Picon
Favicon

Problem with number within

If you compile the following sample
\documentclass{article}
\begin{document}
\section{one}
  \subsubsection{A subsubsection}
\section{two}
  \subsubsection{A subsubsection}
\end{document}

you will see that the first subsubsection is correctly named 1.0.1, but 
the second is called 2.0.2 instead of the expected 2.0.1.  Now I don't 
know why one would want a subsubsection with no subsection, but one of the 
contributors to the online journal whose class files I maintain did and is 
now complaining about this bug.  It clearly comes from the line
\newcounter {subsubsection}[subsection]

Michael Barr

--

-- 
The United States has the best congress money can buy.
TUG office | 10 May 03:38
Picon
Favicon

TUG 2012: July 16-18, 2012 -- Boston, MA USA

Dear TeX enthusiast,

As a reminder, TUG 2012: July 16-18, 2012.

The 33rd Annual Meeting of the TeX Users Group and
concurrent introductory LaTeX workshop on July 16.

Omni Parker House, 60 School Street
Boston, Massachusetts 02108  USA

The deadline for presentation proposals has been extended to
May 21, 2012. More talks are welcome.

Please see: http://tug.org/tug2012/ for more details.

We hope to see you in Boston this summer!

Sincerely,

Robin Laakso
TUG office (for the conference committee)
-------------------------------------
TeX Users Group
PO Box 2311
Portland OR 97208-2311
USA

Phone: +1 503 223 9994
Fax: +1 206 203 3960
Email: office <at> tug.org
Internet:www.tug.org
-------------------------------------
Thomas Schneider | 8 May 19:25
Picon

(no subject)

Bcc: 
Subject: Re: [texhax] creating pdf where you can copy and paste
Reply-To: 
In-Reply-To: <39CC7012-613E-47CF-A9E7-64D36C3A522A <at> frycomm.com>

> > I'm creating pdfs with latex -> dvips -> ps2pdf. The resulting pdf is does not
> > lend itself to copy and paste in adobe reader, so I am getting complaints
> > downstream. Is it possible to produce pdfs where copy and paste are possible?
> 
> Yes. You'll need to use either pdflatex or xelatex (or lualatex) for
> best results as I understand it.

I get copy/pastable PDFs in Acrobat 8.3.1 (professional) and Adobe
Reader 9.5.1 by the latex -> dvips -> ps2pdf route.  I just checked. 
I downloaded the latest Adobe Reader 10.1.3 (Mac OS X) and it worked
for cut/paste too.  I've never seen a problem with cut/paste.

Tom

  Thomas D. Schneider, Ph.D.
  Senior Investigator
  National Institutes of Health
  National Cancer Institute
  Gene Regulation and Chromosome Biology Laboratory
  Molecular Information Theory Group
  Frederick, Maryland  21702-1201
  http://alum.mit.edu/www/toms (permanent)

Gmane