## mathslover 3 years ago How to use TexMarker?

1. anonymous

texmaker?

2. mathslover

I went to new and then typed \large{hi}

3. mathslover

Yes

4. mathslover

WHen I typed that, nothing happened

5. anonymous

what are you trying to do? i love my texmaker, best editor i have every used. well only the second but i do like it

6. anonymous

what did you put in the pre-amble? \large might require a package, i don't know

7. mathslover

8. mathslover

\hi will work?

9. mathslover

I mean to say how you type any LaTeX anything there?

10. anonymous

ok you need to call your document something

11. anonymous

hold on let me find an example

12. mathslover

k

13. anonymous

sorry i am so sloe, here

14. anonymous

you have to, at the very least, begin your document with \begin{document} and end with \end{document}

15. anonymous

the other stuff i is just crap i added to get rid of page numbering in so on you can also choose margins, and lots of other stuff

16. mathslover

When I clicked on the arrow for view as PDF , it shows Can't detect the file name

17. saifoo.khan

 ouch

18. anonymous

and you have to call it something

19. anonymous

you have to name it something and save it before you can view it

20. anonymous

then you can go to "tools" -> "quick build" and see the pdf on the right. if you do that, and then save, it should save the pdf as well as the texmaker file in whatever pdf viewer you use

21. anonymous

so you don't actually need to compile it to see it

22. mathslover

I made the section name now, now when I clicked on that arrow, it says"File not found"

23. mathslover

what I typed: \section{Hi} \begin{document} \frac{2}{x} \end{document}

24. anonymous

here open this and you can play around with it if you like

25. anonymous

all i ever do is go to "save as" give it a name, and then i can preview it

26. mathslover

27. mathslover

Not done

28. anonymous

ok try this open a new document type \documentclass[12pt]{article}

29. anonymous

then \begin{document}

30. anonymous

then something. for in line math you can use \(

31. anonymous

for equations you use $32. anonymous just like here then close with$ of course

33. anonymous

and end with \end{document}

34. anonymous

although texmaker should do that automatically for you if you hit "enter" when you get the prompt

35. anonymous

then save the tex file as something, and then try tools, quick build

36. mathslover

not working

37. hartnn

*

38. mathslover

39. hartnn

i tried to do same and failed, then i searched net to learn about this.......but satellites explanation is better, so bookmarked it.

40. mathslover

yes but it says thousands of error for me

41. mathslover

@blues can you help me?

42. mathslover

43. Zarkon

I occasionally get the same thing. I then press the PDFLatex arrow again and it usually clears it up. I assume you have miktex installed?

44. mathslover

Yes sir, I had just installed. It is showing texworks to me also.

45. mathslover

I typed : $\large{\frac{2}{x}}$ in texworks and then saved that as pdf .. but it is not opening... It says "the format is not of pdf"

46. mathslover

This is what I entered.

47. Zarkon

I don't use Texworks...I do use texmaker though

48. mathslover

This is the error.

49. mathslover

OK sir, should I try for texmarker again?

50. Zarkon

you can...but I'm not sure what your problem is...what the others have given you should work.

51. mathslover

OK sir, I am trying again ( earlier I didn't have miktex but now I have and I hope it will work)

52. mathslover

Sir, how to define the font size as normal size?

53. mathslover

I typed this : \begin{document} $\frac{2}{x}$ \end{document} in texworks .... it shows errors: the font size "normal size" is not defined.

54. mathslover

there is error in "begin document "and "end document"

55. Zarkon

what is the exact error?

56. mathslover

LaTeX Error: The font size command \normalsize is not defined:

57. mathslover

that is the "exact" error sir.

58. Zarkon

looking...

59. Zarkon

you can try using \usepackage{txfonts} But I don't know if it will fix it

60. Zarkon

you put it before \begin{document}

61. mathslover

 \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{a4paper} \usepackage[english]{label} \title{Kushashwa} \author{Kushashwa ravi shrimali} \date{02-10-2012} \usepackage{txfonts} \begin{document} \marktitle $\large{(a+b)^2=(a+b)(a+b)}$ $\large{\textbf{use distributive property now to multiply them}}$ $\large{a(a+b)+b(a+b)=a^2+ab+ba+b^2}$ $\large{(a+b)^2=a^2+2ab+b^2}$ \end{document}

62. mathslover

was it alright?

63. mathslover

I made it, yupppppppppi thanks a lot @Zarkon @satellite73 and others who helped.

64. hartnn

take a snap and post

65. mathslover

\documentclass[10pt,a4paper,landscape]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \author{Kushashwa Ravi Shrimali} \title{LaTeX try} \begin{document} \maketitle Hello there, today we are going to study about identities. \begin{Large} $(a+b)^2=a^2+2ab+b^2$ $(a-b)^2=a^2-2ab+b^2$ \end{Large} These are two , very easy equations / identities that will help us to understand these topics. \begin{Large} $(a+b)^2=(a+b)(a+b)$ \end{Large} Now, use the distributive property i.e a(b+c) = ab+ac. Tell me what you get after multiplying (a+b)(a+b) \end{document}

66. mathslover

@hartnn ..

67. hartnn

thanks :)

68. mathslover

:) My pleasure.... was it nice? lol , it was even boring

69. hartnn

i'll see it later, after i finish the questions i m on...

70. mathslover

Ok

71. UnkleRhaukus

*multiply

72. UnkleRhaukus

*\LaTeX