LaTeX forum ⇒ XeTeXFootnote symbols don't show using \thanks{} and fontspec

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
gioacchele
Posts: 5
Joined: Fri Mar 27, 2009 12:45 pm

Footnote symbols don't show using \thanks{} and fontspec

Postby gioacchele » Wed Jul 08, 2009 4:20 pm

Hi all
I've used xelatex and fontspec.sty to use custom opentype fonts in latex documents. Everything seems to work except for the fact i don't see footnote symbols (like asterisk, dagger, etc.) using the command \thanks{} in the \title or \author fields.

Here's an example

  1. \documentclass[12pt,a4paper]{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage[english]{babel}
  4.  
  5. \usepackage{fontspec}
  6. % set fonts
  7. \fontspec{Cronos Pro}
  8. \setromanfont{Cronos Pro}
  9.  
  10. \title{\begin{center}This is a Title\end{center}}
  11. \author{Random J. Author\thanks{Ministry of Silly Walks}}
  12. \date{}
  13.  
  14.  
  15. \begin{document}
  16. \maketitle
  17.  
  18. \paragraph{1} Blablabla
  19.  
  20. \end{document}


You can find the pdf output enclosed.
Any ideas?

Thanks!
Attachments
example.pdf
Output
(11.87 KiB) Downloaded 501 times

Tags:

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Wed Jul 08, 2009 5:24 pm

Replace the inputenc package with xunicode. Take also a look at xltxtra package. Omit the mysterious center environment around the title. It is completely superfluous since the title is centered automatically.


Best regards
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

gioacchele
Posts: 5
Joined: Fri Mar 27, 2009 12:45 pm

Postby gioacchele » Thu Jul 09, 2009 11:32 am

It works including the xltxtra package.

Thanks a lot!
amir

Cadwallon
Posts: 8
Joined: Sun Jul 27, 2014 1:38 pm

Postby Cadwallon » Tue Aug 05, 2014 4:21 pm

I have a very similar issue using fontspec.

In fact, writing a document of three authors, all the authors' thanks are just yielded as the last one's: Double-dagger.


  1. \documentclass[10pt]{extarticle}
  2.  
  3. % \usepackage[latin1]{inputenc} % not for XeLaTeX
  4. \usepackage{xltxtra}
  5.  
  6. % Fontspec for Fonts
  7. \usepackage{fontspec}
  8. \setmainfont{Palatino Linotype}
  9. \setsansfont{Futura Std Book}[Scale=MatchUppercase]
  10. \setmonofont{Courier New}[Scale=MatchLowercase]
  11. \usepackage{titling}
  12.  
  13. \pretitle{\begin{center}\LARGE\sffamily}
  14. \posttitle{\par \end{center}\vskip 0.5em}
  15. \preauthor{\begin{center}
  16. \large\sffamily \lineskip 0.5em%
  17. \begin{tabular}[t]{c}}
  18. \postauthor{\end{tabular}\par\end{center}}
  19. \predate{\begin{center}\large\sffamily}
  20. \postdate{\par\end{center}}
  21. \title{Brief Review}
  22.  
  23. \author{
  24. Cadwallon
  25. \thanks{ \sffamily Main Author}
  26. \and Author 2
  27. \thanks{ \sffamily Sidekick}
  28. \and Author 3
  29. \thanks{ \sffamily Sidekick}
  30. }
  31. \date{ \today}
  32. \begin{document}
  33. \maketitle
  34.  
  35. \end{document}



This yields the following pdf.
Attachments
test_Main.pdf
(13.68 KiB) Downloaded 235 times

User avatar
Johannes_B
Site Moderator
Posts: 3671
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Aug 05, 2014 4:51 pm

I do not possess the fonts, can you please run the following example and state the result?
  1. \listfiles\documentclass{extarticle}
  2. \usepackage{fontspec}
  3.  
  4. \title{Brief Review}
  5. \author{
  6. Cadwallon%
  7. \thanks{ \sffamily Main Author}
  8. \and Author 2%
  9. \thanks{ \sffamily Sidekick}
  10. \and Author 3%
  11. \thanks{ \sffamily Sidekick}
  12. }
  13. \begin{document}
  14. \maketitle
  15.  
  16. \end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Cadwallon
Posts: 8
Joined: Sun Jul 27, 2014 1:38 pm

Postby Cadwallon » Tue Aug 05, 2014 5:24 pm

The result concerning the thanks is the same. All authors have double-daggers.

User avatar
Johannes_B
Site Moderator
Posts: 3671
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Aug 05, 2014 5:34 pm

If you copied my example your log-file contains a file list at the end. I guess somewhere your versions are out of date. Please compare with my filelist, as i can see the expected output.
  1. This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013) (format=xelatex 2013.7.11) 5 AUG 2014 16:45
  2.  
  3. *File List*
  4. extarticle.cls 1996/10/08 v1.0 Non Standard LaTeX document class
  5. size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
  6. exscale.sty 2007/10/29 v2.1h Standard LaTeX package exscale
  7. fontspec.sty 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX
  8. expl3.sty 2014/01/07 v4646 L3 Experimental code bundle wrapper
  9. l3names.sty 2014/01/04 v4640 L3 Namespace for primitives
  10. l3bootstrap.sty 2014/01/04 v4640 L3 Experimental bootstrap code
  11. etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
  12. l3basics.sty 2014/01/04 v4642 L3 Basic definitions
  13. l3expan.sty 2014/01/04 v4642 L3 Argument expansion
  14. l3tl.sty 2013/12/27 v4625 L3 Token lists
  15. l3seq.sty 2013/12/14 v4623 L3 Sequences and stacks
  16. l3int.sty 2013/08/02 v4583 L3 Integers
  17. l3quark.sty 2013/12/14 v4623 L3 Quarks
  18. l3prg.sty 2014/01/04 v4642 L3 Control structures
  19. l3clist.sty 2013/07/28 v4581 L3 Comma separated lists
  20. l3token.sty 2013/08/25 v4587 L3 Experimental token manipulation
  21. l3prop.sty 2013/12/14 v4623 L3 Property lists
  22. l3msg.sty 2013/07/28 v4581 L3 Messages
  23. l3file.sty 2013/10/13 v4596 L3 File and I/O operations
  24. l3skip.sty 2013/07/28 v4581 L3 Dimensions and skips
  25. l3keys.sty 2013/12/08 v4614 L3 Experimental key-value interfaces
  26. l3fp.sty 2014/01/04 v4642 L3 Floating points
  27. l3box.sty 2013/07/28 v4581 L3 Experimental boxes
  28. l3coffins.sty 2013/12/14 v4624 L3 Coffin code layer
  29. l3color.sty 2012/08/29 v4156 L3 Experimental color support
  30. l3luatex.sty 2013/07/28 v4581 L3 Experimental LuaTeX-specific functions
  31. l3candidates.sty 2014/01/06 v4643 L3 Experimental additions to l3kernel
  32. ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
  33. xparse.sty 2013/12/31 v4634 L3 Experimental document command parser
  34. fontspec-patches.sty 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTe
  35. X
  36. fixltx2e.sty 2006/09/13 v1.1m fixes to LaTeX
  37. fontspec-xetex.sty 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX
  38. fontenc.sty
  39. eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
  40. eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
  41. xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many oth
  42. er characters in Unicode lower plane
  43. eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
  44. graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  45. keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
  46. graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  47. trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
  48. graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
  49. xetex.def 2014/04/07 v0.99 LaTeX color/graphics driver for XeTeX (RRM/JK)
  50.  
  51. fontspec.cfg
  52. t3cmr.fd 2001/12/31 TIPA font definitions
  53. ***********
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Cadwallon
Posts: 8
Joined: Sun Jul 27, 2014 1:38 pm

