15

Academicons has TeX package at https://ctan.org/pkg/academicons which is supported by ORCiD. You may also download SVG or PNG icons from ORCiD website, https://orcid.org/trademark-and-id-display-guidelines Example: Add following in Document SetUp section of tex file. Second line will define ORCiD recommended color for icon. \usepackage{academicons} \...


15

Here is a pdflatex solution which uses tikz and the original .svg of the orcid icon. Here are the steps: Using the svg.path TikZ library you can faithfully replicate the icon. I've used the scalerel package to scale the icon to the size of | (a vertical bar). This means it scales nicely with the size of the font. No special reason for choosing | other ...


13

Option colorlinks of package hyperref sets colors for all link types. Class beamer does not use this option, but uses option pdfborder to remove the link annotation rectangles. The problem can be solved by using the special color . of package xcolor that refers to the current color: \hypersetup{ colorlinks, allcolors=., urlcolor=blue, } First, the ...


6

the error message is ! Undefined control sequence. <argument> ...toreSpaceFactor \Hy@LinkMath \color {blue}recent\Hy@xspace@end... l.21 ...t-post-truth-politics}{\color{blue}recent} ? which shows the undefined command is \color as you have not loaded the color or xcolor package.


5

I think you can get the Print flag set if you (ab)use the pdfa option. \usepackage[pdfa]{hyperref} (see section "5.12 Option pdfa" of the hyperref manual). This at least seems to work on my local installation (gs 9.25 as required. Without the pdfa option and running your gs command with -dPrinted the hyperlinks are dropped; with the pdfa option the ...


5

\citeurl does not return the URL of the entry in question (in an expandable way), instead it is meant to print the formatted URL. That means that it can't be used as the URI argument for \href. If you want to be able to \href the URL of an entry to arbitrary text, the simplest way is to create a new \cite... macro. Since \cite... macros have a fixed argument ...


5

If you have an url with special chars you should define it (and the main problem is the # here): \documentclass{article} \usepackage{hyperref} \urldef\myurl\url{https://webbook.nist.gov/cgi/cbook.cgi?ID=C69727&Type=HCOMBS#HCOMBS} \begin{document} my text \footnote{\myurl} \end{document}


4

\documentclass[a4paper,11pt,ngerman]{article} \usepackage{hyperref} \usepackage[edges]{forest} \usepackage{caption} \tikzset{parent/.style={align=center,text width=0.4cm,rounded corners=3pt}, child/.style={align=center,text width=5cm,rounded corners=3pt} } \colorlet{col1}{white} \colorlet{col2}{cyan!5} \colorlet{col3}{...


4

From the linked related answer: Springer picks up ORCID from LaTeX in the following format: Add it as the last line of your address. NOTE: this is in the header, but not wrapped by \hypersetup{} \documentclass[11pt]{article} \author{Herr Doktor John Smith} \address{Dept. of Mathematical Sciences \\ University of Awesome\\ Liverpool 56893-3242\\ ...


4

The protocol is missing, thus \href does not know, that the partial URL is an HTTP(s) link and assumes a file name. Fix: \href{https://www.linkedin.com/in/john-doe}{...}


4

Command \ocglinkprotect{...} defined by ocgx2 was provided for such special cases: \documentclass{article} \usepackage[colorlinks,linkcolor=blue]{hyperref} \usepackage[ocgcolorlinks]{ocgx2} \usepackage{graphicx} \newcommand\myfmt[1]{\ocglinkprotect{\scalebox{.8}[.7]{#1}}} \begin{document} \hypertarget{t1}{Some text}. \hyperlink{t1}{Unformatted link}. %...


4

It is no different from other hyperlinks. Just define the targets and construct the links as usual. \documentclass{beamer} \usepackage{pgffor} % For \foreach \begin{document} \begin{frame}{\hypertarget{frame:A}{Frame A}} \hyperlink{frame:B}{Go to Frame B} \end{frame} \foreach \i in {1, ..., 10} { \begin{frame}{Dummy frame} \[ \i \] \...


4

It works fine for me. Both links work in sumatra and adobe: \documentclass[]{article} \usepackage{l3pdf} \ExplSyntaxOn \pdf_uncompress: \ExplSyntaxOff \usepackage{hyperref} \begin{document} \hypertarget{hypertarget}{Target} \newpage \hyperlink{hypertarget}{AAA \href{https://tex.stackexchange.com/}{BBB}} some \end{document} You can also check that the pdf ...


3

You probably want something completely different: As hyperlink is primarily useful for linking within the document you want to use \href which takes two arguments. For that to work you also need to fix your \textbf(Note} to use another curly brace at the beginning. \documentclass[12pt]{article} \usepackage[margin=1in]{geometry} \usepackage{hyperref} \...


3

If \href or \url is not used inside the argument of other macros, then % just works, because hyperref reads the URL argument verbatim. However, if \href or \url are used inside the argument of other commands, the category changes for verbatim category codes come too late, the string is already read by TeX. For this case, some problematic characters like % ...


3

Three comments, three viable solutions: all work, at least with the pdftex driver. % My standard header for TeX.SX answers: \documentclass[a4paper]{article} % To avoid confusion, let us explicitly % declare the paper format. \usepackage[T1]{fontenc} % Not always necessary, but recommended. % End of standard header. ...


3

You need \NewDocumentCommand{\xindex}{m}% {\protect\hyperlink{ind:#1}{#1}% write #1 to MainText \index{#1@\protect\leavevmode\protect\hypertarget{ind:#1}{#1}}% write #1 to Index }%


3

hyperref's ocgcolorlinks option prevents line breaking inside the link text. Use package ocgx2 instead. It allows longer link text to wrap around line and page breaks: \usepackage[linktocpage,allcolors=blue]{hyperref} \usepackage[ocgcolorlinks]{ocgx2}


3

This both adds the section number to the back link, and removes the section number from the toc line. The latter was definitely harder. \documentclass[11pt]{article} \usepackage[margin=0.5in,footskip=0.4in]{geometry} \usepackage[T1]{fontenc} \usepackage{etoolbox} \usepackage{hyperref} \hypersetup{ colorlinks=true, linkcolor=blue, linktoc=all, } ...


3

You can use the following template of Springer journals with some additions where I make hyperlink to the image of ORCID in \author. %%%%%%%%%%%%%%%%%%%%%%% file template.tex %%%%%%%%%%%%%%%%%%%%%%%%% % % This is a general template file for the LaTeX package SVJour3 % for Springer journals. Springer Heidelberg 2010/09/16 % % Copy it to a new file ...


3

The second arguments of the existing \hyperlink/\hypertarget pair can be made into a corresponding \hypertarget/\hyperlink pair. \documentclass{article} \usepackage[colorlinks]{hyperref} \begin{document} \section{A section} Content with a hyperlink to some later \hyperlink{linkB}{\hypertarget{linkA}{content}}. \clearpage \section{Another section} Content ...


3

Try the following version of cleveref.4ht: % cleveref.4ht (2018-06-08-16:51), generated from tex4ht-4ht.tex % Copyright 2018 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3c of this license or (at your option) any % later version. The latest version of this ...


3

Well, I suppose you report this bug to the maintainer of hyperref. Until it is corrected you can use the following workaround: \newcommand{\myhypertarget}[3][red]{\hypertarget{#2}{\textcolor{#1}{#3}}}% Command \myhypertarget sets the colour red manually to the target text. With the following MWE \documentclass[a4paper]{revtex4-2} \usepackage{xcolor} \...


3

with pdflatex you get warnings: \documentclass{article} \usepackage{hyperref} \begin{document} \hypertarget{abc}{``reference''} Hyperref properly points to the \hyperlink{abc}{reference} above. This \hyperlink{Hello}{reference} instead does not work (cause no hypertarget with label name was given) but xeLaTeX does not warn me. \hypertarget{...


2

If there are several authors, make a new command with the argument of the ORCID. Using @Samir's answer, create a XeLaTeX document with the following at the top: \documentclass{article} \usepackage{hyperref} \usepackage{academicons} \usepackage{xcolor} \newcommand{\orcid}[1]{\href{https://orcid.org/#1}{\textcolor[HTML]{A6CE39}{\aiOrcid}}} \title{Some ...


Only top voted, non community-wiki answers of a minimum length are eligible