summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/q-and-a/demo/theme-ChatGPT/Q-and-A-demo-ChatGPT.tex
blob: fb5be3e4ce033334e466a5a7f1e755228ed11bbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
\documentclass[%11pt,
  use theme = ChatGPT-light,
  % use theme = ChatGPT-dark,
  scroll,
]{Q-and-A}

% The User Logo
\SetLogoCode[Q]{%
  \smash{\raisebox{-.65\baselineskip}{%
    \begin{tikzpicture}
      \node [inner sep=0pt] at (0,0) {\includegraphics[height=1.5\baselineskip]{Q-and-A-demo-logo-User}};
      \draw [QA-Q-back, rounded corners=.15\baselineskip, line width=.2\baselineskip]
        (current bounding box.north west) --
        (current bounding box.north east) --
        (current bounding box.south east) --
        (current bounding box.south west) -- cycle;
      \clip (current bounding box.north west) --
        (current bounding box.north east) --
        (current bounding box.south east) --
        (current bounding box.south west) -- cycle;
    \end{tikzpicture}%
  }\hspace{-.25em}%
  }}
% The ChatGPT Logo
\SetLogoCode[A]{%
  \smash{\raisebox{-.65\baselineskip}{%
    \begin{tikzpicture}
      \node [inner sep=0pt] at (0,0) {\includegraphics[height=1.5\baselineskip]{Q-and-A-demo-logo-ChatGPT}};
      \draw [QA-A-back, rounded corners=.15\baselineskip, line width=.2\baselineskip]
        (current bounding box.north west) --
        (current bounding box.north east) --
        (current bounding box.south east) --
        (current bounding box.south west) -- cycle;
      \clip (current bounding box.north west) --
        (current bounding box.north east) --
        (current bounding box.south east) --
        (current bounding box.south west) -- cycle;
    \end{tikzpicture}%
  }\hspace{-.25em}%
  }}


\begin{document}


:: {Q-and-A-demo-ChatGPT-content}

"
  Below is the code of this conversation.

  == {Q-and-A-demo-ChatGPT-content}

"
  Below is the code of the main document.

  == [latex] {\jobname}


\end{document}