I have a problem with fitting two flowcharts encased in frame boxes to fit nicely within a single page and how do you add a little more bottom space to the box frame?
\documentclass[11pt,twoside, a4paper]{report}
\usepackage{fontspec}
\setmainfont{Tex Gyre Schola}
\usepackage[margin=0.75in]{geometry}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
%% tikz
\tikzset{
block/.style = {
rectangle,
draw,
text width=5em,
text centered,
minimum width=3cm,
minimum height=1cm,
rounded corners,
},
line/.style = {
draw,
-latex',
},
text/.style = {textwidth = 3em
},
longblock/.style = {
rectangle,
draw,
text width=10em,
text centered,
minimum width=3cm,
minimum height=1cm,
rounded corners,
fill=white
},
}
%% personal commands
\newcommand{\mybox}[4]{
\begin{figure}[h]
\centering
\begin{tikzpicture}
\node[anchor=text,text width=\columnwidth-1.2cm, draw, rounded corners, line width=0.5pt, fill=#3, inner sep=1mm] (big) {\#4};
\node[draw, rounded corners, line width=.5pt, fill=#2, anchor=west, xshift=5mm] (small) at (big.north west) {#1};
\end{tikzpicture}
\end{figure}
}
\begin{document}
\mybox{QT nhân giống bằng nuôi cấy mô}{black!40}{black!10}{
\vspace{2ex}
\medskip
\hspace{5.5ex}
\begin{tikzpicture}[node distance = 1cm, auto]
\node [longblock] (bl1) {Chọn vật liệu nuôi cấy};
\node [longblock, below of=bl1, node distance=1.75cm] (bl2) {Khử trùng};
\node [longblock, below of=bl2, node distance=1.75cm] (bl3) {Tạo chồi};
\node [longblock,below of=bl3, node distance=1.75cm]
(bl4) {Tạo rễ};
\node [longblock, below of=bl4, node distance=1.75cm]
(bl5) {Cấy cây vào môi trường thích ứng};
\node [longblock, below of=bl5, node distance=1.75cm] (bl6) {Trồng cây trong vườn ươm};
\path [line] (bl1) -- (bl2);
\path [line] (bl2) -- (bl3);
\path [line] (bl3) -- (bl4);
\path [line] (bl4) -- (bl5);
\path [line] (bl5) -- (bl6);
\end{tikzpicture}
}
\vspace{-65.75ex}
\begin{flushright}
\mybox{Nhân giống bằng nuôi cấy mô ở cà rốt}{black!40}{black!10}{
\vspace{4ex}
\begin{tikzpicture}
\hspace{7ex}
\node [longblock] (bl1) {Lát cắt ngang củ cà rốt};
\node [longblock, below of=bl1, node distance=1.75cm] (bl2) {Các mẫu mô};
\node [longblock, below of=bl2, node distance=2cm] (bl3) {Các tế bào được tách rời trong môi trường nuôi cây};
\node [longblock,below of=bl3, node distance=2cm]
(bl4) {Tế bào phân chia};
\node [longblock, below of=bl4, node distance=1.75cm]
(bl5) {Mô sẹo};
\node [longblock, below of=bl5, node distance=1.75cm] (bl6) {Cây con sinh trưởng trong ống nghiệm};
\node [longblock, below of=bl6, node distance=1.75cm] (bl7) {Đem trồng để tạo cây trưởng thành};
\path [line] (bl1) -- (bl2);
\path [line] (bl2) -- (bl3);
\path [line] (bl3) -- (bl4);
\path [line] (bl4) -- node[anchor=east] {Nuôi cấy} (bl5);
\path [line] (bl5) -- node[anchor=east] {Nuôi cấy} node[anchor=west]{Hoocmôn sinh trưởng}(bl6);
\path [line] (bl6) -- (bl7);
\end{tikzpicture}
}
\end{flushright}
\end{document}


\...fractionparameters), but still, if you only need the figures on the page then you don't need that float environment. – user202729 Dec 26 '21 at 02:59