Skip to content

Commit

Permalink
qqq
Browse files Browse the repository at this point in the history
  • Loading branch information
anmnv committed Sep 30, 2023
1 parent addfa5e commit aa67d2a
Show file tree
Hide file tree
Showing 14 changed files with 1,549 additions and 4,305 deletions.
797 changes: 402 additions & 395 deletions eBook_tex/eBook.aux

Large diffs are not rendered by default.

202 changes: 98 additions & 104 deletions eBook_tex/eBook.log

Large diffs are not rendered by default.

105 changes: 53 additions & 52 deletions eBook_tex/eBook.out

Large diffs are not rendered by default.

Binary file renamed eBook.pdf → eBook_tex/eBook.pdf
Binary file not shown.
Binary file modified eBook_tex/eBook.synctex.gz
Binary file not shown.
1 change: 0 additions & 1 deletion eBook_tex/eBook.tex
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ \section{Text, Symbols}
\section{Code, listings, minted \dots}
\input{C:/Users/user/Desktop/eBook/source/C3.tex}


%------------------C4-Tables, boxes and so on
\clearpage
\section{Tables, boxes and so on}
Expand Down
65 changes: 33 additions & 32 deletions eBook_tex/eBook.toc
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
\contentsline {section}{\numberline {3}Code, listings, minted \dots }{13}{section.3}%
\contentsline {subsection}{\numberline {3.1}\hll {Code listing using \xmyboxg {minted} in \xmyboxg {beamer}}}{13}{subsection.3.1}%
\contentsline {subsection}{\numberline {3.2}\hll {"Zebra" style listing}}{13}{subsection.3.2}%
\contentsline {subsection}{\numberline {3.3}\hll {Listing with russian language}}{15}{subsection.3.3}%
\contentsline {subsection}{\numberline {3.4}\hll {Listing with \xmyboxg {minted}}}{15}{subsection.3.4}%
\contentsline {subsection}{\numberline {3.5}\hll {Run LaTeX code inside and show result}}{16}{subsection.3.5}%
\contentsline {subsection}{\numberline {3.6}\hll {Breaking code lines in a tcolorbox}}{17}{subsection.3.6}%
\contentsline {subsection}{\numberline {3.7}\hll {Modern code listing using \xmyboxg {minted}}}{17}{subsection.3.7}%
\contentsline {subsection}{\numberline {3.3}\hll {Listing with russian language}}{14}{subsection.3.3}%
\contentsline {subsection}{\numberline {3.4}\hll {Listing with \xmyboxg {minted}}}{14}{subsection.3.4}%
\contentsline {subsection}{\numberline {3.5}\hll {Run LaTeX code inside and show result}}{15}{subsection.3.5}%
\contentsline {subsection}{\numberline {3.6}\hll {Breaking code lines in a tcolorbox}}{16}{subsection.3.6}%
\contentsline {subsection}{\numberline {3.7}\hll {Modern code listing using \xmyboxg {minted}}}{18}{subsection.3.7}%
\contentsline {section}{\numberline {4}Tables, boxes and so on}{19}{section.4}%
\contentsline {subsection}{\numberline {4.1}\hll {Nice tcolorbox}}{19}{subsection.4.1}%
\contentsline {subsection}{\numberline {4.2}\hll {Color box with yellow border}}{19}{subsection.4.2}%
Expand All @@ -46,35 +46,36 @@
\contentsline {subsection}{\numberline {4.16}\hll {Halfframed boxes}}{28}{subsection.4.16}%
\contentsline {subsection}{\numberline {4.17}\hll {Vertically and horizontally align image inside table}}{29}{subsection.4.17}%
\contentsline {subsection}{\numberline {4.18}\hll {Box with \gradientRGB {nice gradient text}{72,107,234}{60,214,112}}}{30}{subsection.4.18}%
\contentsline {section}{\numberline {5}Figures}{31}{section.5}%
\contentsline {subsection}{\numberline {5.1}\hll {Comment to figure} }{31}{subsection.5.1}%
\contentsline {subsection}{\numberline {5.2}\hll {Positioning 1 | 2}}{31}{subsection.5.2}%
\contentsline {subsection}{\numberline {5.3}\hll {Placing image \xmybox [red!70!white]{anywhere} You want}}{31}{subsection.5.3}%
\contentsline {subsection}{\numberline {5.4}\hll {Italic sabfigure references}}{32}{subsection.5.4}%
\contentsline {subsection}{\numberline {5.5}\hll {Wrapfigure}}{32}{subsection.5.5}%
\contentsline {subsection}{\numberline {5.6}\hll {Figures in landscape mode}}{33}{subsection.5.6}%
\contentsline {subsection}{\numberline {5.7}\hll {Three figures in a row}}{33}{subsection.5.7}%
\contentsline {subsection}{\numberline {5.8}\hll {Image as a background in a presentation}}{34}{subsection.5.8}%
\contentsline {section}{\numberline {6}Numbering, enumeration, itemizing}{35}{section.6}%
\contentsline {subsection}{\numberline {6.1}\hll {Numbering in few columns}}{35}{subsection.6.1}%
\contentsline {subsection}{\numberline {6.2}\hll {Enumeration environment with position number in the format (i, j)}}{35}{subsection.6.2}%
\contentsline {subsection}{\numberline {6.3}\hll {Colored enumeration}}{36}{subsection.6.3}%
\contentsline {subsection}{\numberline {6.4}\hll {Change footnote symbol}}{36}{subsection.6.4}%
\contentsline {subsection}{\numberline {6.5}\hll {Leveled arabic enumeration}}{37}{subsection.6.5}%
\contentsline {subsection}{\numberline {6.6}\hll {Bullets Style}}{37}{subsection.6.6}%
\contentsline {subsection}{\numberline {6.7}\hll {Split itemize into multiple columns}}{37}{subsection.6.7}%
\contentsline {section}{\numberline {7}Plots, tikz, pie charts ...}{39}{section.7}%
\contentsline {subsection}{\numberline {7.1}\hll {Simple pie chart}}{39}{subsection.7.1}%
\contentsline {subsection}{\numberline {7.2}\hll {Circled arrows with text}}{39}{subsection.7.2}%
\contentsline {subsection}{\numberline {7.3}\hll {Diamond with text}}{40}{subsection.7.3}%
\contentsline {subsection}{\numberline {7.4}\hll {Levels of skills }}{40}{subsection.7.4}%
\contentsline {subsection}{\numberline {7.5}\hll {Round levels of skills }}{40}{subsection.7.5}%
\contentsline {subsection}{\numberline {7.6}\hll {Huge margin line}}{40}{subsection.7.6}%
\contentsline {subsection}{\numberline {7.7}\hll {Aligning anything to a corer}}{41}{subsection.7.7}%
\contentsline {subsection}{\numberline {7.8}\hll {Family tree}}{42}{subsection.7.8}%
\contentsline {subsection}{\numberline {4.19}\hll {One side dashed border}}{31}{subsection.4.19}%
\contentsline {section}{\numberline {5}Figures}{32}{section.5}%
\contentsline {subsection}{\numberline {5.1}\hll {Comment to figure} }{32}{subsection.5.1}%
\contentsline {subsection}{\numberline {5.2}\hll {Positioning 1 | 2}}{32}{subsection.5.2}%
\contentsline {subsection}{\numberline {5.3}\hll {Placing image \xmybox [red!70!white]{anywhere} You want}}{32}{subsection.5.3}%
\contentsline {subsection}{\numberline {5.4}\hll {Italic sabfigure references}}{33}{subsection.5.4}%
\contentsline {subsection}{\numberline {5.5}\hll {Wrapfigure}}{33}{subsection.5.5}%
\contentsline {subsection}{\numberline {5.6}\hll {Figures in landscape mode}}{34}{subsection.5.6}%
\contentsline {subsection}{\numberline {5.7}\hll {Three figures in a row}}{34}{subsection.5.7}%
\contentsline {subsection}{\numberline {5.8}\hll {Image as a background in a presentation}}{35}{subsection.5.8}%
\contentsline {section}{\numberline {6}Numbering, enumeration, itemizing}{36}{section.6}%
\contentsline {subsection}{\numberline {6.1}\hll {Numbering in few columns}}{36}{subsection.6.1}%
\contentsline {subsection}{\numberline {6.2}\hll {Enumeration environment with position number in the format (i, j)}}{36}{subsection.6.2}%
\contentsline {subsection}{\numberline {6.3}\hll {Colored enumeration}}{37}{subsection.6.3}%
\contentsline {subsection}{\numberline {6.4}\hll {Change footnote symbol}}{37}{subsection.6.4}%
\contentsline {subsection}{\numberline {6.5}\hll {Leveled arabic enumeration}}{38}{subsection.6.5}%
\contentsline {subsection}{\numberline {6.6}\hll {Bullets Style}}{38}{subsection.6.6}%
\contentsline {subsection}{\numberline {6.7}\hll {Split itemize into multiple columns}}{39}{subsection.6.7}%
\contentsline {section}{\numberline {7}Plots, tikz, pie charts ...}{40}{section.7}%
\contentsline {subsection}{\numberline {7.1}\hll {Simple pie chart}}{40}{subsection.7.1}%
\contentsline {subsection}{\numberline {7.2}\hll {Circled arrows with text}}{40}{subsection.7.2}%
\contentsline {subsection}{\numberline {7.3}\hll {Diamond with text}}{41}{subsection.7.3}%
\contentsline {subsection}{\numberline {7.4}\hll {Levels of skills }}{41}{subsection.7.4}%
\contentsline {subsection}{\numberline {7.5}\hll {Round levels of skills }}{42}{subsection.7.5}%
\contentsline {subsection}{\numberline {7.6}\hll {Huge margin line}}{42}{subsection.7.6}%
\contentsline {subsection}{\numberline {7.7}\hll {Aligning anything to a corer}}{43}{subsection.7.7}%
\contentsline {subsection}{\numberline {7.8}\hll {Family tree}}{43}{subsection.7.8}%
\contentsline {subsection}{\numberline {7.9}\hll {Mind map}}{44}{subsection.7.9}%
\contentsline {subsection}{\numberline {7.10}\hll {Gantt chart}}{45}{subsection.7.10}%
\contentsline {subsection}{\numberline {7.11}\hll {Drawing a stacked venn diagram}}{45}{subsection.7.11}%
\contentsline {subsection}{\numberline {7.11}\hll {Drawing a stacked venn diagram}}{46}{subsection.7.11}%
\contentsline {subsection}{\numberline {7.12}\hll {Ellipsis in Circuitikz}}{47}{subsection.7.12}%
\contentsline {section}{\numberline {8}Highlighting}{48}{section.8}%
\contentsline {subsection}{\numberline {8.1}\hll {Words highlighting \xmybox {1}}}{48}{subsection.8.1}%
Expand Down
24 changes: 12 additions & 12 deletions source/C3.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex 2023.2.28) 3 SEP 2023 19:29
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex 2023.2.28) 8 SEP 2023 14:05
entering extended mode
\write18 enabled.
file:line:error style messages enabled.
Expand Down Expand Up @@ -86,22 +86,22 @@ Missing character: There is no m in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no r in font nullfont!

