IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Beamer Discussion :

modifier la présentation du champ "author"


Sujet :

Beamer

  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Janvier 2008
    Messages
    72
    Détails du profil
    Informations personnelles :
    Âge : 41
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations forums :
    Inscription : Janvier 2008
    Messages : 72
    Points : 88
    Points
    88
    Par défaut modifier la présentation du champ "author"
    Bonjour,

    Voilà mon problème :
    Je fais une présentation pour une conférence, où nous sommes un nombre conséquent d'auteurs (en fait, on est 12... no comment), bon bref, j'ai deux questions :
    - Est-il possible de souligner d'une façon qui marche (sans génération d'erreur) le nom de celui qui parle (moi) ? J'ai essayé avec "\underline{}" et même "\protect\underline{}", il souligne bien mon nom mais il génère 1 erreur et 16 warnings... Y a-t-il une façon "propre" de faire celà ?
    - Comment changer la taille des caractères de ca champ ? J'ai fait avec un
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    \protect\begin{footnotesize} [...] \protect\end{footnotesize}
    , mais je suppose qu'il doit y avoir une commande du genre qui doit être un peu plus "propre" également.

    Voilà, c'est tout pour aujourd'hui

    Merci pour vos réponses !

  2. #2
    Membre expert
    Avatar de pitipoisson
    Homme Profil pro
    Chercheur
    Inscrit en
    Septembre 2006
    Messages
    1 942
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Finistère (Bretagne)

    Informations professionnelles :
    Activité : Chercheur
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Septembre 2006
    Messages : 1 942
    Points : 3 378
    Points
    3 378
    Par défaut
    Bonjour,
    Citation Envoyé par Thyb1 Voir le message
    - Comment changer la taille des caractères de ca champ ? J'ai fait avec un
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    \protect\begin{footnotesize} [...] \protect\end{footnotesize}
    , mais je suppose qu'il doit y avoir une commande du genre qui doit être un peu plus "propre" également.
    Plus "propre", je ne sais pas, mais plus simple peut-être. Pour quoi ne pas simplement utiliser
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    \author{\footenotesize{}...}
    ?
    Forum LaTeX : pour des réponses rapides et appropriées, pensez à poster un
    ECM = Exemple (reproduit le problème) Complet (document compilable) Minimal (ne postez pas votre thèse !)

    Une solution vous convient ? N'oubliez pas le tag


    )><))))°>

  3. #3
    Membre expert
    Avatar de pitipoisson
    Homme Profil pro
    Chercheur
    Inscrit en
    Septembre 2006
    Messages
    1 942
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Finistère (Bretagne)

    Informations professionnelles :
    Activité : Chercheur
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Septembre 2006
    Messages : 1 942
    Points : 3 378
    Points
    3 378
    Par défaut
    Re,

    Concernant tes erreurs avec \underline, je suis fort étonné. Je suis en-train de travailler à une présentation Beamer et j'ai fais le test : ça marche impeccablement bien ! (même sans \protect).

    Quel est ton message d'erreur ?
    Peux-tu poster un ECM ?

    Il se peut également que l'erreur soit ailleurs et ne se révèle que lorsque tu mets \underline (accolade fermante en trop, etc.).
    Forum LaTeX : pour des réponses rapides et appropriées, pensez à poster un
    ECM = Exemple (reproduit le problème) Complet (document compilable) Minimal (ne postez pas votre thèse !)

    Une solution vous convient ? N'oubliez pas le tag


    )><))))°>

  4. #4
    Membre régulier
    Profil pro
    Inscrit en
    Janvier 2008
    Messages
    72
    Détails du profil
    Informations personnelles :
    Âge : 41
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations forums :
    Inscription : Janvier 2008
    Messages : 72
    Points : 88
    Points
    88
    Par défaut
    Ah... c'est étrange en éffet

    Mon code :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    \author[T. \textsc{Laurent} et al]{
    \protect\begin{footnotesize}\protect\underline{T.~\textsc{Laure}}\inst{1} \and H.~\textsc{Marin}\inst{1} \and G.~\textsc{Sab}\inst{1} \and P.~\textsc{Nou}\inst{1} \and J.~\textsc{Torr}\inst{1} \and C.~\textsc{Paler}\inst{1} \and L.~\textsc{Chus}\inst{1} \and L.~\textsc{Vara}\inst{1} \and Y.~\textsc{Cord}\inst{2} \and E.~\textsc{Stari}\inst{3} \and P.~\textsc{Shikt}\inst{3} \and V.~\textsc{Gruzhin}\inst{3}
    \protect\end{footnotesize}
    }
    et le message d'erreur (avec ou sans les "\protect", c'est pareil) :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    [PDFLaTeX] finished with exit status 1
    HETECH_Laurent_pres.tex:42:Use of \beamer@author doesn't match its definition. }
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\-command' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\-command'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\reserved@a' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\reserved@a'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\global' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\global'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\let' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\let'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\begingroup' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\begingroup'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\let' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\let'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\@@underline' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\@@underline'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\hbox' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\hbox'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\mathsurround' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\mathsurround'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\z@' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\z@'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\endfootnotesize' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\endfootnotesize'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\-command' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\-command'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\reserved@a' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\reserved@a'
    HETECH_Laurent_pres.tex:42: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\endgroup' on input line 42. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\endgroup'
    [PDFLaTeX] 1 error, 16 warnings, 0 badboxes



    Edit :
    Quand je mets "\footnotesize{...}" à la place de "\begin{footnotesize}...\end{footnotesize}", il n'y a plus que des warnings :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    [PDFLaTeX] HETECH_Laurent_pres.tex => HETECH_Laurent_pres.pdf (pdflatex)
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift'
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\@@underline' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\@@underline'
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\hbox' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\hbox'
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\mathsurround' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\mathsurround'
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\z@' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\z@'
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift'
    [PDFLaTeX] 0 errors, 6 warnings, 0 badboxes

  5. #5
    Membre expert
    Avatar de pitipoisson
    Homme Profil pro
    Chercheur
    Inscrit en
    Septembre 2006
    Messages
    1 942
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Finistère (Bretagne)

    Informations professionnelles :
    Activité : Chercheur
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Septembre 2006
    Messages : 1 942
    Points : 3 378
    Points
    3 378
    Par défaut
    Citation Envoyé par Thyb1 Voir le message
    Edit :
    Quand je mets "\footnotesize{...}" à la place de "\begin{footnotesize}...\end{footnotesize}", il n'y a plus que des warnings :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    [PDFLaTeX] HETECH_Laurent_pres.tex => HETECH_Laurent_pres.pdf (pdflatex)
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift'
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\@@underline' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\@@underline'
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\hbox' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\hbox'
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\mathsurround' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\mathsurround'
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `\z@' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `\z@'
    HETECH_Laurent_pres.tex:39: Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift' on input line 39. Token not allowed in a PDFDocEncoded string,(hyperref) removing `math shift'
    [PDFLaTeX] 0 errors, 6 warnings, 0 badboxes
    Il s'agit des champs, bookmarks, etc. du pdf qui ne supportent pas les commandes de formatage LaTeX. Ces avertissements ne sont pas grave (aucun ou peut d'effet sur la présentation), puisque d'après les message, les parties incriminées ont été enlevées (ici du champs author du pdf, regarde dans les propriétés de ton document, via le lecteur pdf, pour t'en convaincre).

    Si tu souhaites malgré tout les supprimer, je te suggère d'utiliser la commande
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    \texorpdfstring{texte \emph{avec} des commandes de formatage}{texte sans commande de formatage}
    (package hyperref). Ça peut - parmi d'autre possibilité - te permettre de te mettre en seul auteur du document (mais pas du travail présenté)...
    Forum LaTeX : pour des réponses rapides et appropriées, pensez à poster un
    ECM = Exemple (reproduit le problème) Complet (document compilable) Minimal (ne postez pas votre thèse !)

    Une solution vous convient ? N'oubliez pas le tag


    )><))))°>

  6. #6
    Membre régulier
    Profil pro
    Inscrit en
    Janvier 2008
    Messages
    72
    Détails du profil
    Informations personnelles :
    Âge : 41
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations forums :
    Inscription : Janvier 2008
    Messages : 72
    Points : 88
    Points
    88
    Par défaut
    OK, nickel, j'ai compris. La commande ne génère plus d'erreur et tout est rentré dans l'ordre.

    Merci beaucoup !

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Requête avec champ NULL simple quote
    Par tidou95220 dans le forum Requêtes
    Réponses: 2
    Dernier message: 13/07/2012, 13h15

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo