Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use Texmaker and I keep getting this error:

! You can't use `macro parameter character #' in horizontal mode.

However I can force compile it using cmdline as pdflatex foo.tex.

Any idea what the error could be?

\documentclass[a4paper,12pt]{article} 
\usepackage[paper=a4paper,left=30mm,right=20mm,top=25mm,bottom=30mm]{geometry}
\usepackage[pdftex]{graphicx}
\usepackage[toc,page]{appendix}
\usepackage{framed}
\usepackage[toc]{glossaries}
\usepackage{hyperref}
\usepackage{setspace}
\usepackage{mathtools}
\usepackage{amsmath}
\usepackage{algorithm2e}
\usepackage{algorithmic}
\usepackage{underscore}
\begin{document}
{\large Thesis Advisory Committee}
       random text
\end{document}

It says the error is near {\large }.

I use this in the BiBTeX file:

@misc{ten,
    author = {pable, Chandandeep Singh },
    title = {Completely Fair Scheduler},
    howpublished = "\url{http://www.linuxjournal.com/magazine/completely-fair-scheduler}",
    year = {2009},
    note = "{Online, accessed 25-01-2013}"
}
share|improve this question

closed as too localized by Martin Schröder, Kurt, lockstep, Claudio Fiandrino, zeroth Feb 28 '13 at 13:13

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to TeX.sx! –  texenthusiast Feb 27 '13 at 23:37
1  
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  tohecz Feb 27 '13 at 23:37
1  
I think this has to do with a faulty .aux file from a previous run, since that is read around there. Delete that and recompile. –  Werner Feb 27 '13 at 23:45
1  
@user2015933: What BiBTeX file? –  Werner Feb 28 '13 at 0:00
3  
@user2015933 your MWE doesn't have a bibtex file but you say you ran bibtex? –  David Carlisle Feb 28 '13 at 0:24
show 12 more comments