Generalequation labeling and calling

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
omkardpd
Posts: 86
Joined: Sun Feb 24, 2008 7:23 am

equation labeling and calling

Post by omkardpd »

Hi,

I have two issues. Can someone help me?

1. I have an equation labelled as "main integral" in a file "Main.tex". I want to call this equation with its label in another file that I am saving as "second.tex". This will help me in automatically updating number of this equation across the files. Is this possible in MikTex?

2. I am using \title command, but I don't want author, date etc. However even though I don't use \date, date is getting printed automatically. How do I remove this option?

Thank you,

Omkar

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

equation labeling and calling

Post by gmedina »

1. Yes, as long as the subsidiary file second.tex is included in the Main.tex file using either \input or \include.

2. Assuming you are using one of the standard document classes and the option \maketitle, then it is enough to add in the preamble

Code: Select all

\date{}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
omkardpd
Posts: 86
Joined: Sun Feb 24, 2008 7:23 am

Re: equation labeling and calling

Post by omkardpd »

Thank you for the reply. But I guess my second question was not clearly stated by me. I don't want displayed, but it is getting displayed somehow. I am using article as the document class. This is the code I am using, which is printing date on its own.


\documentclass [oneside, 10pt, a4paper, onecolumn, fleqn]{article}
\pagenumbering{arabic}
\usepackage{setspace}
\onehalfspace
\usepackage{array}
\setlength{\extrarowheight}{3mm}
\usepackage{geometry}
\geometry{left=25mm,right=25mm,top=25mm,bottom=25mm}
\usepackage{amsmath, amsthm, amssymb}


\begin{document}
\title{Appendix E}
\maketitle

text text text text......................

Regards,

Omkar
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: equation labeling and calling

Post by gmedina »

Your second question was clearly stated and it was also clearly answered. Did you even try my suggestion?
1,1,2,3,5,8,13,21,34,55,89,144,233,...
omkardpd
Posts: 86
Joined: Sun Feb 24, 2008 7:23 am

Re: equation labeling and calling

Post by omkardpd »

Sorry, my mistake. I got it now.

Thank you.
Post Reply