LaTeX help

This is a discussion on LaTeX help within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hi all, I know latex isn't exactly programming, but maybe someone here can help. For some reason I cannot figure ...

  1. #1
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463

    LaTeX help

    Hi all,
    I know latex isn't exactly programming, but maybe someone here can help. For some reason I cannot figure out, my sections are being written in the table of contents as 0.1.0....0.2.0...etc. I have added a few non-numbered sections into the table of contents with
    Code:
    \addcontentsline{}
    I am using the section option when adding to the table of contents, and am otherwise only writing sections normally with
    Code:
    \section{}
    My report has no other types of structures, like \part or \chapter.

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Sections default to depth 2 (with chapters being 1). You should be able to change it with something like
    Code:
    \setcounter{tocdepth}{1}.
    Have a look at this:
    http://web.image.ufl.edu/help/latex/toc.shtml
    http://web.image.ufl.edu/help/latex/intext.shtml


    Oh, and LaTeX is a declaritive programming language, it's fair game

  3. #3
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    Thanks! I have tried that in several spots, including right before and after \tableofcontents , and before my first numbered section, but nothing has changed.

  4. #4
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    hmm, i've never actually written a paper that uses a ToC... if that doesn't work I'm out of ideas.

  5. #5
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,262
    Do you have much of it done? Would it take long to redo it? Just copy and paste redo so more or a 'redo' really. As you do each section keep on building the PDF and seeing if it's still broken.

    I found LaTeX quite frustrating when I used it this year, I'm quite happy with MS Word or some other such program. What OS are you using? And what program, out of a matter of interest.

  6. #6
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    I switched to LaTeX this year as well and I'll never go back. It's simply marvelous at formatting everying, placing figures and the top/bottom of pages, references, etc...

    I use "Kile" on linux and "TeXShop" on Mac.

  7. #7
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    I have tried the cut and paste redoing procedure which didn't work. I have also tried it in two different IDE's. I have tried kile on linux, and Texmaker w/ miktek on winxp. I really like the advantages of latex in terms of formatting big technical reports, but obviously I am running through some minor issues.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. LaTeX
    By master5001 in forum A Brief History of Cprogramming.com
    Replies: 49
    Last Post: 10-29-2008, 06:38 PM
  2. LaTeX Question: Displaying Text and Images
    By Reisswolf in forum Tech Board
    Replies: 0
    Last Post: 06-30-2006, 09:01 AM
  3. LaTeX Question
    By Reisswolf in forum Tech Board
    Replies: 2
    Last Post: 05-07-2006, 12:11 PM
  4. LaTeX: Accents in math mode
    By Sang-drax in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 04-20-2005, 10:37 AM
  5. LaTEX help....need LaTex guru advice
    By jodders in forum Tech Board
    Replies: 2
    Last Post: 03-13-2005, 02:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21