This should be a common issue on this site, but I did not find the information I needed.  Why did not my images follow the sequence I tried to define?  \documentclass[11pt,fleqn]{book} \usepackage[portuguese]{babel} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage[]{titlesec} \usepackage[many]{tcolorbox} \usepackage{tikz} \usepackage{enumitem}  \begin{document}  %---------------------------------------------------------------------------------------- %   PARTE 1 %----------------------------------------------------------------------------------------  \part{Parte 1}  %--------------------------------------------------------------------------------------- %   Capítulo 1 %---------------------------------------------------------------------------------------  \chapter{Conhecendo o SolidWorks}  %--------------------------------------------------------------------------------------- %   Seções %---------------------------------------------------------------------------------------  \section{Introdução} Quando você abre o aplicativo SOLIDWORKS pela primeira vez, a tela que você vê é a seguinte:  \begin{figure}     \centering     \includegraphics[width=14cm]{1.png}     \caption{Tela inicial}     \label{fig:1} \end{figure}  \section{Interface do Usuário} Abra no botão Novo:  \begin{figure}     \centering     \includegraphics[width=14cm]{2.png}     \caption{Botão novo}     \label{fig:2} \end{figure}  \section{Comandos da Interface do usuário}  \begin{enumerate}     \item Barra de menus     \item Barras de ferramentas     \item Gerenciador de comandos (CommandManager)     \item Gerenciador de configurações     \item Gerenciador de propriedades     \item Filtro da árvore de projeto     \item Trilhas de seleção     \item Árvore de projeto do FeatureManager     \item Barra de status     \item Barra de ferramentas transparente     \item Painel de tarefas     \item Área de gráficos \end{enumerate}  \end{document}     1.png    2.png
5739
Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?
14603
In my preamble, you'll find:  \renewcommand{\baselinestretch}{1} \renewcommand{\familydefault}{\sfdefault} \usepackage[sfmath]{kpfonts} \usepackage[mathrmOrig]{sfmath} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{animate} \usepackage{anysize} \usepackage{arcs} \usepackage{array} \usepackage[scale=0]{background} \usepackage{blindtext} \usepackage{calc} \usepackage{cancel} \usepackage{chngcntr} \usepackage{CJK} \usepackage{CJKspace} \usepackage{CJKpunct} \usepackage{colortbl} \usepackage{enumitem} \usepackage{epstopdf} \usepackage{etoolbox} \usepackage{fancybox} \usepackage{fancyhdr} \usepackage{float} \usepackage{framed} \usepackage{graphicx} \usepackage{hyphenat} \usepackage{ifthen} \usepackage{latexsym} \usepackage{lmodern} \usepackage{multicol} \usepackage{multirow} \usepackage{mwe} \usepackage{pgffor} \usepackage{rotating} \usepackage{tabularx} \usepackage{textcomp} \usepackage{tgheros,tgtermes,tgcursor} \usepackage{tikz} \usepackage{times} \usepackage{tipa} \usepackage{varwidth} \usepackage{wasysym} \usepackage{wboiboites} \usepackage[abs]{overpic} \usepackage[breaklinks,colorlinks=true,linkcolor=red,citecolor=red, urlcolor=blue]{hyperref} \usepackage[framemethod=TikZ]{mdframed} \usepackage[breakable, theorems, skins]{tcolorbox,empheq} \usepackage[default]{gillius} \usepackage[document]{ragged2e} \usepackage[latin1]{inputenc} \usepackage[spanish]{babel} \usepackage[T1]{fontenc} \usepackage[total={18.59cm,26.5cm},left=1.5cm,top=2.5cm]{geometry} \usetikzlibrary{matrix,arrows, positioning,shadows,shadings,backgrounds,calc, shapes, tikzmark} \usetikzlibrary{shadows.blur} \usetikzlibrary{shapes.symbols} \usetikzlibrary{patterns,fadings} \tcbuselibrary{skins,breakable,listings,theorems}    I'm trying to draw an arrow for X axis and Y axis.   \begin{tikzpicture} \draw[yellow!10, fill=blue!5](-1, -1) rectangle (7, 5); \draw[dotted] (-0.75,-0.75) grid (6.75,4.75); \node[below] at (-0.25,0){$O$}; \draw[-&gt;,black, thick] (-0.75,0)--(6.75,0); \end{tikzpicture}   But I get this error:    Additionally, if I remove -> from the options of \draw the tikz picture compiles normally.
115563
Why does this example only partially work?  \documentclass{minimal} \usepackage{etex} \usepackage{tikz} \usetikzlibrary{shapes,calc,arrows,trees,positioning,through,intersections,fadings} \begin{document}     \begin{tikzpicture}[scale=0.5] \coordinate (a) at (0,0); \coordinate (b) at (6,0); \coordinate (c) at (9,6); \node(A)[label=$A$] at (a) {$\bullet$}; \node(B)[label=50:$B$] at (b)  {$\bullet$}; \node(C)[label=$C$] at (c) {$\bullet$}; \draw[thick] (a)--(b)--(c)--cycle; %           \node(c1) at (a)[draw,circle through=(b)] {}; %           \coordinate(ac) at(intersection 1 of c1 and a--c); %            %           \node(c2) at (ac)[draw,circle through=(b)] {}; %           \node(c3) at (b)[draw,circle through=(ac)] {}; %           \coordinate(bta) at(intersection 1 of c2 and c3 ); %           \node(xx)[label=$C$] at (bta) {$\bullet$}; %       \coordinate(bisa) at(intersection 1 of a--bta and b--c); %       \draw (a)--(bisa); %%%%%%%%%%%%%%%%%%%%%%%%%%% work %%%%%%%%%%%%%%%%%%         \node(c4) at (b)[draw,circle through=(a)] {};             \coordinate(bc) at(intersection 1 of c4 and b--c);             \node(xx)[label=$prova$] at (bc) {$\bullet$};             \node(c5) at (bc)[draw,circle through=(a)] {};             \node(c6) at (a)[draw,circle through=(bc)] {};             \coordinate(btb) at(intersection 1 of c5 and c6 );         \node(xx)[label=$prova$] at (btb) {$\bullet$};         \coordinate(bisb) at(intersection 1 of b--btb and a--c);         \draw (b)--(bisb); %%%%%%%%%%%%%%%%%%%%%%%%%%% work %%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%% it doesn't work%%%%%%%%%%%%%%%%%% \node(c7) at (c)[draw,circle through=(b)] {}; \coordinate(ac) at(intersection 2 of c7 and a--c); \node(xx)[label=$prova2$] at (ac) {$\bullet$}; %%%%%%%%%%%%%%%%%%%%%%%%%%% it doesn't work %%%%%%%%%%%%%%%%%%  \end{tikzpicture} \end{document}
8010
I am writing a journal which has two column. I am using {figure} as well as {figure*} to place the figures in one column as well as stretch across two columns.   My problem is the order of the figures are not correct. e.g. their order of appearance is:                  Figure 1.                 Figure 2.                 Figure 5.                 Figure 3.                 Figure 4.   What should I do to make them appear in order?
14384
still working on that table. Here's my new question reguarding the table borders:  It appears, that i do something wrong setting boarders. Here is my code, and a screenshot:  \documentclass{article} \usepackage{multirow} % Used for the vertical cells \usepackage{rotating} % Used for the vertical cells  \usepackage{xcolor} % Used for cell-colors \usepackage{colortbl} % Used for cell-colors  \usepackage[a4paper]{geometry}% Used to set the pdf margins manually \newgeometry{left=2cm,bottom=0.1cm}  \definecolor{grey}{HTML}{F2F2F2} % Define grey for the cells \definecolor{red}{HTML}{FF0000} % Define red for testing  \begin{document} \scriptsize % Use a small font size  \begin{tabular}{|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0,6cm}|}  \cline{10-17}  \multicolumn{9}{|c|}{} &amp; \multicolumn{2}{p{\dimexpr (0.6cm)*2+2\arrayrulewidth+2\tabcolsep\relax}|}{\cellcolor{grey}Work to retired ratio} &amp; \multicolumn{4}{p{\dimexpr (0.6cm)*4+1\arrayrulewidth+2\tabcolsep\relax}|}{Health care sizing (per thousand)} &amp; \multicolumn{2}{p{\dimexpr (0.6cm)*2+1\arrayrulewidth+2\tabcolsep\relax}|}{\cellcolor{grey}Inverse dependency ratio}\\\cline{3-9}  \multicolumn{2}{|c|}{} &amp; \multicolumn{4}{c|}{\cellcolor{grey}Population (mio.)} &amp; \multicolumn{3}{c}{Workforce (1000)}  &amp; \multicolumn{2}{|c|}{\cellcolor{grey}} &amp; \multicolumn{2}{l|}{Physicians by} &amp; \multicolumn{2}{l}{Nurses by} &amp; \multicolumn{2}{|l|}{\cellcolor{grey}Old agers by}\\\hline  \multicolumn{2}{|c|}{} &amp; \begin{sideways}\cellcolor{grey}\parbox{4cm}{Overall}\end{sideways} &amp; \begin{sideways}\cellcolor{grey}\parbox{4cm}{Young age}\end{sideways} &amp; \begin{sideways}\cellcolor{grey}\parbox{4cm}{Working age}\end{sideways} &amp; \begin{sideways}\cellcolor{grey}\parbox{4cm}{Old age}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{Overall}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{Physicians (Proj: 2025)}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{Nurses (Proj: 2030)}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{\cellcolor{grey}Working age by Old age}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{\cellcolor{grey}Work force by Old age}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{Workforce}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{Working age}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{Workforce}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{Working age}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{\cellcolor{grey}1 physicians}\end{sideways} &amp; \begin{sideways}\parbox{4cm}{\cellcolor{grey}1 nurse}\end{sideways}\\\hline  \multicolumn{2}{|l}{USA} &amp; \multicolumn{4}{l}{\cellcolor{grey}} &amp; \multicolumn{3}{l}{} &amp; \multicolumn{2}{l}{\cellcolor{grey}} &amp; \multicolumn{4}{l}{} &amp; \multicolumn{2}{l|}{\cellcolor{grey}}\\\hline  1990/1 &amp; &amp; 248,6 &amp; 71,3 &amp; 146,1 &amp; 31,2 &amp; 127.500 &amp; 615,4 &amp; 1491,6 &amp; 4,68 &amp; 4,09 &amp; 4,83 &amp; 4,21 &amp; 11,70 &amp; 10,21 &amp; 50,7 &amp; 20,9\\\hline  1 &amp; 2 &amp; 3 \\\hline  \end{tabular}  \end{document}     On 1 the Top border of Population is not visible although i did used \\\cline{3-9}\cline{12-17} on that line.  In 2 both borders are pushed a bit to the right for no reason i can see.  And in 3 again the top borders are not visible despite using \cline{10-17} on that line. What did i do wrong?  Thanks!
79470
\usepackage{pgfplots} \usepackage{amsmath} \include{macros/style} \include{macros/use_packages} \usepackage{indentfirst} \usepackage{graphicx} \usepackage{algorithm} \usepackage{algpseudocode} \usepackage{tikz} \usepackage{array,booktabs,ragged2e} \usepackage{listings} \usepackage{color} \section{Results} \pgfplotstableread[row sep=\\,col sep=&amp;]{ interval &amp; carT &amp; carD &amp; carC &amp; carG\\ 10 Hz     &amp; 62680  &amp; 125130 &amp; 10000 &amp; 100000\\ OSC     &amp; 62680  &amp; 125130 &amp; 100000 &amp; 100000\\ Adaptive     &amp; 62680  &amp; 125130 &amp; 1000000 &amp; 1000000\\ }\mydata  \begin{tikzpicture} \hspace{-2cm} \begin{axis}[         ybar,         bar width=17pt,         x=7cm,         ybar=1pt,         width=1\textwidth,         height=.5\textwidth,         legend style={at={(0.5,1)},             anchor=north,legend columns=-1},         symbolic x coords={10 Hz, OSC, Adaptive},         xtick=data,         nodes near coords,         nodes near coords align={horizontal},         ymin=0,ymax=400000,         ylabel={Number of Packets Sent},     ]     \addplot table[x=interval,y=carT]{\mydata};     \addplot table[x=interval,y=carD]{\mydata};     \addplot table[x=interval,y=carC]{\mydata};     \addplot table[x=interval,y=carG]{\mydata};     \legend{Six Lanes, 12 Lanes, E.C. Row, i75} \end{axis} \end{tikzpicture}
46032
I have searched the stackexchange for a resolution of this problem, but I am still getting an error message when I put in the following (for now neglecting other things in my document, such as documentclass, begin{document}, etc.):  \begin{frame} \frametitle{explanation} \begin{columns} \begin{column}{width=0.5\textwidth}    some text here \end{column} \begin{column}     \begin{center}      \includegraphics[width=0.5\textwidth]{image1.jpg}            \end{center} \end{column} \end{columns} \end{frame}   When compiled, I get the error: Missing number, treated as zero. I should appreciate any help.
69967
Background  Looking to achieve a fairly complex layout from a Markdown source document. The layout resembles:    Code  \usemodule[newcolumnsets,visual]  \setuphead[chapter][   header=empty,   footer=empty,   number=no,   page=yes,   before={\blank[none]},   after={\blank[none]}, ]  \setuphead[section][   number=no,   before={\blank[small]},   after={\blank[small]}, ]  \definepapersize[BookPageSize][   width=601mm,   height=305mm, ]  \definelayout[BookPageLayout][   backspace=10mm,   cutspace=10mm,   width=585mm,   height=147mm,   topspace=10mm,   header=0mm,   footer=0mm, ]  \setuppapersize[BookPageSize] \setuplayout[BookPageLayout]  % No page number at the top. \setupheadertexts[] \setupfootertexts[]  \setupindenting[yes, small]  \definecolumnset[BookColumns][n=4,distance=0.0333\makeupwidth]  % left page (even page numbers) \setupcolumnset[BookColumns:1][width=.5\makeupwidth] \setupcolumnset[BookColumns:2][width=.125\makeupwidth] \setupcolumnset[BookColumns:3][width=.125\makeupwidth] \setupcolumnset[BookColumns:4][width=.125\makeupwidth] % right page (odd page numbers) \setupcolumnset[BookColumns:5][width=.5\makeupwidth] \setupcolumnset[BookColumns:6][width=.125\makeupwidth] \setupcolumnset[BookColumns:7][width=.125\makeupwidth] \setupcolumnset[BookColumns:8][width=.125\makeupwidth]  \definecolumnsetspan[BookIllustration][n=4]  \starttext   \startbodymatter     \startcolumnset[BookColumns]       \chapter[title={Title},reference={title}]       \subsection[title={Subsubtitle},reference={subsubtitle}]       \column        \input ward        \section[title={Subtitle},reference={subtitle}]        \input knuth       \input tufte        \section[title={Subtitle},reference={subtitle}]        \startformula  \frac{\dot{R}^2}{R^2} = \frac{8\pi G}{3}\rho - \frac{kc^2}{R^2}  \stopformula        \startformula  \frac{\ddot{R}}{R} = -\frac{4\pi G}{3} \left(\rho + \frac{3p}{c^2}\right)  \stopformula        \input tufte        \placefigure[bots]{}{\externalfigure[https://i.imgur.com/nSBuPAA.jpg][width=\paperwidth]}     \stopcolumnset   \stopbodymatter \stoptext   This code produces the following, which is pretty close:    Problems  There are a few issues:   The fourth column contains a lot of whitespace at the top. The second column contains garbled text (could be a page height issue). The image is displayed on the second page.   Questions  How can I resolve these issues without changing the body matter, but affording some tweaks to \placefigure such that:   the last column is aligned to the top; the garbled text does not appear; and the image is on the same page as the text?   Version  Using ConTeXt 2019.04.04 13:31.
71910
Here is a old post:   I tried to adjust the code to have semi-filled circle steps, but failed...  My .cls-file code:  \newcommand{\cvskill}[2]{% \textcolor{emphasis}{\textbf{#1}}\hfill \foreach \x in {1,...,5}{%   \space{\ifnumgreater{\x}{#2}{\color{body!30}}{\color{accent}}\ratingmarker}}\par% }   My .tex-file code:  \cvskill{German}{5} \divider  \cvskill{English}{4} \divider  \cvskill{French}{3} \divider  \cvskill{Spanish}{1}   Full code:   How it looks at the moment:   Can someone please help me out?  Thanks, Andreas
54412
My code are as follows:   \documentclass{article}     \usepackage[utf8]{inputenc}     \usepackage{lipsum}     \usepackage{booktabs}     \input{insbox}     \makeatletter     \@InsertBoxMargin = 12pt     \makeatother     \usepackage{nccmath}     \usepackage[showframe, nomarginpar]{geometry}     \usepackage{etoolbox} \usepackage{graphicx}     \newcommand*{\wrapitem}{\apptocmd{\labelenumi}{\hskip\leftmargin}{}{}\item\apptocmd{\labelenumi}{\hskip-\leftmargin}{}{}}     %     \newcommand{\InsertListL}[3][]{%     \setlength{\leftskip}{\leftmargin}\mbox{}\vspace*{-\baselineskip}%     \InsertBoxL{#2}{#3}[#1]\par \hspace{\itemindent}     }%     \newcommand{\InsertListR}[3][]{%     \mbox{}\vspace*{-\baselineskip}\setlength{\leftskip}{\leftmargin}%     \InsertBoxR{#2}{\hskip-\leftmargin#3\hskip\leftmargin}[#1]     }%      \begin{document}      \begin{enumerate}%      \wrapitem%     \InsertListL[2]{2}{\includegraphics{./images/c01uf006.pdf}}%     \lipsum[1]       \item     \InsertListR[12]{-40}{\includegraphics{./images/c01uf007.pdf}}     \lipsum[2]      \wrapitem%     \InsertListL[2]{2}{\includegraphics{./images/c01uf006.pdf}}%     \lipsum[1]      \end{enumerate}      \end{document}   Please suggest the below:   How can I move the wrap images vertically (upper and down movement)? How can I control unnecessary vertical white spaces?   Also, please correct any errors in coding.
94562
\documentclass{beamer}  \usepackage{subfig}  \begin{document}  test  \end{document}   returns undefined control sequence \@@magyar@captionfix  (It was not so in January; I am on fully updated pretest)
45076
I am giving a presentation and therefore I am using the  class. I have included some figures and it works, but there is no number after "Figure".  My code:  \documentclass{beamer}  \usepackage{graphicx} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{listings} \usepackage{xcolor} \usepackage{eso-pic} \usepackage{mathrsfs} \usepackage{url} \usepackage{amssymb} \usepackage{amsmath} \usepackage{multirow} \usepackage{hyperref} \usepackage{booktabs} \usepackage{wallpaper} \usepackage{bbm} \usepackage{cooltooltips} \usepackage{eso-pic} \usepackage{everyshi} \usepackage{calc} \usepackage{graphicx} \usepackage{ifthen} \usepackage{graphicx} \usepackage{wrapfig} \usepackage{animate} \usepackage[singlespacing]{setspace} \usepackage[absolute,overlay]{textpos} \usepackage{enumerate} \usepackage{hyperref} \newenvironment{changemargin}[2]{%   \begin{list}{}{%     \setlength{\topsep}{0pt}%     \setlength{\leftmargin}{#1}%     \setlength{\rightmargin}{#2}%     \setlength{\listparindent}{\parindent}%     \setlength{\itemindent}{\parindent}%     \setlength{\parsep}{\parskip}%   }%   \item[]}{\end{list}}  \setbeamercolor{frametitle}{fg=red,bg=white}  \hypersetup{pdfpagemode=FullScreen} \renewcommand*{\UrlFont}{\normalfont}  \usetheme{Goettingen} \useinnertheme{circles} \beamertemplatenavigationsymbolsempty  \setbeamerfont{page number in head/foot}{size=\large} \setbeamertemplate{footline}[frame number]   %%% \begin{document}  \frame[plain]{ \titlepage }  \setbeamertemplate{background canvas}[default]  \frame{ \frametitle{}  \begin{figure} \begin{center} \includegraphics[scale=0.2]{varweakness} \caption{VaR as a quantile} \end{center} \end{figure}  }   \end{document}   Which gives the following frame with the figure:    (I am not sure what is causing the problem, therefore I did not delete any package.)  How can I get a number, e.g. Figure 1:?
36029
I am trying to adjust spacing between entries in LoF and LoT. My code is  \documentclass[11pt,a4paper]{book} \usepackage[english,greek]{babel} \setcounter{secnumdepth}{3} \usepackage[iso-8859-7]{inputenc} \usepackage{kerkis} \usepackage[pdftex]{graphicx} \usepackage[margin=2.8cm]{geometry} \usepackage[Glenn]{fncychap} \usepackage{fancyhdr} %!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \usepackage{tocloft} \setlength\cftparskip{-15pt}%For ToC works great \setlength\cftbeforesecskip{-8pt}%For ToC works great \setlength\cftbeforesubsecskip{-5pt}%For ToC works great \setlength\cftbeforechapskip{-1pt}%For ToC works great \setlength\cftaftertoctitleskip{-50pt}%For ToC works great  % I also tried \renewcommand instead of \setlength \setlength\cftbeforeloftitleskip{-2cm}%It has no effect in LoF \setlength\cftbeforelottitleskip{-5cm}%It has no effect inLoT  \makeatletter \newcommand*{\tocwithouttitle}{\@starttoc{toc}} \makeatother %-------------------------------------------------------------------------------- \makeatletter \newcommand*{\lofwithouttitle}{\@starttoc{lof}} \makeatother %-------------------------------------------------------------------------------- \makeatletter \newcommand*{\lotwithouttitle}{\@starttoc{lot}} \makeatother %-------------------------------------------------------------------------------- %!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}  \begin{document}  %~~~~~~~~~~~~~~~~~~~~~~~Front-Page~~~~~~~~~~~~~~~~~~~~~~~~~~ \begin{titlepage} Εξώφυλλο \end{titlepage}  \chapter*{\contentsname} \markboth{\MakeUppercase{\contentsname}}{\MakeUppercase{\contentsname}} \tocwithouttitle \addcontentsline{toc}{chapter}{Πειρεχόμενα}  %LoF \chapter*{Κατάλογος σχημάτων}%List of Figures \markboth{\MakeUppercase{Κατάλογος Σχημάτων}}{\MakeUppercase{Κατάλογος Σχημάτων}} %\renewcommand\cftbeforeloftitleskip{5pt} %\renewcommand\cftbeforelottitleskip{5pt} \lofwithouttitle %\setlength\cftbeforefigskip{0pt} \addcontentsline{toc}{chapter}{Κατάλογος Σχημάτων}  %LoT \newpage  \chapter*{Κατάλογος Πινάκων} \markboth{\MakeUppercase{Κατάλογος Πινάκων}}{\MakeUppercase{Κατάλογος Πινάκων}} \lotwithouttitle %\renewcommand\cftbeforeloftitleskip{5pt} %\renewcommand\cftbeforelottitleskip{5pt} \addcontentsline{toc}{chapter}{Κατάλογος Πινάκων}  \newpage \end{document}   While some code is working on ToC(See comments in Preamble) I cannot adjust spacing in LoF/LoT. How can this be achieved?
76848
I switched from Windows 7 to Ubuntu 14.04. The following code was producing this .  \documentclass[oneside,english,a4paper, 12pt]{book} \usepackage{a4wide, fullpage, color, fancyhdr, lastpage, changepage, multirow, calligra, graphicx}     \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{geometry} \geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}  \makeatletter \let\ps@plain\ps@fancy% Plain page style = fancy page style \makeatother  \providecommand*{\wb}[2]{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}} \newcommand*{\cdiam}{\prec\kern-2pt\succ} \IfFileExists{upquote.sty}{\usepackage{upquote}}{}  \begin{document} \begin{titlepage} \fontfamily{pbk}\selectfont   \begin{adjustwidth*}{1.5cm}{2cm}     \vspace*{4.5\baselineskip}     \centering     \begin{picture}(600, 0)       \multiput(0, 110)(20, 0){20}{{\wb{10}{12}4}}                    % Top Line       \multiput(-5, 90)(0,-21){35}{\rotatebox{90}{{\wb{10}{12}4}}}    % Left Line       \multiput(0,-630)(20, 0){20}{{\wb{10}{12}4}}                    % Bottom Line       \multiput(400,90)(0,-21){35}{\rotatebox{90}{{\wb{10}{12}4}}}    % Right Line     \end{picture}     \end{adjustwidth*}     \end{titlepage} \end{document}   But now on Ubuntu 14.04 I'm getting output with the border shows up as a string of the number 4. I would highly appreciate if someone guide me how to install the required fonts. Thanks
70830
See code :  \documentclass[10pt,a4paper]{moderncv} \moderncvtheme[blue]{classic}                 \usepackage[utf8]{inputenc} \usepackage{color} \usepackage{amsmath} \usepackage{amssymb}  \usepackage{soul}% http://ctan.org/pkg/soul \usepackage[normalem]{ulem} \usepackage[T1]{fontenc} \renewcommand*{\sectionfont}{\Large\textbf\textsc}  \usepackage[inner=1.2cm,outer=1.2cm,top=0.9cm,bottom=0.9cm]{geometry}  \firstname{\Large{AAAA}} \familyname{\Large{\textsc{CCCC}}} \title{\small \textcolor{light-gray}{\textbf{CCCCC} }} \address{\textbf{CCCCC}}{\textbf{CCCCC}}   \mobile{\textbf{CCCC}}              \email{CCCC@aol.fr}  \extrainfo{\textbf{CCC}}     \renewcommand*{\emaillink}[2][]{ \ifthenelse{\equal{#1}{}} {\textbf{\href{mailto:#2}{#2}}} {\textbf{\href{mailto:#2}{#1}}}}  \renewcommand*{\emailsymbol}{\marvosymbol{66}}   \begin{document}  \cvitem{$\rhd$}{\small{\textbf{Xxxxxxx}}} \cvline{-}{\small{Yyyyyyyyyyyyy}} \cvline{-}{\small{Zzzzzzzzzzzzz}}  \cvitem{$\rhd$}{\small{\textbf{Aaaaaaaaaaaaaaaaaa}}} \cvline{-}      {\small{Bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb}} \cvline{-}{\small{Cccccccccccccccccccccccccccccc}} \cvline{-}{\small{Dddddddddddddddddddddddddddddddddddd}} \cvline{-}{\small{Eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee}}  \vspace{4cm}  %Mini page ?  \begin{minipage}[t]{0.1\textwidth} \cvitem{$\rhd$}{\small{\textbf{Xxxxxxx}}} \cvline{-}{\small{Yyyyyyyyyyyyy}} \cvline{-}{\small{Zzzzzzzzzzzzz}} \end{minipage} \hfill \begin{minipage}[t]{0.6\textwidth} \cvitem{$\rhd$}{\small{\textbf{Aaaaaaaaaaaaaaaaaa}}} \cvline{-}{\small{Bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb}} \cvline{-}{\small{Cccccccccccccccccccccccccccccc}} \cvline{-}{\small{Dddddddddddddddddddddddddddddddddddd}} \cvline{-}{\small{Eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee}} \end{minipage}    \end{document}   What I want to do is what you see after %Mini Page ? but as you can see some text goes outside page margin. How could I adapt it automatically (go to the next line) ?
100622
Could someone with experience in using these exercise typesetting packages please offer a quick compare and contrast of these packages to help me choose?  Packages under consideration are:         Having read briefly the documentation, they all seem to do the same thing generally, so could you please focus on the differences?  Some differences will not be obvious until I've learnt and used all the different packages but I want to better appreciate the differences now, a priori.
11092
\documentclass[oneside,12pt]{article} \usepackage{geometry} \usepackage{microtype} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern}  \usepackage{enumitem} \setlist[enumerate,1]{label=\bfseries\Alph*,align=left,leftmargin=*,   labelsep=1.5em} \setlist[enumerate,2]{label=\arabic*.,labelindent=1em,labelsep=1.5em,   leftmargin=*}  \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsthm} \theoremstyle{definition} \newtheorem*{sol}{Solution}  \usepackage{forest} \forestset{   ass/.append style={     before computing xy={l=\baselineskip},     no edge   },   prooftree/.style={     for tree={       child anchor=north,       parent anchor=south     }   } }  \begin{document} \subsection*{Exercises 29} \begin{enumerate} \item Use QL trees to evaluate the entailment claims (1) to (10) in Exercises   28A.   \begin{enumerate}   \item $\forall x(Fx\supset Gx)\vDash\forall x(Gx\supset Fx)$      \begin{forest}       prooftree       [$\forall x(Fx\supset Gx)$       [$\neg\forall x(Gx\supset Fx)\checkmark$,ass       [$\exists x\neg(Gx\supset Fx)\checkmark$,ass       [$\neg(Ga\supset Fa)\checkmark$,ass       [$Ga$,ass       [$\neg Fa$,ass       [$(Fa\supset Ga)\checkmark$,ass       [$\neg Fa$] [$Ga$]]]]]]]]     \end{forest}      $\neg Fa$ and $Ga$ make the premisses and the negation of conclusion true.     Thus, the entailment is invalid.   \item $\forall x(Fx\supset Gx)\vDash\forall x(\neg Gx\supset\neg Fx)$      \begin{forest}       prooftree       [$\forall x(Fx\supset Gx)$       [$\neg\forall x(\neg Gx\supset\neg Fx)\checkmark$,ass       [$\exists x\neg(\neg Gx\supset\neg Fx)\checkmark$,ass       [$\neg(\neg Ga\supset\neg Fa)\checkmark$,ass       [$\neg Ga$,ass       [$\neg\neg Fa$,ass       [$(Fa\supset Ga)\checkmark$,ass       [$\neg Fa$ [*,ass]] [$Ga$ [*,ass]]]]]]]]]     \end{forest}      Since the tree closes, the entailment is valid.   \item $\forall x\exists yLxy\vDash\forall y\exists xLyx$      \begin{forest}       prooftree       [$\forall x\exists yLxy$       [$\neg\forall y\exists xLyx\checkmark$,ass       [$\exists y\neg\exists xLyx\checkmark$,ass       [$\neg\exists xLax\checkmark$,ass       [$\forall x\neg Lax$,ass       [$\exists yLay\checkmark$,ass       [$Lab$,ass]]]]]]]     \end{forest}      \begin{forest}       prooftree       [$\neg Lab$,ass [*,ass]]     \end{forest}   \item $\forall x((Fx\wedge Gx)\supset Hx)\vDash\forall     x(Fx\supset(Gx\supset Hx))$   \item $(\forall xFx\vee\forall xGx)\vDash\forall(Fx\vee Gx)$   \item $\forall x(Fx\supset Gx),\forall x(\neg Gx\supset Hx)\vDash     \forall x(Fx\supset\neg Hx)$   \item $\exists x(Fx\wedge Gx),\forall x(\neg Hx\supset\neg Gx)\vDash     \exists x(Fx\wedge Hx)$   \item $\forall x\exists y(Fy\supset Gx)\vDash\forall y\exists x(Gx\supset     Fy)$   \item $\forall x\forall y(Lxy\supset Lyx)\vDash\forall xLxx$   \item $\forall x(\exists yLxy\supset\forall zLzx)\vDash\forall x\forall y     (Lxy\supset Lyx)$   \end{enumerate} \end{enumerate} \end{document}   Usually, I have to manually split a forest tree into two to emulate page breaking in a forest tree. However, the second tree doesn't vertically align with the first as in the picture below. How can I vertically align them together? @cfr