Tag Info

New answers tagged

1

Is this what you were looking for? Note: the last line doesn't fit inside \textwidth. \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage[T1]{fontenc} \usepackage{tikz} \begin{document} \begin{figure} \includegraphics[width=\linewidth]{example-image-a} \caption{dummy figure} \end{figure} ...


2

What you do with \foo[listofname={\listofmarxbrothersname},listext=mb,countername={mb}]{marxbrothers} is essentially \newlistof{\foocountername}{\foolistext}{\foolistofname} \newcommand\marxbrothers[1]{% \addcontentsline{\foolistext}{section}{\csname the\foocountername\endcsname~##1}% ...% } which is certainly not what you want, because ...


0

Whilst chemscheme does what it does well, it's not really that easy to integrate it into a complex set up like classicthesis. I'd probably simply define the scheme environment by hand at the appropriate point \documentclass{scrreprt} \usepackage{float} \usepackage{tocloft} \newlistof[chapter]{scheme}{los}{List of Schemes} \makeatletter ...


1

You can achieve this e.g. with titletoc: \documentclass[a4paper,10pt]{article} \usepackage{titletoc,geometry} \geometry{textwidth=10cm,showframe} \contentsmargin{0.5cm} \titlecontents{figure} [1.7cm] {} {\makebox[0pt][r]{% \makebox[1.7cm][l]{Figure~\thecontentslabel:}% }% } {\hspace{-1.7cm}} {\titlerule*[6pt]{.}\contentspage} ...


1

You need to use adequate caption settings. For example: \documentclass{book} \usepackage{graphicx}% <-- for more options, read caption manual \usepackage[hang]{caption}% <-- for more options, read caption manual \setlength\textwidth{77mm} %\usepackage[active,floats,tightpage]{preview}% just for see figure %\setlength\PreviewBorder{1em} ...


0

Based on the answer here I added the following to the code before \begin{document}: \newlistof{listofschemes}{los}{\listschemename} \newlistentry{scheme}{los}{0} \renewcommand{\cftschemepresnum}{Scheme~} \setlength\cftschemenumwidth{8em} \setlength\cftschemeindent{0.1em} This causes an error on compile, that scheme has been previously defined, but if ...


0

I faced similar issues and could not find an elegant solution online. Eventually, I could hack some lines in the code and found a workaround which worked for my dissertation submission. In Preamble: \usepackage{tocloft} % For table of contents formatting \usepackage{setspace} % For spacing %% Table of contents formatting ...


0

Disclaimer: I haven't personally used chemnum (happily a physical chemist!) but as I understand it from the documentation the option pre-label-code inserts data (in this case, "scheme") before any location where the label appears, and one assumes this includes the contents lists.


2

A solution that requires a change in the file for the final version with only the list of figures. You keep the line \nofiles\renewcommand{\processdelayedfloats} commented out until you have the document in final form; the figures will be printed at the end. When your document is finished, uncomment the two lines and run LaTeX again. Here's an example ...


0

\equationpage simply lists the equations using equation environments. You can apply any column or font formatting you want. Note: the equation* environment will not be saved for the list. \documentclass{article} \usepackage{mathtools} \usepackage{environ} \newcounter{eqsaved} \newcounter{eqused} \let\oldequation=\equation% save original equation ...



Top 50 recent answers are included