c:/Users/user/Desktop/eBook/source/C3.tex:3: LaTeX Error: Environment table undefined.
Overfull \hbox (20.0pt too wide) in paragraph at lines 2--3
[]
[]


c:/Users/user/Desktop/eBook/source/C3.tex:4: LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.3 \begin{table}
[h!]
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
l.4 \begin{tabular}
{c | c}
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.

Missing character: There is no [ in font nullfont!
Missing character: There is no h in font nullfont!
Missing character: There is no ! in font nullfont!
Missing character: There is no ] in font nullfont!
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 4.
LaTeX Font Info: External font `cmex10' loaded for size
Expand Down Expand Up @@ -2273,6 +2273,6 @@ Here is how much of TeX's memory you used:
23084 multiletter control sequences out of 15000+600000
512455 words of font info for 33 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
68i,9n,66p,355b,2529s stack positions out of 10000i,1000n,20000p,200000b,200000s
68i,9n,66p,355b,2527s stack positions out of 10000i,1000n,20000p,200000b,200000s

c:/texlive/2022/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex:16: ==> Fatal error occurred, no output PDF file produced!
24 changes: 12 additions & 12 deletions source/C3.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%-------------------3.1
\subsection{\hll{Code listing using \xmyboxg{minted} in \xmyboxg{beamer}}}
\begin{table}[h!]

\begin{tabular}{c | c}
\begin{minipage}[m]{0.4\textwidth}
\enum{\includegraphics[width=1\linewidth]{3.1.png}}{\thesubsection}
Expand Down Expand Up @@ -32,11 +32,11 @@ \subsection{\hll{Code listing using \xmyboxg{minted} in \xmyboxg{beamer}}}
\end{lstlisting}
\end{minipage}
\end{tabular}
\end{table}


%-------------------3.2
\subsection{\hll{"Zebra" style listing}}
\begin{table}[h!]

\begin{tabular}{c | c}
\begin{minipage}[m]{0.4\textwidth}
\begin{lstlisting}[numberstyle=\zebra{green!25}{yellow!25},numbers=left,basicstyle=\ttfamily\footnotesize]
Expand Down Expand Up @@ -94,13 +94,13 @@ \subsection{\hll{"Zebra" style listing}}
\end{tiny}
\end{minipage}
\end{tabular}
\end{table}

\clearpage

%-------------------3.3

\subsection{\hll{Listing with russian language}}
\begin{table}[h!]

\begin{tabular}{c | c}
\begin{minipage}[m]{0.4\textwidth}
\enum{ \includegraphics[width=1\linewidth]{3.3.png} }{\thesubsection}
Expand Down Expand Up @@ -137,11 +137,11 @@ \subsection{\hll{Listing with russian language}}
\end{lstlisting}
\end{minipage}
\end{tabular}
\end{table}


%-------------------3.4
\subsection{\hll{Listing with \xmyboxg{minted}}}
\begin{table}[h!]

\begin{tabular}{c | c}
\begin{minipage}[m]{0.4\textwidth}
\enum{ \href{https://tex.stackexchange.com/questions/174455/typeset-source-code-with-tcolorbox}{\includegraphics[width=1\linewidth]{3.4.png}} }{\thesubsection}
Expand Down Expand Up @@ -170,11 +170,11 @@ \subsection{\hll{Listing with \xmyboxg{minted}}}
\end{lstlisting}
\end{minipage}
\end{tabular}
\end{table}

%\enum{\href{https://tex.stackexchange.com/questions/670255/remove-thin-black-frame-around-standalone-image/670257#670257}{%}{3.5}
%-------------------3.5
\subsection{\hll{Run LaTeX code inside and show result}}
\begin{table}[h!]

\begin{tabular}{c | c}
\begin{minipage}[m]{0.4\textwidth}
\begin{tikzpicture}
Expand Down Expand Up @@ -217,7 +217,7 @@ \subsection{\hll{Run LaTeX code inside and show result}}
\end{lstlisting}
\end{minipage}
\end{tabular}
\end{table}


%-------------------3.6
\subsection{\hll{Breaking code lines in a tcolorbox}}
Expand Down Expand Up @@ -302,7 +302,7 @@ \subsection{\hll{Breaking code lines in a tcolorbox}}
%-------------------3.7
%https://tex.stackexchange.com/questions/452150/advanced-customization-of-minted-code
\subsection{\hll{Modern code listing using \xmyboxg{minted}}}
\begin{table}[h!]

\begin{tabular}{c | c}
\begin{minipage}[m]{0.4\textwidth}

Expand Down Expand Up @@ -408,7 +408,7 @@ \subsection{\hll{Modern code listing using \xmyboxg{minted}}}
\end{lstlisting}
\end{minipage}
\end{tabular}
\end{table}


%-------------------3.8
%-------------------3.9
Expand Down
55 changes: 55 additions & 0 deletions source/C4.tex
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,61 @@ \subsection{\hll{Box with \gradientRGB{nice gradient text}{72,107,234}{60,214,11
\end{minipage}
\end{tabular}
%#################### 4.19 ####################
\subsection{\hll{One side dashed border}}
\begin{tabular}{c | c}
\begin{minipage}[m]{0.4\textwidth}
This is \myboxfournine{the box} and what comes next.

This is \myboxfournine[on line]{the same box but \texttt{on line}} and what comes
next.

\bigskip \noindent
Variant based on \verb|\newtcolorbox|:
\begin{myleftlineboxx}
\lipsum[1]
\end{myleftlineboxx}
\end{minipage}
&
\begin{minipage}[m]{0.55\textwidth}
\renewcommand\textminus{\mbox{-}}%<<<<<<<<<<<
\begin{lstlisting}[numberstyle=\zebra{green!15}{yellow!15},numbers=left,basicstyle=\ttfamily\footnotesize]
\documentclass{article}
\usepackage{kantlipsum} % for sample text
\usepackage{tcolorbox}
\tcbuselibrary{skins}
\newtcbox{\mybox}[1][]{
enhanced, frame hidden, borderline west = {0.5pt}{0pt}{red,dashed}, #1
}
\newtcolorbox{myleftlinebox}[1][]{
enhanced, frame hidden, borderline west = {0.5pt}{0pt}{red,dashed}, #1
}
\begin{document}
This is \mybox{the box} and what comes next.

\bigskip
This is \mybox[on line]{the same box but \texttt{on line}} and what comes
next.

\bigskip \noindent
Variant based on \verb|\newtcolorbox|:
\begin{myleftlinebox}
\kant[1]
\end{myleftlinebox}
\end{document}
\end{lstlisting}
\end{minipage}
\end{tabular}

%#################### 4.20 ####################
%#################### 4.21 ####################
%#################### 4.22 ####################
%#################### 4.23 ####################
%#################### 4.24 ####################
%#################### 4.25 ####################
%#################### 4.26 ####################
%#################### 4.27 ####################
%#################### 4.28 ####################




Expand Down
Loading

0 comments on commit aa67d2a

Please sign in to comment.