1

I have been using the hyperref package, and found that the check boxes have a certain minimum height. I was wondering if there would be a way to override this value, so I could make a small square checkbox. I've looked around in the hyperref documentation, but couldn't find anything relating to this.

\documentclass{article}
\usepackage{tikz}
\usepackage{hyperref}

\begin{document}

\begin{tikzpicture}

\draw (0,0) node {
\CheckBox[backgroundcolor = , bordercolor = , 
height = 5pt, width = 5pt]{Check}};

\end{tikzpicture}


\end{document}
  • Welcome to TeX.SX! Please help us (and also you) and add a minimal working example (MWE), that illustrates your problem. Your code does not work. – Bobyandbob Aug 10 '17 at 12:31
  • Does How do I make every CheckBox the same size? solve your problem? – Bobyandbob Aug 10 '17 at 12:34
  • @Bobyandbob Yes, I am just now realizing that the font size sets the minimum height. Or, the height of another text field. So, I think I will have to place individual nodes at each location I want a check box. A bit annoying, but it should work. – GAvenue Aug 10 '17 at 12:42
  • Your code doesn't give me a checkbox at all. I could get a checkbox by setting bordercolor and putting it in a Form environment. Why not just use a tikz rectangle? – JPi Aug 10 '17 at 12:47
  • @JPi I was planning on placing a circle around each CheckBox, but the problem is there is now an ugly rectangle sticking out of the circle. I want to create a small square CheckBox field, so it fits nicely inside a circle. – GAvenue Aug 10 '17 at 12:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.