Generallist of figure captions

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

list of figure captions

Post by Stefan Kottwitz »

Hi,

you could insert \allowbreak at some points to allow TeX to break the line, or you even redefine \textsubscript to allow line breaks after it:

Code: Select all

\newcommand*\stdtextsubscript{}
\let\stdtextsubscript\textsubscript
\renewcommand*\textsubscript[1]{\stdtextsubscript{#1}\allowbreak}
Concerning the authors on the titlepage it may be caused by the margins. Perhaps I could give more specific advice if you post a compilable minimal working example showing the title page with your settings.

Stefan
LaTeX.org admin

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

Re: list of figure captions

Post by spiegboy »

thank you very much, it successfully solves the problem on the subscriptions, but there is still another problem on the word, like
'heat-treated' or 'glass-coated'. they appear at the end of the line and only break at the hyphen, making the sentence a little bit long in one line, could you help, thanks a lot
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: list of figure captions

Post by Stefan Kottwitz »

You could insert \- to allow hyphenation at certain places.

Stefan
LaTeX.org admin
spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

list of figure captions

Post by spiegboy »

1,i got it, but is there any command or package that is capable of making the this kind of compound words break line automatically? thank you very much.

2,here is the code of my title page

Code: Select all

\title{blah,blah,blah}
\author{Author A$^1$\footnotemark[1]~, Author B$^1$, Author C$^2$ ,  Author D$^3$ , Author E$^4$ \\[0.5cm]
{\small\it $^1$ Author A addr part 1,}\\
        {\small\it Author A addr part 2}\\[0.2cm]
        ...}
\date{}

\renewcommand {\thefootnote}{\fnsymbol{footnote}}
\footnotetext[1]{Author for correspondence: ...}

\documentclass[12pt,a4paper,english,titlepage,abstracton]{scrartcl}
\begin{document}

\maketitle
...
As i said before, this page could not be properly presented, the author list goes to very right side.

could you help, thanks a lot

i
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

list of figure captions

Post by Stefan Kottwitz »

spiegboy wrote: another question is when i use document class 'scrartcl' with the option, titlepage and abstracton, the titlepage does not show the right position of authors, they are way too at the right side
What do you get with this compilable (completed) example? The same problem, too much to the right?

Code: Select all

\documentclass[a4paper,10pt,titlepage,abstracton]{scrartcl}
\title{blah,blah,blah}
\author{Author A$^1$\footnotemark[1]~, Author B$^1$, Author C$^2$ ,
  Author D$^3$ , Author E$^4$ \\[0.5cm]
{\small\it $^1$ Author A addr part 1,}\\
        {\small\it Author A addr part 2}\\[0.2cm]
        ...}
\date{}

\renewcommand {\thefootnote}{\fnsymbol{footnote}}
\footnotetext[1]{Author for correspondence: ...}

\begin{document}
\maketitle
\end{document}
Stefan
LaTeX.org admin
spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

Re: list of figure captions

Post by spiegboy »

there is no problem with it when font is 11 or 10, so can i change the default font of the author, thank you very much
adin
Posts: 5
Joined: Wed Nov 17, 2010 9:46 am

list of figure captions

Post by adin »

Hi,

I was looking for this exact thing. Thanks for the posts.
Stefan_K wrote:

Code: Select all

{\renewcommand*\numberline[1]{Fig.\,#1:\space}
\makeatletter
\renewcommand*\l@figure[2]{\noindent#1\par}
\makeatother
\listoffigures}
Of course you may replace the colon : by a dot, but I thought the colon would be more common.
I was wondering, is there any way of put the output of the list of figures into a new file? I want to use a similar code to this one, but the output (list of figures) should be in a different file instead of the same document.
Post Reply