GeneralLatex \Input question

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
eraser023
Posts: 3
Joined: Tue Jul 22, 2008 4:00 pm

Latex \Input question

Post by eraser023 »

I just have a question on the data input command listed here:

{\centering \bf {TEST 3}\\*}
\input{../R11/TestFolder/sampleData-20090915.tex}

this command works if the input data is up one folder. What should I do if the input data is present up three folders?

The Data file is located in:
20080915test09/R11/TestFolder/sampleData-20090915.tex

My latex script is located in:
20080915test09\Report\11\ZoneA\Master.tex

the command -- \input{../R11/TestFolder/sampleData-20090915.tex} works if the Master.tex file is located in 20080915test09\Report. Please let me know what I should use if the Master.tex file is located in the 20080915test09\Report\11\ZoneA.

Thank you in advance.

Recommended reading 2024:

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

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

Elpoca
Posts: 3
Joined: Thu Oct 09, 2008 11:48 pm

Re: Latex \Input question

Post by Elpoca »

Doesn't \input{../../../R11/TestFolder/sampleData-20090915.tex} work?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Latex \Input question

Post by Stefan Kottwitz »

Hi,

I would use Elpoca's syntax too. Just one other comment: \bf is an obsolete LaTeX2.09 command, like \rm, \sf, \it, ... it's just defined by certain class files because of compatibility reasons. With LaTeX2e use \bfseries instead.

Stefan
LaTeX.org admin
Post Reply