Postby Cadwallon » Tue Aug 05, 2014 5:48 pm

For the sake of brevity, pray tell, how did you call your XeLaTeX to obtain a logfile of this style? Mine contains the full path to the files.

User avatar
Johannes_B
Site Moderator
Posts: 3671
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Aug 05, 2014 6:14 pm

Really? My output should be standard. But it's ok if the filenames are there, as long as you can see the version numbers.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Cadwallon
Posts: 8
Joined: Sun Jul 27, 2014 1:38 pm

Postby Cadwallon » Tue Aug 05, 2014 6:38 pm

Ok, I figured out.

In fact, it looks like I have up to date versions.

However, there are several 13something.sty not included in my list.

I use TexLive 2014.


  1. This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014/W32TeX) (preloaded format=xelatex 2014.7.23) 5 AUG 2014 18:16
  2.  
  3.  
  4. *File List*
  5. extarticle.cls 1996/10/08 v1.0 Non Standard LaTeX document class
  6. size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
  7. exscale.sty 2007/10/29 v2.1h Standard LaTeX package exscale
  8. fontspec.sty 2014/06/21 v2.4a Font selection for XeLaTeX and LuaLaTeX
  9. expl3.sty 2014/07/20 v5241 L3 programming layer (loader)
  10. expl3-code.tex 2014/07/20 v5241 L3 programming layer
  11. etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
  12. l3unicode-data.def 2014/06/30 v5166 L3 Unicode data
  13. l3xdvipdfmx.def
  14. xparse.sty 2014/07/20 v5241 L3 Experimental document command parser
  15.  
  16. fontspec-patches.sty 2014/06/21 v2.4a Font selection for XeLaTeX and LuaLaTeX
  17.  
  18. fontspec-xetex.sty 2014/06/21 v2.4a Font selection for XeLaTeX and LuaLaTeX
  19. fontenc.sty
  20. eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
  21. eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
  22. xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many oth
  23. er characters in Unicode lower plane
  24. eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
  25. graphicx.sty 2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
  26. keyval.sty 2014/05/08 v1.15 key=value parser (DPC)
  27. graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  28. trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
  29. graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
  30. xetex.def 2014/04/28 v4.01 LaTeX color/graphics driver for XeTeX (RRM/JK)
  31.  
  32. fontspec.cfg
  33. t3cmr.fd 2001/12/31 TIPA font definitions
  34. ***********


Return to “XeTeX”

Who is online

Users browsing this forum: No registered users and 1 guest