Goddess of Justice DB, the database used for storage on IzaroDFS
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

170 satır
5.8 KiB

  1. \documentclass[a4paper,10pt,BCOR10mm,oneside,headsepline]{scrartcl}
  2. \usepackage[french]{babel}
  3. \usepackage[utf8]{inputenc}
  4. \usepackage{wasysym}% provides \ocircle and \Box
  5. \usepackage{enumitem}% easy control of topsep and leftmargin for lists
  6. \usepackage{color}% used for background color
  7. \usepackage{forloop}% used for \Qrating and \Qlines
  8. \usepackage{ifthen}% used for \Qitem and \QItem
  9. \usepackage{typearea}
  10. \areaset{17cm}{26cm}
  11. \setlength{\topmargin}{-1cm}
  12. \usepackage{scrpage2}
  13. \pagestyle{scrheadings}
  14. \ihead{Enquête sur la sécurité des données (fiche employé)}
  15. \ohead{\pagemark}
  16. \chead{}
  17. \cfoot{}
  18. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  19. %% Beginning of questionnaire command definitions %%
  20. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  21. %%
  22. %% 2010, 2012 by Sven Hartenstein
  23. %% mail@svenhartenstein.de
  24. %% http://www.svenhartenstein.de
  25. %%
  26. %% Please be warned that this is NOT a full-featured framework for
  27. %% creating (all sorts of) questionnaires. Rather, it is a small
  28. %% collection of LaTeX commands that I found useful when creating a
  29. %% questionnaire. Feel free to copy and adjust any parts you like.
  30. %% Most probably, you will want to change the commands, so that they
  31. %% fit your taste.
  32. %%
  33. %% Also note that I am not a LaTeX expert! Things can very likely be
  34. %% done much more elegant than I was able to. If you have suggestions
  35. %% about what can be improved please send me an email. I intend to
  36. %% add good tipps to my website and to name contributers of course.
  37. %%
  38. %% 10/2012: Thanks to karathan for the suggestion to put \noindent
  39. %% before \rule!
  40. %% \Qq = Questionaire question. Oh, this is just too simple. It helps
  41. %% making it easy to globally change the appearance of questions.
  42. \newcommand{\Qq}[1]{\textbf{#1}}
  43. %% \QO = Circle or box to be ticked. Used both by direct call and by
  44. %% \Qrating and \Qlist.
  45. \newcommand{\QO}{$\Box$}% or: $\ocircle$
  46. %% \Qrating = Automatically create a rating scale with NUM steps, like
  47. %% this: 0--0--0--0--0.
  48. \newcounter{qr}
  49. \newcommand{\Qrating}[1]{\QO\forloop{qr}{1}{\value{qr} < #1}{---\QO}}
  50. %% \Qline = Again, this is very simple. It helps setting the line
  51. %% thickness globally. Used both by direct call and by \Qlines.
  52. \newcommand{\Qline}[1]{\noindent\rule{#1}{0.6pt}}
  53. %% \Qlines = Insert NUM lines with width=\linewith. You can change the
  54. %% \vskip value to adjust the spacing.
  55. \newcounter{ql}
  56. \newcommand{\Qlines}[1]{\forloop{ql}{0}{\value{ql}<#1}{\vskip0em\Qline{\linewidth}}}
  57. %% \Qlist = This is an environment very similar to itemize but with
  58. %% \QO in front of each list item. Useful for classical multiple
  59. %% choice. Change leftmargin and topsep accourding to your taste.
  60. \newenvironment{Qlist}{%
  61. \renewcommand{\labelitemi}{\QO}
  62. \begin{itemize}[leftmargin=1.5em,topsep=-.5em]
  63. }{%
  64. \end{itemize}
  65. }
  66. %% \Qtab = A "tabulator simulation". The first argument is the
  67. %% distance from the left margin. The second argument is content which
  68. %% is indented within the current row.
  69. \newlength{\qt}
  70. \newcommand{\Qtab}[2]{
  71. \setlength{\qt}{\linewidth}
  72. \addtolength{\qt}{-#1}
  73. \hfill\parbox[t]{\qt}{\raggedright #2}
  74. }
  75. %% \Qitem = Item with automatic numbering. The first optional argument
  76. %% can be used to create sub-items like 2a, 2b, 2c, ... The item
  77. %% number is increased if the first argument is omitted or equals 'a'.
  78. %% You will have to adjust this if you prefer a different numbering
  79. %% scheme. Adjust topsep and leftmargin as needed.
  80. \newcounter{itemnummer}
  81. \newcommand{\Qitem}[2][]{% #1 optional, #2 notwendig
  82. \ifthenelse{\equal{#1}{}}{\stepcounter{itemnummer}}{}
  83. \ifthenelse{\equal{#1}{a}}{\stepcounter{itemnummer}}{}
  84. \begin{enumerate}[topsep=2pt,leftmargin=2.8em]
  85. \item[\textbf{\arabic{itemnummer}#1.}] #2
  86. \end{enumerate}
  87. }
  88. %% \QItem = Like \Qitem but with alternating background color. This
  89. %% might be error prone as I hard-coded some lengths (-5.25pt and
  90. %% -3pt)! I do not yet understand why I need them.
  91. \definecolor{bgodd}{rgb}{0.8,0.8,0.8}
  92. \definecolor{bgeven}{rgb}{0.9,0.9,0.9}
  93. \newcounter{itemoddeven}
  94. \newlength{\gb}
  95. \newcommand{\QItem}[2][]{% #1 optional, #2 notwendig
  96. \setlength{\gb}{\linewidth}
  97. \addtolength{\gb}{-5.25pt}
  98. \ifthenelse{\equal{\value{itemoddeven}}{0}}{%
  99. \noindent\colorbox{bgeven}{\hskip-3pt\begin{minipage}{\gb}\Qitem[#1]{#2}\end{minipage}}%
  100. \stepcounter{itemoddeven}%
  101. }{%
  102. \noindent\colorbox{bgodd}{\hskip-3pt\begin{minipage}{\gb}\Qitem[#1]{#2}\end{minipage}}%
  103. \setcounter{itemoddeven}{0}%
  104. }
  105. }
  106. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  107. %% End of questionnaire command definitions %%
  108. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  109. \begin{document}
  110. \begin{center}
  111. \textbf{\huge Enquête sur la sécurité des données}
  112. \end{center}\vskip1em
  113. \textbf{\Large Identifiant de l'entreprise \huge \Square \Square \Square \Square \Square \Square \Square \Square }
  114. \Qitem{ \Qq{Pensez-vous que votre société collecte des informations personnelles ou sensibles de ses clients~?}
  115. \Qtab{3cm}{Aucune information \Qrating{5}
  116. Beaucoup d'informations}}
  117. \Qitem{ \Qq{À quel point vous sentez-vous impliqué.e dans la protection des données clients~?}
  118. \Qtab{3cm}{Peu impliqué.e \Qrating{5}
  119. Très impliqué.e}}
  120. \Qitem{ \Qq{Quels facteurs garantissent la sécurité de votre système d'informations~?}
  121. \begin{Qlist}
  122. \item Restrictions de l'accès physique aux terminaux
  123. \item Mot de passe partagé
  124. \item Mot de passe personnel
  125. \item Badge ou carte
  126. \item Authentification biométrique
  127. \item Clé physique
  128. \item Destruction systématique des documents confidentiels
  129. \end{Qlist}
  130. }
  131. \Qitem{ \Qq{Les données gérées par votre entreprise sont-elles chiffrées~?}
  132. \begin{Qlist}
  133. \item oui
  134. \item partiellement
  135. \item non
  136. \item je ne sais pas
  137. \item refus de mentionner
  138. \end{Qlist}
  139. }
  140. \Qitem{ \Qq{Pensez-vous que les mesures de protection des données de votre entreprise sont suffisantes~?}
  141. \Qtab{3cm}{Insuffisantes \Qrating{5}
  142. Plus que suffisantes}}
  143. \end{document}