[LATEX] broncode
Moderators: ArcherBarry, Fuzzwood
- Berichten: 135
[LATEX] broncode
hallo mensen ik heb een latex code in de header zeg maar. als je de code compilet krijg je het volgende te zien:
Hoofdstuk 1
Introductie.
maaaaarrrr. ik wil eigenlijk dit krijgen:
1 Introductie
hoe kan ik dat aanpassen in de code?
code:
documentclass[11pt]{book}
usepackage{graphicx}
usepackage{color}
usepackage[dutch]{babel}
%----> NEW COMMANDS -------
newcommand{degree}{ensuremath{^circ}}
%---> Important: To left yor caption for figures and tables ----
makeatletter
longdef@makecaption#1#2{%
vskipabovecaptionskip
sbox@tempboxa{#1: #2}%
ifdim wd@tempboxa >hsize
#1: #2par
else
global @minipagefalse
hb@xt@hsize{box@tempboxahfil}%
fi
vskipbelowcaptionskip}
makeatother
%-----> End of the code ---
%-----START REPORT-----
begin{document}
Dank U
Hoofdstuk 1
Introductie.
maaaaarrrr. ik wil eigenlijk dit krijgen:
1 Introductie
hoe kan ik dat aanpassen in de code?
code:
documentclass[11pt]{book}
usepackage{graphicx}
usepackage{color}
usepackage[dutch]{babel}
%----> NEW COMMANDS -------
newcommand{degree}{ensuremath{^circ}}
%---> Important: To left yor caption for figures and tables ----
makeatletter
longdef@makecaption#1#2{%
vskipabovecaptionskip
sbox@tempboxa{#1: #2}%
ifdim wd@tempboxa >hsize
#1: #2par
else
global @minipagefalse
hb@xt@hsize{box@tempboxahfil}%
fi
vskipbelowcaptionskip}
makeatother
%-----> End of the code ---
%-----START REPORT-----
begin{document}
Dank U
- Berichten: 24.578
Re: [LATEX] broncode
Hoe kan er "introductie" verschijnen als je nergens in je code iets als "chapter{Introductie}" hebt?!
"Malgré moi, l'infini me tourmente." (Alfred de Musset)
- Berichten: 4.810
Re: [LATEX] broncode
Volgens mij is dat enkel de opmaak code, en niet de inhoud. Maar ik ken ook (nog) niks van latex als het op opmaak aankomt
- Berichten: 24.578
Re: [LATEX] broncode
Ja, tuurlijk - ik had er niet opgelet dat de laatste regel "begin{document}" was.
"Malgré moi, l'infini me tourmente." (Alfred de Musset)
- Berichten: 7.224
Re: [LATEX] broncode
Code: Selecteer alles
makeatletter
renewcommandchapter{@startsection
{chapter}{0}{0mm}% % name, level, indent
{-baselineskip}% % before skip
{0.5baselineskip}% % afterskip
{newpageHugebfseries}}% % style
makeatother
If I have seen further it is by standing on the shoulders of giants.-- Isaac Newton
- Berichten: 135
Re: [LATEX] broncode
Hello mensen,
Yeah Bart dat is precies wat ik zocht, kostte me altijd een paar punten omdat Intro of Hoofdstuk bij staat...
TNX
Yeah Bart dat is precies wat ik zocht, kostte me altijd een paar punten omdat Intro of Hoofdstuk bij staat...
TNX
- Berichten: 135
Re: [LATEX] broncode
Oh ja ik had nog een vraagje... ik gebruik nu mitex 2.5 met LED (latex editor) maar is er een progje dat als je typt comipled en direct ernaast kunt zien ipv externe window???
"...the relativity theory, by the way, is much older than its present proponents. It was advanced over 200 years ago by my illustrious countryman Ruđer Boković, the great philosopher, who, not withstanding other and multifold obligations, wrote a thousand volumes of excellent literature"
by Nikola Tesla (10 July 1856 7 January 1943)
by Nikola Tesla (10 July 1856 7 January 1943)