Questions tagged [button]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
33 views

Button to show and hyperref hidden page

As the title says I want to create a button which triggers hyperlink to a page but also shows a hidden layer. I found many Ocgx2 soutions to hide/show layers from @alexG, but I couldn't find a ...
user avatar
0 votes
2 answers
31 views

Place beamergotobutton next to title

I'd like to place beamergotobutton in the head of beamer slides, next the to the title. If I just put them inside the title, then this changes the format of the buttons. Any other way of doing this? ...
user avatar
  • 309
1 vote
0 answers
53 views

Document with bright and dark modes that the user can switch between

I would like to have an option to switch to "dark mode" in my pdf, say, using a button in the document. Using the xcolor and pagecolor packages, I can change the background color and/or text ...
user avatar
  • 111
0 votes
1 answer
148 views

How to create a fancy video play button with tikz? [duplicate]

I'm writing a document for my students on latex and i want to design a fancy "play video" button with tikz or any other method to tell them that there is a video which explains more the idea....
user avatar
3 votes
0 answers
101 views

Toggle button (and functionality) to change between light and dark mode of pdf

I would like to have both light and dark mode style in the same pdf. The light mode would be used when the reader wants to print the document while the dark mode will be used for reading the document ...
user avatar
4 votes
1 answer
117 views

Why are the contents inside the beamerbuttons raised from the baseline asymmetrically?

In these lockdown days, I am creating my entire lecture note in beamer and I use the beamerbutton for cross-reference purpose mainly. As a result, I have to place it in the middle of a line. The ...
user avatar
2 votes
1 answer
148 views

TikZ: create a button to show something or not

In some cases I create some (plenty of) buttons of the kind \def\myshow{1}% 1 'yes', '0' no and then \ifnum\myshow=1 .... \fi But I had to hear, this is not so correct. So: What is the correct ...
user avatar
  • 6,323
0 votes
1 answer
76 views

Button in the bottom of all pages to return back to table of content

As the title said, I want to obtain Somthing like this, a button that send me back to the toc :
user avatar
1 vote
0 answers
23 views

How to put wolfram notebook to pdf? [duplicate]

I am reading a book, written in Latex, and I saw a button, on which I can click and immediately I have a Wolfram notebook opened: I want to do such cool buttons too, can anyone tell me, how to add it?
user avatar
1 vote
1 answer
666 views

Placing beamer buttons - automatic placement?

I have for a long time been using a code to place beamer buttons on a slide that is very inefficient as it requires me to specify exactly the position of each button. Below a MWE of the code I am ...
user avatar
0 votes
0 answers
41 views

Change button meaning in texmaker

I am using texmaker on a macbook. It would be very convenient for me if the '$' sign had a single press button. Is there a way to set texmaker to output '$' if I press '§'? I cannot not go further ...
user avatar
  • 1,735
0 votes
0 answers
234 views

What is pdflatex -shell-escape file?

Tex Live 2018 Windows. I was told this is part of creating image files from latex instead of PDF files. What is what is pdflatex -shell-escape file? Where is it? How do I access it?
user avatar
0 votes
1 answer
44 views

eforms: Why are "nlc=," in front of the button?

\usepackage[unicode]{hyperref} \usepackage[pdftex]{eforms} \begin{document} \begin{Form} \pushButton[onclick={this.submitForm({cURL: "mailto:test <test@google.com>", }), this.exportAsText();}, ...
user avatar
  • 449
1 vote
2 answers
118 views

Character within a rounded textbox

this will be my first question here so sorry for asking such a noob question. How do you render the image(python text inside a rounded corner textbox) below using pure LaTeX?
user avatar
  • 13
5 votes
1 answer
323 views

Tikz & OCG: make button cycling through different layers

I would like to have an OCG button which, when pressed, cycles through a set of OCG layers. I've tried using self-referencing OCG buttons, where each toggled the other (I tried with and without ...
user avatar
  • 205
1 vote
1 answer
176 views

Pass value to command / Create custom buttoms with media9

I am quite a newby when it comes to defining custom methods/macros in LaTeX. My MWE looks like that: \documentclass[12pt,a4paper]{article} \newcounter{myCounter} \setcounter{myCounter}{1} \...
user avatar
  • 304
1 vote
1 answer
636 views

TeXstudio shortcuts custom buttons

I would like to know how to set up buttons for math commands (such as fraction, square root, subscript and superscript, etc.) in Texstudio. I attach a screenshot of my Texstudio below. I selected ...
user avatar
3 votes
1 answer
641 views

How to add an image tooltip annotation in hidden mode using the LaTeX pdfcomment module?

Using the pdfcomment package to create an interactive tooltip when hovering over an image can be created with: \usepackage{pdfcomment} \pdftooltip{\includegraphics{img.png}}{This is the ALT text} ...
user avatar
0 votes
0 answers
684 views

Appendix and beamerbutton [duplicate]

I'm making a presentation using the beamer, and some slides contains some details which can be shown using a click-on button to a slide which will be in the appendix. I want this slide to be shown ...
user avatar
  • 81
4 votes
1 answer
2k views

Different colors for beamergotobutton and beamerreturnbutton?

In This thread, @luigi_tiburzi shows how to change the color of a beamer button, i.e., \setbeamercolor{button}{fg=black,bg=red} Unfortunately it changes both the goto and return buttons I tried the ...
user avatar
  • 2,079