3

I'm very interested make a fancy exam at LaTeX? , You can see this example like this :

fancy equation

But, i don't know How to start it ? Can you explain How to make it ? or What is the package at LaTeX ?

grames
  • 785
Hirwanto
  • 1,335
  • 13
  • 21
  • 2
    The exam package is used for making exams. The header and graphics are probably put in using other packages. – DJP Jun 27 '14 at 01:16
  • 1
    Or the (arguably more powerful) exsheets package. – Sean Allred Jun 27 '14 at 01:31
  • Just remember, packages are supposed to make things easier, not harder. Eventually you will want to do something the package can't handle. The only thing difficult about the above are the graphics and $\displaystyle \frac...$ – John Kormylo Jun 27 '14 at 02:45
  • 1
    Your question leaves all the effort to our community, even typing the essentials of a TeX document such as \documentclass{}...\begin{document} etc. As it is, most of our users will be very reluctant to touch your question, and you are left to the mercy of our procrastination team who are very few in number and very picky about selecting questions. You can improve your question by adding a minimal working example (MWE) that more users can copy/paste onto their systems to work on. If no hero takes the challenge we might have to close your question. – nnunes Jun 28 '14 at 11:25

3 Answers3

5

A start for the "fancy" part with package bclogo:

MWE

\documentclass{scrartcl} 
\usepackage{enumitem,amstext,textcomp} 
\usepackage[tikz]{bclogo}
\usetikzlibrary{shapes,snakes}
\usetikzlibrary{shadows}
\begin{document}
\renewcommand\logowidth{32pt}
\renewcommand\bcStyleTitre[1]{\tikz%
\node[fill=blue!20, starburst, drop shadow, draw=black]{\color{blue}\bfseries\huge#1};\hfill}
\begin{bclogo}[
couleur = blue!05,
marge=20,
arrondi = 0.3, 
epBarre=3.5,
cadreTitre = false,
logo = \bccrayon, 
couleurBarre = red!80!blue!60,
ombre=true,
couleurOmbre = blue!20!black!30,
]
{Packet 1}
\bigskip
\huge
\begin{enumerate}
\item Tururan pertama bla bla bla ...
\begin{enumerate}[label={\Alph*.}~]
\item $f\text{\textasciiacute}(x)=\frac{-10}{(4x+3)^{2}}$
\item $f\text{\textasciiacute}(x)=\frac{-5}{(4x+3)^{2}}$
\item $f\text{\textasciiacute}(x)=\frac{-2}{(4x+3)^{2}}$
\end{enumerate}
\end{enumerate}
\end{bclogo}
\end{document}

For the "exam" part, there are several packages for this at CTAN, but for multiple choice exams my suggestion will be out of there, but still free and still with LaTeX. Briefly, with Auto Multiple Choice (AMC) you can make a LaTeX file (fancy or not) with questions and answers that can be randomized (both). This is not a great advantage over some others packages. The main difference is that the purpose is not to print one "new" exam that look different of the last year, with the same questions mixed in different order, o easily select question from a database, but print one numerated exam for each student, all with the same questions, but all in different order. For example, if you have a exam of 40 questions of 5 pages for 100 students, the AMC style can make automatically in seconds a PDF of 500 pages with 100 exams, and almost certainly you cannot find the same answer 15.c within the one hundred exams.

A nightmare to correct it manually, I agree, but AMC is not only a .sty file for print a PDF but also a whole program (there are Windows, Linux and Mac versions)that can check scanned images of the exams and make a spreadsheet with the scores for each student, according to the created LaTeX template. Also can show the correct answers for the template or even for each generated exam and make statistic about percentage of correct answers obtained for each question, so you can detect easily too easy/too hard/badly formulated questions.

Fran
  • 80,769
  • ,, sorry, your code is not running, i get error ...starburst is not running, bclogo package error after updated database package latex yesterdaty , before i can running ..... – Hirwanto Jun 28 '14 at 09:40
  • i also try bclogo package in example my document , still get error at starburst part. – Hirwanto Jun 28 '14 at 09:42
  • @HirWanto Sorry, I have forgotten to include \usetikzlibrary{shadows} in the preamble. I will change ASAP. – Fran Jun 28 '14 at 10:18
  • OK, AFAIK, I still get error with bclogo package especially starburst part, – Hirwanto Jun 28 '14 at 10:21
  • I wait your answers – Hirwanto Jun 28 '14 at 10:22
  • Your Answers is not really same like i wanna it – Hirwanto Jun 28 '14 at 10:36
  • Sorry, but I have no time to try to reproduce exactly your image. Instead bclogo, the frame can be made also with package mdframed or tcolorbox. There are many examples in this site for fine tuning of these packages. They all work with TikZ, so I guess the problem is only create a tikz node with the odd shape of your label and place it in left top corner, as here. – Fran Jun 28 '14 at 11:29
3

That is my post here. As mentioned by Fran, I use bclogo, by adding the environment of this forum. I wrote in the article document class. Most of the codes in the preamble is as follows:

\usepackage[tikz]{bclogo}
\usepackage{fancyhdr}
\setlength{\headheight}{28pt}
\setlength{\headsep}{16pt}

\fancyhf{}
\pagestyle{fancy}
\fancyhead[L]{{\color{biru} MATEMATIKA} \\ My school name}
\fancyhead[R]{\color{biru} Myname}

\renewcommand{\headrulewidth}{0.1pt}

\renewcommand{\headrule}{\hbox to\headwidth{%
    \color{mycolor}\leaders\hrule height \headrulewidth\hfill}}

\cfoot{}
\usepackage{lastpage} % for page numbering style
  %%"Page # of ##" -- Comment out to get default page numbering
  \cfoot{Halaman \thepage\ dari \pageref{LastPage}} % text in center footer
kalakay
  • 2,469
1

For the exam part, you can also have a look at the esami package, which can help you write the exam text and solution. I don't know if you can substitute the numbers of the questions with your image, but you can try with the other packages that have been suggested in the previous answers.

grames
  • 785